All work

Cascade

A desktop app that turns plain text into a queryable word graph

Cascade prompt session answering 'water tomatoes' from a garden notebook dataset, with word bars and timing

What I was exploring

Most ways to ask questions of your own documents send them to a cloud service or need a large model and a GPU. That is slow, costs money per question, and means your notes leave your computer.

Cascade tries a different, much smaller idea: build a graph straight from the text, where each word is a node that remembers which words it appeared near, and answer questions by walking that graph. The repo describes it as a prototype runtime for this approach.

What I built

  1. Every sentence becomes a set of links between the words in it, so a dataset is built in one pass with no training step.
  2. A question is split into words and walked in order; each word's answer is filtered by the word before it, and every step of the walk is shown.
  3. Each import becomes its own dataset, saved locally and loaded only when needed, so several corpora can sit side by side.
  4. Prompt sessions query several datasets at once and show one block per dataset, so you can compare what each one knows.
  5. Large datasets load in small batches so the window stays responsive, and a sidebar meter shows CPU and memory use.
  6. Plain JavaScript in an Electron shell, with no build step, no telemetry and no network calls except optional dataset downloads.

What it does

Built with Electron, Node.js, Vanilla JavaScript, HTML/CSS, 2026.