mirror of
https://github.com/Dasemu/Synapse.git
synced 2026-11-26 07:16:17 +00:00
f9137c9896e3fa2437a5b2a60cb138151177c1f9
- page_tree shows orphans and parent cycles (from concurrent moves) as roots; descendants CTE and move_block ancestor walk are cycle-safe - title conflicts compare titles only (not aliases), journals keep their title, and loser suffixes use the random id tail so they cannot collide - aliases get an HLC and tombstones (last-writer-wins) - remote page deletes cascade to blocks; LastChildOf validates the parent - reject empty and date-shaped titles on create/rename; ensure_page redirects dates to journals; rename rewrites refs inside block properties - single-row writes run inside savepoints; invalid remote asset hashes are ignored and never reach blob paths; HLC counter cannot overflow its width - busy_timeout for multi-connection use; schema v2 migration Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Synapse
A native, brain-like second brain: an outliner with linked pages, temporally chained journals, semantic search, AI assistance and a self-hostable sync server. Runs natively on Android, Linux and Windows (Rust core + Flutter UI, no webviews).
Quick start
cargo test --workspace
cd app && flutter run -d linux
See docs/ for the plan and architecture.
Languages
Rust
59.5%
Dart
36.1%
CMake
1.8%
C++
1.7%
Shell
0.5%
Other
0.3%