Skip to content

Latest commit

 

History

20 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Intuition

Local-first Bookmark Intelligence Platform for X/Twitter bookmarks.

What this is

  • Ingestion: fetches bookmarks from the local Bird CLI (~/bin/bird)
  • Storage: SQLite + FTS5 (no external DB)
  • Enrichment: optional AI summaries/tags via Anthropic Claude (requires API key)
  • UI: Next.js dashboard (digest, chat, browse)

See memory.md for ports, proxy behavior, and other notes for ongoing work.

Prereqs

  • Python 3.11+
  • Node.js 20+
  • pnpm
  • Bird CLI installed locally at ~/bin/bird and authenticated (~/.config/bird/credentials)

Backend

Create a virtualenv, install deps, run the API:

python3 -m venv .venv
source .venv/bin/activate
pip install -r backend/requirements.txt
uvicorn backend.main:app --reload --host 127.0.0.1 --port 8010

Environment (repo root .env, loaded on startup; do not commit secrets):

  • ANTHROPIC_API_KEY — required for enrichment, chat, and digest generation
  • Optional: ANTHROPIC_MODEL, ANTHROPIC_CHAT_MODEL, ANTHROPIC_DIGEST_MODEL to override defaults
  • Optional hardening: INTUITION_API_KEY to require x-api-key on all /api/* routes
  • Optional hardening: INTUITION_EXPOSE_SYSTEM_INFO=true to expose local file paths in /api/status (defaults to redacted)

Web

cd web
pnpm install
pnpm dev --port 3010

Open http://127.0.0.1:3010. The app calls /api/proxy/... on the Next.js origin; the proxy forwards to the FastAPI backend. By default the proxy targets http://127.0.0.1:8010. Override with BACKEND_API_BASE or NEXT_PUBLIC_API_BASE in web/.env.local if your API runs elsewhere.

One-command dev start

After initial setup (.venv created and web/node_modules installed), run:

make dev-up

This starts backend (:8010) and frontend (:3010) together and stops both on Ctrl+C.

About

Project Management

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages