Build your personal knowledge base with Trilium Notes
TypeScript electronelectron-appknowledge-baseknowledge-graphknowledge-managementknowledge-management-graphlocal-firstnote-managmentnote-takernote-takingnotebooknotesnotes-apppersonal-knowledge-basepersonal-wikiscriptableself-hostedself-hostingwiki
Add quick reference guide for technical documentation
copilot-swe-agent[bot]07fe42d04e3c
diff --git a/docs/QUICK_REFERENCE.md b/docs/QUICK_REFERENCE.mdnew file mode 100644index 0000000000..396cc0dd6c--- /dev/null+++ b/docs/QUICK_REFERENCE.md@@ -0,0 +1,155 @@+# Trilium Technical Documentation - Quick Reference++> **Start here:** [TECHNICAL_DOCUMENTATION.md](TECHNICAL_DOCUMENTATION.md) - Complete index of all documentation++## π Documentation Files++| Document | Description | Size | Lines |+|----------|-------------|------|-------|+| [TECHNICAL_DOCUMENTATION.md](TECHNICAL_DOCUMENTATION.md) | Main index and navigation hub | 13KB | 423 |+| [ARCHITECTURE.md](ARCHITECTURE.md) | Complete system architecture | 30KB | 1,016 |+| [DATABASE.md](DATABASE.md) | Database schema and operations | 19KB | 736 |+| [SYNCHRONIZATION.md](SYNCHRONIZATION.md) | Sync protocol and implementation | 14KB | 583 |+| [SCRIPTING.md](SCRIPTING.md) | User scripting system guide | 17KB | 734 |+| [SECURITY_ARCHITECTURE.md](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](User%20Guide/User%20Guide/)+- **Scripting:** [SCRIPTING.md](SCRIPTING.md)+- **Sync Setup:** [SYNCHRONIZATION.md](SYNCHRONIZATION.md)++### π» Developers+- **Architecture:** [ARCHITECTURE.md](ARCHITECTURE.md)+- **Development Setup:** [Developer Guide](Developer%20Guide/Developer%20Guide/Environment%20Setup.md)+- **Database:** [DATABASE.md](DATABASE.md)++### π Security Auditors+- **Security:** [SECURITY_ARCHITECTURE.md](SECURITY_ARCHITECTURE.md)+- **Encryption:** [SECURITY_ARCHITECTURE.md#encryption](SECURITY_ARCHITECTURE.md#encryption)+- **Auth:** [SECURITY_ARCHITECTURE.md#authentication](SECURITY_ARCHITECTURE.md#authentication)++### ποΈ System Architects+- **Overall Design:** [ARCHITECTURE.md](ARCHITECTURE.md)+- **Cache System:** [ARCHITECTURE.md#three-layer-cache-system](ARCHITECTURE.md#three-layer-cache-system)+- **Entity Model:** [ARCHITECTURE.md#entity-system](ARCHITECTURE.md#entity-system)++### π§ DevOps Engineers+- **Server Installation:** [User Guide - Server Installation](User%20Guide/User%20Guide/Installation%20&%20Setup/Server%20Installation.md)+- **Docker:** [Developer Guide - Docker](Developer%20Guide/Developer%20Guide/Development%20and%20architecture/Docker.md)+- **Sync Server:** [SYNCHRONIZATION.md#sync-server-configuration](SYNCHRONIZATION.md#sync-server-configuration)++### π Database Administrators+- **Schema:** [DATABASE.md#database-schema](DATABASE.md#database-schema)+- **Maintenance:** [DATABASE.md#database-maintenance](DATABASE.md#database-maintenance)+- **Performance:** [DATABASE.md#performance-optimization](DATABASE.md#performance-optimization)++## π Quick Topic Finder++### Core Concepts+- **Becca Cache:** [ARCHITECTURE.md#1-becca-backend-cache](ARCHITECTURE.md#1-becca-backend-cache)+- **Froca Cache:** [ARCHITECTURE.md#2-froca-frontend-cache](ARCHITECTURE.md#2-froca-frontend-cache)+- **Entity System:** [ARCHITECTURE.md#entity-system](ARCHITECTURE.md#entity-system)+- **Widget System:** [ARCHITECTURE.md#widget-based-ui](ARCHITECTURE.md#widget-based-ui)++### Database+- **Schema Overview:** [DATABASE.md#schema-overview](DATABASE.md#schema-overview)+- **Notes Table:** [DATABASE.md#notes-table](DATABASE.md#notes-table)+- **Branches Table:** [DATABASE.md#branches-table](DATABASE.md#branches-table)+- **Migrations:** [DATABASE.md#database-migrations](DATABASE.md#database-migrations)++### Synchronization+- **Sync Protocol:** [SYNCHRONIZATION.md#sync-protocol](SYNCHRONIZATION.md#sync-protocol)+- **Conflict Resolution:** [SYNCHRONIZATION.md#conflict-resolution](SYNCHRONIZATION.md#conflict-resolution)+- **Entity Changes:** [SYNCHRONIZATION.md#entity-changes](SYNCHRONIZATION.md#entity-changes)++### Scripting+- **Frontend Scripts:** [SCRIPTING.md#frontend-scripts](SCRIPTING.md#frontend-scripts)+- **Backend Scripts:** [SCRIPTING.md#backend-scripts](SCRIPTING.md#backend-scripts)+- **Script Examples:** [SCRIPTING.md#script-examples](SCRIPTING.md#script-examples)+- **API Reference:** [SCRIPTING.md#script-api](SCRIPTING.md#script-api)++### Security+- **Authentication:** [SECURITY_ARCHITECTURE.md#authentication](SECURITY_ARCHITECTURE.md#authentication)+- **Encryption:** [SECURITY_ARCHITECTURE.md#encryption](SECURITY_ARCHITECTURE.md#encryption)+- **Input Sanitization:** [SECURITY_ARCHITECTURE.md#input-sanitization](SECURITY_ARCHITECTURE.md#input-sanitization)+- **Best Practices:** [SECURITY_ARCHITECTURE.md#security-best-practices](SECURITY_ARCHITECTURE.md#security-best-practices)++## π Learning Paths++### New to Trilium Development+1. Read [ARCHITECTURE.md](ARCHITECTURE.md) - System overview+2. Setup environment: [Environment Setup](Developer%20Guide/Developer%20Guide/Environment%20Setup.md)+3. Explore [DATABASE.md](DATABASE.md) - Understand data model+4. Check [Developer Guide](Developer%20Guide/Developer%20Guide/)++### Want to Create Scripts+1. Read [SCRIPTING.md](SCRIPTING.md) - Complete guide+2. Check [Script API](Script%20API/) - API reference+3. Review examples: [SCRIPTING.md#script-examples](SCRIPTING.md#script-examples)+4. Explore [Advanced Showcases](https://triliumnext.github.io/Docs/Wiki/advanced-showcases)++### Setting Up Sync+1. Understand protocol: [SYNCHRONIZATION.md](SYNCHRONIZATION.md)+2. Configure server: [SYNCHRONIZATION.md#sync-server-configuration](SYNCHRONIZATION.md#sync-server-configuration)+3. Setup clients: [SYNCHRONIZATION.md#client-setup](SYNCHRONIZATION.md#client-setup)+4. Troubleshoot: [SYNCHRONIZATION.md#troubleshooting](SYNCHRONIZATION.md#troubleshooting)++### Security Review+1. Read threat model: [SECURITY_ARCHITECTURE.md#threat-model](SECURITY_ARCHITECTURE.md#threat-model)+2. Review authentication: [SECURITY_ARCHITECTURE.md#authentication](SECURITY_ARCHITECTURE.md#authentication)+3. Check encryption: [SECURITY_ARCHITECTURE.md#encryption](SECURITY_ARCHITECTURE.md#encryption)+4. Verify best practices: [SECURITY_ARCHITECTURE.md#security-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++1. **Start with the index:** [TECHNICAL_DOCUMENTATION.md](TECHNICAL_DOCUMENTATION.md) provides an overview+2. **Use search:** Press Ctrl+F / Cmd+F to find specific topics+3. **Follow links:** Documents are cross-referenced for easy navigation+4. **Code examples:** Most docs include practical code examples+5. **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:+- [Contributing Guide](../README.md#-contribute)+- [Documentation Standards](TECHNICAL_DOCUMENTATION.md#documentation-conventions)++---++**Version:** 0.99.3+**Last Updated:** November 2025+**Maintained by:** TriliumNext Team