Trilium Notes
A local-first note-taking app organizes personal knowledge bases on desktop or a self-hosted server, with per-note encryption and visual maps.
Alternative to:

Trilium Notes is a note-taking app for people building large personal knowledge bases. Its tree structure lets one note appear in multiple branches, so you can organize related material without keeping separate copies.
- Organization and search: Find notes with full-text search and use attributes to organize and query your collection.
- Text and code editing: Write formatted notes with tables, images and math, use Markdown autoformatting, and edit code with syntax highlighting.
- Visual notes: Sketch diagrams with Excalidraw, build mind maps with Mind Elixir, and view connections between notes through relation maps.
- History and encryption: Keep earlier note versions and encrypt individual notes.
- Capture and automation: Save web content with the Web Clipper, import and export Evernote and Markdown content, and extend the app through scripts and a REST API.
The app runs on Windows, macOS and Linux. A self-hosted server supports synchronization, browser access and a mobile web interface for phones and tablets; Docker deployment is available. Browser support is limited to the latest versions of Chrome and Firefox. You can publish notes to the public internet.
Trilium Notes is free and open source under AGPL-3.0.