{"id":51190245,"url":"https://github.com/sandst1/remind.notes","last_synced_at":"2026-06-27T14:30:54.144Z","repository":{"id":355798830,"uuid":"1171101526","full_name":"sandst1/remind.notes","owner":"sandst1","description":"A second brain app built on top of remind","archived":false,"fork":false,"pushed_at":"2026-03-03T14:20:04.000Z","size":6982,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-05-05T10:51:55.030Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/sandst1.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-03-02T21:53:50.000Z","updated_at":"2026-03-06T05:16:40.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/sandst1/remind.notes","commit_stats":null,"previous_names":["sandst1/remind.notes"],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/sandst1/remind.notes","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sandst1%2Fremind.notes","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sandst1%2Fremind.notes/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sandst1%2Fremind.notes/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sandst1%2Fremind.notes/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sandst1","download_url":"https://codeload.github.com/sandst1/remind.notes/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sandst1%2Fremind.notes/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34857480,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-27T02:00:06.362Z","response_time":126,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2026-06-27T14:30:53.406Z","updated_at":"2026-06-27T14:30:54.139Z","avatar_url":"https://github.com/sandst1.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# remind.notes\n\nA desktop \"second brain\" note-taking app. Write notes in markdown, and [remind](https://github.com/sandst1/remind) quietly extracts concepts, entities, and connections in the background using LLM-powered consolidation.\n\n## Install\n\n### macOS / Linux\n\n```bash\ncurl -fsSL https://raw.githubusercontent.com/sandst1/remind.notes/main/scripts/install.sh | bash\n```\n\n### Windows\n\nDownload the latest `.msi` from [Releases](https://github.com/sandst1/remind.notes/releases/latest) and run it.\n\n## How it works\n\n- **Notes are episodes.** Each note is stored as a remind episode — a markdown string with a title and tags.\n- **Notebooks are databases.** Each notebook is an isolated remind SQLite database file. No cross-notebook connections; if you need things linked, put them in the same notebook.\n- **Consolidation happens on save.** When you save a note, remind's consolidation engine runs in the background — extracting entities, recognizing patterns, and building a concept graph from your notes.\n- **Concepts emerge automatically.** Browse the concepts that remind has extracted: generalized knowledge, relationships, contradictions, all derived from your raw notes.\n\n## Architecture\n\n```\nremind.notes/\n├── frontend/          React + Vite + Tailwind CSS (UI)\n├── src-tauri/         Tauri v2 (desktop shell, Rust)\n├── sidecar/           Python FastAPI backend (wraps remind)\n```\n\n**Tauri** provides the desktop window. On launch, it spawns a **Python sidecar** (FastAPI on a random localhost port). The React frontend talks to the sidecar over HTTP. The sidecar uses remind's Python API (`remind-mcp` package) for all memory operations.\n\n### Data flow\n\n```\nUser writes note → Save (Cmd+S)\n  → POST /api/notebooks/{name}/notes\n    → remind.remember(content)  [sync, fast, no LLM]\n    → background: remind.consolidate()  [async, LLM-powered]\n      → entity extraction\n      → concept generalization\n      → relationship mapping\n```\n\nConsolidation only triggers on:\n- New notes (always)\n- Edits where the content diff exceeds 50 characters\n\n### Key design decisions\n\n- **Manual save only** — no autosave. Each saved version is an intentional snapshot.\n- **Decay disabled** — notes are permanent knowledge, not ephemeral agent context.\n- **User titles survive consolidation** — stored in `metadata[\"user_title\"]` since remind's extraction phase overwrites `episode.title`.\n- **One MemoryInterface per notebook** — cached in `MemoryManager`, invalidated on settings change.\n\n## Prerequisites\n\n- [Node.js](https://nodejs.org/) 18+ with [pnpm](https://pnpm.io/)\n- [Rust](https://rustup.rs/) (stable)\n- [Python](https://python.org/) 3.11+ with [uv](https://docs.astral.sh/uv/)\n- LLM API keys (Anthropic, OpenAI, or local Ollama)\n\n## Setup\n\n```bash\n# Install frontend dependencies\ncd frontend \u0026\u0026 pnpm install\n\n# Install sidecar dependencies\ncd ../sidecar \u0026\u0026 uv sync\n```\n\n## Development\n\n```bash\ncd frontend \u0026\u0026 pnpm tauri dev\n```\n\nThis starts both the Vite dev server and the Tauri app, which spawns the Python sidecar automatically.\n\nOn first launch, you'll be prompted to choose a folder for storing notebook databases.\n\n## Configuration\n\nOpen Settings from the sidebar footer. Configure:\n\n- **Notebooks folder** — where `.db` files are stored\n- **LLM provider** — Anthropic, OpenAI, or Ollama\n- **Embedding provider** — OpenAI or Ollama\n- **API keys and models** — provider-specific settings\n\nSettings are saved to `~/Library/Application Support/remind-notes/settings.json` (macOS).\n\n## Sidecar API\n\nThe Python sidecar exposes a REST API on `http://127.0.0.1:{port}`:\n\n| Endpoint | Description |\n|---|---|\n| `GET /health` | Health check |\n| `GET/POST/PUT/DELETE /api/notebooks` | Notebook CRUD |\n| `GET/POST/PUT/DELETE /api/notebooks/{name}/notes` | Note CRUD |\n| `GET /api/notebooks/{name}/concepts` | Browse concepts |\n| `GET/POST /api/notebooks/{name}/consolidation` | Consolidation status/trigger |\n| `GET/PUT /api/settings` | App settings |\n\nYou can test the sidecar standalone:\n\n```bash\ncd sidecar \u0026\u0026 uv run python main.py\n# prints PORT:{n}, then curl http://127.0.0.1:{n}/health\n```\n\n## Project structure\n\n```\nsidecar/\n├── main.py                     Entry point (uvicorn + port printing)\n├── api/\n│   ├── app.py                  FastAPI factory + CORS\n│   ├── notebooks.py            Notebook CRUD (file operations)\n│   ├── notes.py                Note CRUD (remind episodes)\n│   ├── concepts.py             Read-only concept browsing\n│   ├── consolidation.py        Background consolidation status/trigger\n│   └── settings.py             Config management\n├── core/\n│   ├── config.py               AppConfig (JSON persistence)\n│   ├── memory_manager.py       MemoryInterface cache per notebook\n│   └── consolidation_worker.py Background asyncio task tracker\n└── models/\n    └── schemas.py              Pydantic request/response models\n\nfrontend/src/\n├── lib/\n│   ├── api.ts                  HTTP client to sidecar\n│   └── tauri.ts                Tauri invoke wrappers\n├── stores/\n│   └── appStore.ts             Zustand state management\n├── components/\n│   ├── layout/                 AppShell, Sidebar, StatusBar\n│   ├── notebooks/              NotebookList\n│   ├── notes/                  NoteList, NoteEditor, MilkdownEditor, TagFilter\n│   ├── concepts/               ConceptBrowser, ConceptList, ConceptDetail\n│   └── settings/               SettingsDialog\n└── types/\n    └── index.ts                TypeScript interfaces\n```\n\n## Keyboard shortcuts\n\n| Shortcut | Action |\n|---|---|\n| `Cmd+S` | Save note |\n| `Cmd+N` | New note |\n| `Cmd+Backspace` | Delete current note |\n| `Cmd+1` | Switch to Notes view |\n| `Cmd+2` | Switch to Concepts view |\n\n## Production build\n\n```bash\n# 1. Bundle the Python sidecar as a standalone binary\n./scripts/bundle-sidecar.sh\n\n# 2. Build the Tauri app (includes the bundled sidecar)\ncd frontend \u0026\u0026 pnpm tauri build\n```\n\nOutput: `.dmg` / `.app` (macOS), `.msi` (Windows), `.deb` / `.AppImage` (Linux).\n\n## Releasing\n\nTag a version and push to trigger the CI build across all platforms:\n\n```bash\ngit tag v0.1.0\ngit push origin main --tags\n```\n\nGitHub Actions builds macOS ARM, Linux, and Windows artifacts automatically and creates a GitHub Release with all binaries attached.\n\n## Built with\n\n- [Tauri v2](https://tauri.app/) — desktop shell\n- [React](https://react.dev/) + [Vite](https://vite.dev/) — frontend\n- [Tailwind CSS](https://tailwindcss.com/) — styling\n- [Milkdown](https://milkdown.dev/) (Crepe) — WYSIWYG markdown editor\n- [Zustand](https://zustand.docs.pmnd.rs/) — state management\n- [FastAPI](https://fastapi.tiangolo.com/) — sidecar backend\n- [remind](https://github.com/sandst1/remind) — memory consolidation engine\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsandst1%2Fremind.notes","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsandst1%2Fremind.notes","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsandst1%2Fremind.notes/lists"}