Skip to content
ZacharySFPublic

About

Local-first desktop workspace: block notes, documents, knowledge atlas, study tools and a bundled terminal, with an optional job-application assistant. Svelte 5 + Python + SQLite + Tauri.

Topics

Resources

Stars

2 stars

Watchers

0 watching

Forks

Repository files navigation

rika! — a home for your beautifully tangled mind. A local-first workspace for connected ideas.

Notes become connections. Connections become something you can build.
A local-first desktop workspace for your notes, documents, study and plans.

Latest release CI Linux x86_64 MIT licensed

Download for Linux ↗   /   Take it for a spin   /   Read the field guide
AppImage + .deb · Signed updates · MIT licensed

At a glance · Your workspace · Rika · Make it yours · Modules · Quick start · Under the hood · Reference


A little less scattered. A lot more connected.

The rika! home dashboard on black: the Rika panel on the left with three drafted replies waiting for Send; today's schedule, a quick note and a focus timer in the middle; up next and an agent session on the right.

Home: Rika on the left with your replies already drafted, then today and what's next.


At a glance

Write
Blocks, [[wiki]] links and ((block)) references. Documents, PDFs, canvases, mind maps and floating quick notes.
Plan
A calendar, tasks and goals, with flashcards and study beside the material you're learning.
See
The Brain: every record and every edit as a point on a 3D brain or a flat 2D map.
Delegate
Rika reads what changed, drafts the replies and keeps an eye on your coding agents. You press Send.
Shape
Rearrange any page, start home from eighteen templates, and pick Black or seventeen other themes.
Grow
Switch modules on and off. Heavy parts download as signed packs only when you ask for them.

Your workspace

Your mind isn't a filing cabinet.

A paragraph can belong to a project, a question and next Tuesday's study session. rika! gives those connections somewhere to live: one SQLite database on your machine, with an atlas instead of another pile of tabs.

01   Catch the thought

Write in blocks. Link a page with [[wiki]] links or refer to the exact passage with ((block)) references. Follow backlinks, spread an idea across a canvas, or turn it into a mind map.

Documents, PDFs and floating quick notes stay in the same workspace. You don't have to know where an idea belongs before you write it down.

02   Give it somewhere to go

Keep flashcards and study beside the material you're learning. Put the next step on your calendar or task list, set a goal and watch what moves it. Open another tab, or use search to move without losing your place.

The calendar's week view: the Calendar title as a menu, one row with the range, Today, and Day, Week, Month, Agenda, Year and Plan; a hairline grid of grey events, today's date in a filled circle and a line marking the time now; a small month, the week's hours and the selected day's agenda on the right.

The calendar: one quiet row of controls, a line for now, and the day you picked beside it.

03   Follow the thread

Every record and every edit becomes a glowing point in the Brain: a neural-network map of everything you've written, studied and planned. Prefer flat ground? Switch to the 2D map, where every point carries its name. Same records, different ways to find your bearings.

The Brain view: a glowing neural-network brain threaded in red, orange, yellow, green and blue, above a legend counting calendar, applications, jobs, reminders and flashcards.

The Brain as its own view. Demo workspace, synthetic data.


Rika

Someone to hand the loose ends to.

Rika reads what changed overnight and tells you in a few lines. She drafts the replies; you press Send. Ask her for something by typing, or by talking if you turn Voice on. Press Ctrl + R and she docks beside whatever page you're on.

Rika thinks with a cloud model through OpenRouter, on your own key, so what you ask her and what she reads to answer goes there. It's optional: without a key she still runs simple commands, and notes, plans and study don't need one.

She has a page of her own for everything else: the coding agents working for you (what each is doing, how full its context is, what it has cost), the skills you can drag onto one, what she remembers, and what all of it has used.

Rika's page: the conversation with three drafted email replies on the left, and on the right four coding agents with their task, context, tokens, cost and state.

Rika's page: the conversation on the left, your agents on the right.


Make it yours

Your desk, not ours.

Press Ctrl + Shift + Space on any page. Drag a block where you want it, pull an edge to resize it, and open Widgets to drag in a clock, a quick note or your goals. Press Done and the page stays that way.

Home goes further: eighteen templates to start from, widgets in the order you like, and six quiet tones to tell them apart.

Edit mode on the Find jobs page: a clock and a quick note dragged onto the page, a dashed outline with a grip around the quick note, and a small bar at the bottom with Widgets, Parent, Remove widget, Reset page and Done.

Edit any page: move it, size it, drag a widget in.

Black by default. Loud when you want it.

rika! opens in Black: white type, hairlines, nothing glowing. Turn Themes on for seventeen more, from Nord and Gruvbox to Kitty, a record sleeve from about 1999 with a different film still behind it every time you open it. Press Ctrl + Y to slide through them live; Enter keeps one, Esc puts yours back.

Turn Animations on and pages turn instead of blinking: they slide in the order of the bar, grow out of what you pressed, and the marker of where you are glides over. Everything stops if your system asks for less motion.

The Kitty theme: the same home in heavy capitals and tube yellow over a green, grainy film still of a corridor, with the page's name running down the edge. The theme carousel: five theme cards in a row over a blurred, blossom-pink preview of the page, with Blossom raised in the middle and the hint 'Ctrl + Y next · Enter keep · Esc undo' beneath.

Left: the Kitty theme. Same home, different night. Right: Ctrl + Y, previewing Blossom.

Keys worth knowing

Keys What they do
Ctrl Space or Ctrl K Search commands, sections and jobs
Ctrl Shift Space Edit the page you're on
Ctrl R Rika beside the page; again or Esc to close
Ctrl J Ask Rika from anywhere but a terminal
Ctrl O Every open tab as a card: arrows or 1–9, Enter to open
Ctrl Tab · Ctrl T · Ctrl W Next tab · new tab · close tab
Ctrl Y Slide through your themes live
Ctrl Shift F Fill the window with the focused panel
? Every shortcut for the screen you're on

Modules

A workspace, not a fixed collection of tools.

Keep the parts you use. Turn off the parts you don't. Add a terminal when you're building, enable ApplyAI when you're looking for work, or download the Brain when you want to see it all at once.

Settings › Modules: switches for ApplyAI, Workspace, Math, LearnHarness, Terminal, Voice, Brain, Themes, Animations and Icons, each with one line saying what it does.

Module What it brings
Core · always on Home, Rika, tabs, search, settings and module selection.
Workspace Notes and block references, documents and PDFs, canvas, mind maps, flashcards, study, calendar, tasks, goals and floating quick notes.
Terminal · download Your own herdr session in a tab. Open omp, Claude or Codex in labelled agent tabs with live activity.
ApplyAI · optional Career: Find, Saved and Track in one bar. It fills forms but never submits an application and never invents facts about the applicant.
Math, LearnHarness, Voice · download Checked math practice, the LearnHarness app inside Study, and talking to Rika. Each fetches what it needs when you turn it on.
Brain · download Your workspace as a 3D brain or a 2D map, as its own view.
Themes, Animations · download Seventeen more looks, and motion for pages, widgets and menus. Off until you ask.
Icons An icon beside every name, if you like them there.

Small to install. Yours to grow.

The installer carries the window, Rika and the core. Everything heavier is a pack: downloaded from the release when you switch its module on, checked against a signed list, and removed again when you switch it off and say so.

From a thought to a terminal

The Terminal module streams herdr into the window over a same-origin WebSocket. Open the full herdr view in a tab, with coding agents in their own tabs.

If you separately install Stencil Tern, rika! can also drive its own Tern session: list live and exited panes, run a command, focus a pane, or capture one to a quick note.

Looking for work? Three tabs, one bar.

Career keeps the search in one place: Find what's open, keep what you like in Saved, and follow what you sent in Track, with Rika in a column beside it. Ready to apply narrows Find to the jobs you can fill in now.

Career's Find jobs page: Find, Saved and Track across the top with More on the right, Ready to apply beside Progress and Add a job link, a list of ranked jobs with two ticked, and a small bar at the bottom offering Save, Change, Check and Fill in 2 forms.

Tick the jobs, press Fill. rika! stops before Submit, every time.

Leave the clutter. Keep the data.

Disabled modules disappear from navigation, routes, workers and MCP tools; their data stays intact. Install add-ons from a GitHub release in Settings → Modules, checked against the release's SHA-256. The module guide explains the format and how to publish one.


Quick start

The desktop app

  1. Download the latest release.
  2. Install the .deb with your software installer, or run the AppImage.
  3. Open rika! from your application launcher and choose Start locally.

Updates are signed: use Check for updates inside the app. Your workspace lives apart from the application and stays put across updates.

Linux x86_64 only for now (Ubuntu 22.04+, or glibc 2.35+ for the AppImage). There is no Windows, macOS or ARM build.

Settings → Backup saves the whole workspace to one file and restores it into a new folder. Device sync carries notes only, not attachments, calendar, study, jobs or settings, and GitHub backup copies notes but has no restore.

The rika! welcome card: a glowing neural-network brain above the words 'Welcome to rika!', with Continue with Google and Start locally buttons

First launch: one button to start locally. No account needed.

Run from source

Requirements: Git, Python 3.12 with uv, Node 22+ and Rust (cargo).

git clone https://github.com/ZacharySF/kitty.git
cd kitty
uv sync
npm --prefix web ci
npm --prefix web run build
cargo build --release --manifest-path server/Cargo.toml   # rika-server, the local front
uv run kitty-web --demo

The demo uses a disposable workspace with synthetic data. Open the printed http://127.0.0.1:… address, not localhost: the server checks the exact Host.

For a real workspace:

uv run kitty init
uv run kitty-web

The full guide covers modules, the desktop build, configuration and every command. The repository and CLI still use the kitty name.


Under the hood

Architecture

flowchart LR
  subgraph Desktop["Tauri shell (Rust)"]
    Updater["Signed updates"]
  end
  UI["Svelte 5 + TypeScript UI"]
  Front["rika-server (Rust)<br/>loopback HTTP + WebSocket,<br/>the routes already moved"]
  Worker["Python worker<br/>the routes still to move"]
  CLI["CLI (Typer)"]
  TUI["TUI (Textual)"]
  MCP["MCP server"]
  Core["Python core<br/>(no UI imports)"]
  DB[("SQLite<br/>numbered migrations")]
  Herdr["herdr sidecar"]
  Packs["Signed module packs<br/>(release downloads)"]

  Desktop --> UI
  Desktop --> Front
  UI --> Front
  Front --> DB
  Front -->|"everything else"| Worker
  Front -.->|"on request"| Packs
  Worker --> Core
  CLI --> Core
  TUI --> Core
  MCP --> Core
  Core --> DB
  Worker -->|"terminal socket"| Herdr
Loading

Two rules hold the layout together. Nothing under src/kitty/core/ imports a UI framework, so the website, desktop app, CLI, TUI and MCP server all call the same functions against the same database. And the core is moving to Rust one route at a time: a route moves only with a test that it answers exactly as the Python it replaces (how, and what stays in Python).

Engineering notes

Your data

  • Edits are never silently lost. Pages, folders and block outlines carry a revision; a save against a stale revision is rejected, and a second window editing the same note offers Load latest or Keep mine instead of overwriting.
  • References point at rows, not copies. Block references resolve the authoritative block at read time, with parent-cycle checks and bounded expansion.
  • History is append-only where it matters. Application status changes are events; undo appends a reverting event instead of rewriting history.

Security and shipping

  • The local server is not an open door. It binds to loopback, checks the exact Host and Origin, requires a custom header on every mutation, and requires a per-launch secret only rika!'s own windows hold on every API call and WebSocket, so a local program that forges the headers still gets nothing.
  • Downloads are checked twice. A pack is fetched only from the release of the running version, against a list signed with the updater key, then against its size and SHA-256; a failed download changes nothing.
  • It ships. Tauri builds signed Linux installers in CI and the app updates itself, including through an appimage-run launcher on NixOS.

Rust and Python

  • Rust where it pays. Calendar, search, goals, study, flashcards, mind maps, backlinks, opportunities and settings are answered by rika-server; the flashcard scheduler is an exact port, checked against the Python one card by card. What leans on Python's own libraries (math checking, job scraping, form filling) stays there.
  • Browser automation without a framework. ApplyAI drives Firefox through its own WebDriver BiDi client and stops at every human boundary: sign-in challenges, consent, unknown answers and the final submit.

Develop

uv run pytest -n auto                           # Python core, web adapter, TUI
cargo test --manifest-path server/Cargo.toml    # rika-server
cargo test --manifest-path desktop/Cargo.toml   # the desktop shell
npm --prefix web run check                      # svelte-check / TypeScript

The browser tests in web/tests/*.browser.test.mjs drive a real Chromium against the demo; run them one file at a time. CI runs the Python tests, the frontend check and the web unit tests on every pull request. The README's screenshots come from the demo through scripts/screens/.


Reference

Looking for… Start here
Setup, configuration and everyday use Full guide
Exact behaviour and contracts Behaviour spec
Building and publishing an add-on Module guide
The move to Rust: rules, what is built, what stays Rust core design
Rika: how she is put together Rika design
Why the interface looks the way it does Design decisions
Linux installers and release notes Desktop releases

Built on

rika! integrates these projects rather than reimplementing them; credit for their features belongs to their authors.

Project Licence What it does here
herdr Apache-2.0 The terminal multiplexer behind the Terminal module, downloaded as a pack at a pinned version.
LearnHarness AGPL-3.0 The upstream learning app opened from Study, run as a separate local server in a cross-origin frame. Its licence and corresponding source ship in its pack.
Grinstead and Snell's Introduction to Probability GNU FDL Its exercises, used as a textbook source in Math, ship with their licence and source note in third_party/grinstead-snell/.
Tauri, Svelte, Textual, 3d-force-graph MIT (Tauri: MIT or Apache-2.0) The desktop shell, the interface, the TUI and the 3D graph views.

The README wordmark uses Fraunces, by Undercase Type, with a subset embedded under the SIL Open Font License.

License

MIT. Bundled third-party components keep their own licences.

About

Local-first desktop workspace: block notes, documents, knowledge atlas, study tools and a bundled terminal, with an optional job-application assistant. Svelte 5 + Python + SQLite + Tauri.

Topics

Resources

Stars

2 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages