dsh-brain: a local-first second braindsh-brain:存在自己电脑上的第二大脑
- Year
- 2026
- Status
- Building
- Outcome
- Built in a day: 13,000 lines of TypeScript, 99 tests green.
dsh-brain is a plugin for DeepSeek Harness, still a developer preview. It keeps two things apart: what you have saved, and what sits in front of the model right now. A second brain usually fails because nothing you file ever comes back; the AI kind fails the other way, feeding the model everything you ever wrote so that each new conversation pays for notes it will never use. Capturing costs no model call, and neither does browsing or searching. Material enters the conversation only when you pick it, say what this round is for, and confirm — five items at most, 32,000 characters in total.
Everything stays on your machine. Changes go into an append-only ledger, and the view you see is folded out of it. You can export, back up encrypted, mark an item forgotten, or erase it from the record for real. A Chrome extension saves the X or Xiaohongshu post you have open: it reads the page only on a click, holds no cookie permission, and stays away from logins and captchas.
Six commits, all in one day, mid-afternoon to just before midnight. Around 13,000 lines of TypeScript, 3,100 of them tests. A clean install runs 99 cases green and builds clean — locally; the repo has no CI. The CLI half works today: capture, search, inbox, export.
No accounts, no phone app, no sync between machines, no semantic search, no graph. Two-way sync with AItimeline was on the list and never got built. For now it is less a product than a description of what I want, in a form that runs.