BrainScan
unlistedby BrainScan
Scan your vault into a BrainScan Brain Card — an AI read of how you think, what drives you, and how you connect, from your own notes.
BrainScan for Obsidian
Scan your vault into a BrainScan Brain Card without leaving Obsidian. The plugin zips your notes and uploads them to BrainScan; you view the resulting card on the BrainScan site.
The plugin ingests; the platform reveals the card. It deliberately does not render results in Obsidian — your account and card live on the site.
Install (dev / beta)
cd obsidian-plugin
npm install
npm run build # produces main.js
Copy manifest.json + main.js (+ styles.css if added) into
<your-vault>/.obsidian/plugins/brainscan/, then enable BrainScan in
Settings → Community plugins. (Or distribute via BRAT pointing at this repo.)
Connect your account
- Open BrainScan on the web → Settings → Connect Obsidian → copy the token
(calls
POST /api/plugin/token, shown once). - Obsidian → Settings → BrainScan → paste the token.
- Optionally set Exclude folders (e.g.
Private/, Journal/).
Use
Command palette → BrainScan: Scan my brain (or the brain ribbon icon). You'll see a confirmation of how many notes are about to be sent, then the plugin uploads and opens your card on the site.
How it works
- Collects markdown via the vault API (minus excluded folders), zips in-memory.
POST {apiBaseUrl}/api/plugin/scanwithAuthorization: Bearer <token>(uses ObsidianrequestUrlso renderer CORS doesn't apply).- Same backend pipeline as the web upload (
services/ingest.py): parse → quality gate → chunk → embed → generate the whole-person Brain Card → store → make matchable. Returns aview_urlthe plugin opens.
Privacy
Your notes are sent to BrainScan's servers to generate the card. Use Exclude folders to keep anything private out, and review the count in the confirmation dialog before each scan.
For plugin developers
Search results and similarity scores are powered by semantic analysis of your plugin's README. If your plugin isn't appearing for searches you'd expect, try updating your README to clearly describe your plugin's purpose, features, and use cases.