Robis, letter by letter

Never lose a change.

Issues, documents, chat and meetings that keep working when the network does not.

to read a board
0.0ms
to read a board
requests a second
0
requests a second
to reach everyone
0.0ms
to reach everyone

Measured by the benchmark in this repository.

Works without the network.

Pull the cable mid-sentence. The board keeps taking edits, and every one of them lands when the network comes back.

Online

File it.

Changes reach everyone on the board as you make them.

The issue board with a live connection, everything synced.

Offline

Keep working.

Edits land in a queue on your device, and the board keeps taking them.

The board with the network disabled, showing unsynced changes.

Reconnected

Nothing lost.

The queue drains in order, and a retry cannot create anything twice.

The same board after reconnecting, every queued change applied.

Two cursors. One paragraph.

You
type into the middle of the sentence.
Mia
types onto the end of it, at the same moment.
Both
end up with the same document. No lock, no winner, no lost keystroke.

Yjs CRDTs over a WebSocket gateway. Convergence is a property of the data structure, not of who reached the server first, which is why it still works after an hour offline.

Sync protocol notes2 editing

Convergence is a property of the data structure itself, not of who reached the server first. So nobody waits for a lock.

Two people, one sentence, the same moment.

And the rest of the work.

  • Channels

    Rooms with history, day separators and moderation.

  • Meetings

    Schedule, invite and answer. Moving the time clears every yes.

  • Four roles

    One permission matrix. A stranger gets a 404, never a 403.

  • Search

    Issues, documents and comments, through Postgres full-text search.

  • Hints as you type

    A new issue shows likely duplicates and a suggested priority. Nothing is set until you choose.

  • An audit trail

    Every change, chained and signed so an edit shows, even one made in the database. Admins check it, export it, or stream it to a SIEM.

The why is the interesting half.

Every one of these was a choice against something more familiar. The thing turned down is the interesting part.

  • Instead of Redis pub/sub:

    Postgres LISTEN/NOTIFY

    The event commits with the write, so it cannot describe a change that rolled back.

  • Instead of A queue broker:

    SKIP LOCKED

    Jobs enqueue in the same transaction as the work that causes them.

  • Instead of OFFSET:

    Keyset pagination

    OFFSET shifts under concurrent inserts, so readers skip rows and repeat others.

  • Instead of JWTs:

    Opaque sessions

    A session dies the moment a password changes. A signed token does not.

  • Instead of Elasticsearch:

    Postgres full-text search

    A stored generated tsvector cannot drift from the row it describes.

Built with.

No framework doing the hard part. The interesting pieces are the ones that are not here: no Redis, no queue broker, no search cluster.

  • Bun
  • TypeScript
  • React
  • Next.js
  • Tailwind CSS
  • Fastify
  • PostgreSQL
  • Python
  • scikit-learn
  • FastAPI
  • Prometheus
  • GitHub Actions
  • Biome

Say it like a verb.

Two syllables, and it already sounds conjugated. The shape a word needs to survive being texted.

  • robis it over
  • it’s on Robis
  • i’ll robis you the doc
  • robised it, check the board

Robis, said ROH-biss. Built by, and named for, Rohit Biju.

did you ever send me that spec

robised it over this morning

i’m on the train, nothing’s loading

doesn’t matter. open it and type, it’ll sync when you surface

huh. it just let me edit

Questions.

Including the ones with an awkward answer.

Can I use this for real work?

Not yet. Robis runs locally and is covered by over 400 tests, but it has never been deployed: its container images are built and tested in CI, and there is no hosted instance yet. It is a portfolio project built to be read as much as run.

Does it genuinely work offline, or is that a cache?

Genuinely. The board reads from IndexedDB rather than the network, so it renders and accepts edits with no connection. Writes go into a durable queue and drain in order on reconnect, and a server-side ledger keyed by a client-generated id means a retry after an ambiguous failure cannot create the same issue twice.

What happens if two people edit the same paragraph?

Both edits survive. Documents are Yjs CRDTs, so convergence is a property of the data structure rather than of who reached the server first. Nobody takes a lock and nobody loses a keystroke.

Why no Redis, and no queue broker?

Because Postgres already does both jobs transactionally. LISTEN/NOTIFY publishes an event in the same transaction as the write, so an event cannot describe a change that rolled back. A SKIP LOCKED table enqueues a job in the same transaction as the work that causes it. Adding Redis would mean two systems that can disagree.

Is my data secure?

That is not a claim worth making about an undeployed project, so here is what the code does instead: passwords are hashed with Argon2id, sessions are opaque and server-side so changing a password kills them immediately, every endpoint checks membership against one permission matrix, and a non-member gets 404 rather than 403 so the API never confirms what it is hiding. None of that has been independently audited.

What is the machine learning for?

Suggesting possible duplicates as you type an issue title, and proposing a priority. Both are advisory and nothing acts on them. Below forty triaged issues the model refuses to predict rather than returning a confident-looking guess, and the duplicate detector has no precision figure yet because no labelled set of true duplicate pairs exists.

Can I run it myself?

Yes. Clone it, then bun install and bun run db:start. Postgres comes from npm rather than Docker, so it works on a machine with no container runtime. The README has the four commands.

Read it. Run it.