{"id":30193598,"url":"https://github.com/sansoune/second_brain","last_synced_at":"2026-04-07T08:02:04.232Z","repository":{"id":308029839,"uuid":"1031403140","full_name":"sansoune/second_brain","owner":"sansoune","description":null,"archived":false,"fork":false,"pushed_at":"2025-08-03T17:07:04.000Z","size":339,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"root","last_synced_at":"2025-08-24T20:40:43.324Z","etag":null,"topics":["bun","javascript","notes-app","react","rust","self-hosted","tauri"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/sansoune.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","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}},"created_at":"2025-08-03T17:02:47.000Z","updated_at":"2025-08-03T17:09:48.000Z","dependencies_parsed_at":"2025-08-03T19:17:22.782Z","dependency_job_id":null,"html_url":"https://github.com/sansoune/second_brain","commit_stats":null,"previous_names":["sansoune/second_brain"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/sansoune/second_brain","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sansoune%2Fsecond_brain","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sansoune%2Fsecond_brain/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sansoune%2Fsecond_brain/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sansoune%2Fsecond_brain/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sansoune","download_url":"https://codeload.github.com/sansoune/second_brain/tar.gz/refs/heads/root","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sansoune%2Fsecond_brain/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31504897,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-07T03:10:19.677Z","status":"ssl_error","status_checked_at":"2026-04-07T03:10:13.982Z","response_time":105,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["bun","javascript","notes-app","react","rust","self-hosted","tauri"],"created_at":"2025-08-13T02:00:47.684Z","updated_at":"2026-04-07T08:02:04.215Z","avatar_url":"https://github.com/sansoune.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Second Brain – Markdown Note System\r\n\r\nThis is a personal note-taking system built for long-term thinking and local-first control. Notes are stored as `.md` files on disk, interconnected with `[[WikiLinks]]`, and indexed for full-text search. The system is designed to be self-hosted and eventually sync across your own devices.\r\n\r\n\r\n---\r\n\r\n## Current Features\r\n\r\n- **Markdown notes stored on disk** with optional YAML frontmatter\r\n- **WYSIWYG editing experience**\r\n- **Wiki-style linking** via `[[Note Title]]` and backlink tracking\r\n- **Full-text search** powered by SQLite FTS\r\n- **Self-hostable backend** with Bun + Hono\r\n- **Desktop app** using Tauri + React\r\n- **Graph view** to visualize note connections\r\n- Simple file system layout — no database lock-in\r\n\r\n## setup\r\n\r\n### requirements\r\n- [Bun](https://bun.sh)\r\n- [Tauri CLI](https://tauri.app/) and Rust toolchain\r\n\r\n### Installation\r\n\r\n1. Clone the repo:\r\n\r\n```bash\r\ngit clone https://github.com/yourusername/second-brain.git\r\ncd second-brain \r\n```\r\n\r\n2. Install backend dependencies:\r\n```bash\r\ncd backend \r\nbun install\r\n```\r\n\r\n3. Install frontend:\r\n```bash\r\ncd vault\r\nbun install\r\n```\r\n4. Start backend server:\r\n```bash\r\ncd backend\r\nbun run start\r\n```\r\n5. Start frontend app (Tauri):\r\n```bash\r\ncd frontend\r\nnpm run tauri dev\r\n```\r\n\r\n## Linking Notes\r\n\r\nLink between notes using double brackets like:\r\n\r\n```\r\n[[Some Note Title]]\r\n```\r\n\r\nThese links are automatically extracted and used to build:\r\n- A backlinks list  \r\n- A graph of note relationships  \r\n\r\nEven if the target note doesn't exist yet, the link is recorded.\r\n\r\n---\r\n\r\n## Search\r\n\r\nThe app uses SQLite full-text search to let you find relevant notes quickly. The content is indexed on load and updated automatically.\r\n\r\n---\r\n\r\n##  Not Yet Implemented\r\n\r\n- ❌ File/image attachments (for now)  \r\n- ❌ Mobile app (planned via React Native)  \r\n- ❌ Real-time or offline-to-online sync  \r\n- ❌ Multi-device sync  \r\n\r\n---\r\n\r\n## Upcoming Features\r\n\r\n- Store local edits/files and **sync when online**\r\n- File and image support (initially local, then synced)\r\n- Note tagging and metadata view\r\n- AI-powered features: summarization, organization, suggestions\r\n- Encrypted remote backups\r\n- Conflict resolution for sync\r\n\r\n---\r\n\r\n\r\n## Philosophy\r\n\r\n- You own your data — stored as plain `.md` files\r\n- You host your own \"brain\" — no vendor lock-in\r\n- Designed to evolve — extendable with your own tools\r\n- Local-first, then sync — no silent cloud dependency\r\n\r\n---\r\n\r\n## License\r\n\r\n[MIT License](LICENSE.md)\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsansoune%2Fsecond_brain","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsansoune%2Fsecond_brain","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsansoune%2Fsecond_brain/lists"}