mirror of
https://github.com/zadam/trilium.git
synced 2025-11-08 15:39:02 +01:00
7.4 KiB
Vendored
7.4 KiB
Vendored
Trilium Technical Documentation - Quick Reference
Start here: TECHNICAL_DOCUMENTATION.md - Complete index of all documentation
📖 Documentation Files
| Document | Description | Size | Lines |
|---|---|---|---|
| TECHNICAL_DOCUMENTATION.md | Main index and navigation hub | 13KB | 423 |
| ARCHITECTURE.md | Complete system architecture | 30KB | 1,016 |
| DATABASE.md | Database schema and operations | 19KB | 736 |
| SYNCHRONIZATION.md | Sync protocol and implementation | 14KB | 583 |
| SCRIPTING.md | User scripting system guide | 17KB | 734 |
| SECURITY_ARCHITECTURE.md | Security implementation details | 19KB | 834 |
Total: 112KB of comprehensive documentation across 4,326 lines!
🎯 Quick Access by Role
👤 End Users
- Getting Started: User Guide
- Scripting: SCRIPTING.md
- Sync Setup: SYNCHRONIZATION.md
💻 Developers
- Architecture: ARCHITECTURE.md
- Development Setup: Developer Guide
- Database: DATABASE.md
🔒 Security Auditors
- Security: SECURITY_ARCHITECTURE.md
- Encryption: SECURITY_ARCHITECTURE.md#encryption
- Auth: SECURITY_ARCHITECTURE.md#authentication
🏗️ System Architects
- Overall Design: ARCHITECTURE.md
- Cache System: ARCHITECTURE.md#three-layer-cache-system
- Entity Model: ARCHITECTURE.md#entity-system
🔧 DevOps Engineers
- Server Installation: User Guide - Server Installation
- Docker: Developer Guide - Docker
- Sync Server: SYNCHRONIZATION.md#sync-server-configuration
📊 Database Administrators
- Schema: DATABASE.md#database-schema
- Maintenance: DATABASE.md#database-maintenance
- Performance: DATABASE.md#performance-optimization
🔍 Quick Topic Finder
Core Concepts
- Becca Cache: ARCHITECTURE.md#1-becca-backend-cache
- Froca Cache: ARCHITECTURE.md#2-froca-frontend-cache
- Entity System: ARCHITECTURE.md#entity-system
- Widget System: ARCHITECTURE.md#widget-based-ui
Database
- Schema Overview: DATABASE.md#schema-overview
- Notes Table: DATABASE.md#notes-table
- Branches Table: DATABASE.md#branches-table
- Migrations: DATABASE.md#database-migrations
Synchronization
- Sync Protocol: SYNCHRONIZATION.md#sync-protocol
- Conflict Resolution: SYNCHRONIZATION.md#conflict-resolution
- Entity Changes: SYNCHRONIZATION.md#entity-changes
Scripting
- Frontend Scripts: SCRIPTING.md#frontend-scripts
- Backend Scripts: SCRIPTING.md#backend-scripts
- Script Examples: SCRIPTING.md#script-examples
- API Reference: SCRIPTING.md#script-api
Security
- Authentication: SECURITY_ARCHITECTURE.md#authentication
- Encryption: SECURITY_ARCHITECTURE.md#encryption
- Input Sanitization: SECURITY_ARCHITECTURE.md#input-sanitization
- Best Practices: SECURITY_ARCHITECTURE.md#security-best-practices
📚 Learning Paths
New to Trilium Development
- Read ARCHITECTURE.md - System overview
- Setup environment: Environment Setup
- Explore DATABASE.md - Understand data model
- Check Developer Guide
Want to Create Scripts
- Read SCRIPTING.md - Complete guide
- Check Script API - API reference
- Review examples: SCRIPTING.md#script-examples
- Explore Advanced Showcases
Setting Up Sync
- Understand protocol: SYNCHRONIZATION.md
- Configure server: SYNCHRONIZATION.md#sync-server-configuration
- Setup clients: SYNCHRONIZATION.md#client-setup
- Troubleshoot: SYNCHRONIZATION.md#troubleshooting
Security Review
- Read threat model: SECURITY_ARCHITECTURE.md#threat-model
- Review authentication: SECURITY_ARCHITECTURE.md#authentication
- Check encryption: SECURITY_ARCHITECTURE.md#encryption
- Verify best practices: SECURITY_ARCHITECTURE.md#security-best-practices
🗺️ Documentation Map
docs/
├── TECHNICAL_DOCUMENTATION.md ← START HERE (Index)
│
├── Core Technical Docs
│ ├── ARCHITECTURE.md (System design)
│ ├── DATABASE.md (Data layer)
│ ├── SYNCHRONIZATION.md (Sync system)
│ ├── SCRIPTING.md (User scripting)
│ └── SECURITY_ARCHITECTURE.md (Security)
│
├── Developer Guide/
│ └── Developer Guide/ (Development setup)
│
├── User Guide/
│ └── User Guide/ (End-user docs)
│
└── Script API/ (API reference)
💡 Tips for Reading Documentation
- Start with the index: TECHNICAL_DOCUMENTATION.md provides an overview
- Use search: Press Ctrl+F / Cmd+F to find specific topics
- Follow links: Documents are cross-referenced for easy navigation
- Code examples: Most docs include practical code examples
- See Also sections: Check bottom of each doc for related resources
🔗 External Resources
- Website: https://triliumnotes.org
- Online Docs: https://docs.triliumnotes.org
- GitHub: https://github.com/TriliumNext/Trilium
- Discussions: https://github.com/TriliumNext/Trilium/discussions
- Matrix Chat: https://matrix.to/#/#triliumnext:matrix.org
🤝 Contributing to Documentation
Found an error or want to improve the docs? See:
Version: 0.99.3
Last Updated: November 2025
Maintained by: TriliumNext Team