How triliumnext/notes works
Main Components Overview
a) Frontend Layer:
• Desktop Application (Electron-based)
• Web Interface
• Mobile Interface
• Share Interface (for public note sharing)
b) Backend Layer:
• Core Server
• API Services
• Database Layer
• File Storage
• Authentication/Authorization
Detailed Component Breakdown
• Client Layer |
• Desktop | | Web | | Mobile | | Share | |
• (Electron) | | Interface | | Interface | | Interface | |
• Server Layer |
• Note Service | | Sync Service | | Search Service | | Authentication Service| |
• Script Service | | ETAPI Service | | Export Service | | Encryption Service | |
• Data Layer |
• SQLite DB | | Blob Storage | | File System | |
• (Notes/Meta) | | (Attachments) | | (Resources) | |
Key Integration Points
• Bidirectional sync between clients and server
• Authentication flow
• CRUD operations
• Search queries
• File uploads/downloads
Special Features to Highlight
• Encryption system
• Versioning system
• Synchronization mechanism
• Plugin/Script system
• Search engine
• Attribute system