eebf329983
Previously, if CodeMirror doesn't support a mode explicitly the mode wouldn't be updated on refresh. This means editors like Mermaid would get their mode "inherited" from the previous mode you had open. Now the mode is set to text/plain if CodeMirror doesn't support the note's MIME type. P.S. some of the mermaid diagrams in the demo data have their MIME type incorrectly set to text/plain rather than text/mermaid, so it doesn't reproduce on all diagrams in the demo data. |
||
---|---|---|
.github | ||
.idea | ||
.vscode | ||
bin | ||
db | ||
docs | ||
dump-db | ||
images | ||
libraries | ||
spec | ||
spec-es6 | ||
src | ||
test-etapi | ||
.dockerignore | ||
.gitignore | ||
.gitpod.dockerfile | ||
.gitpod.yml | ||
CODE_OF_CONDUCT | ||
config-sample.ini | ||
docker-compose.yml | ||
docker_healthcheck.js | ||
Dockerfile | ||
electron.js | ||
issue_template.md | ||
jsdoc-conf.json | ||
LICENSE | ||
package-lock.json | ||
package.json | ||
README-ZH_CN.md | ||
README.md | ||
README.ru.md | ||
SECURITY.md | ||
start-docker.sh | ||
trilium.iml | ||
webpack-desktop.config.js | ||
webpack-mobile.config.js | ||
webpack-setup.config.js |
Trilium Notes
Trilium Notes is a hierarchical note taking application with focus on building large personal knowledge bases. See screenshots for quick overview:
Ukraine is currently defending itself from Russian aggression, please consider donating to Ukrainian Army or humanitarian charities.
🎁 Features
- Notes can be arranged into arbitrarily deep tree. Single note can be placed into multiple places in the tree (see cloning)
- Rich WYSIWYG note editing including e.g. tables, images and math with markdown autoformat
- Support for editing notes with source code, including syntax highlighting
- Fast and easy navigation between notes, full text search and note hoisting
- Seamless note versioning
- Note attributes can be used for note organization, querying and advanced scripting
- Synchronization with self-hosted sync server
- Sharing (publishing) notes to public internet
- Strong note encryption with per-note granularity
- Sketching diagrams with built-in Excalidraw (note type "canvas")
- Relation maps and link maps for visualizing notes and their relations
- Scripting - see Advanced showcases
- REST API for automation
- Scales well in both usability and performance upwards of 100 000 notes
- Touch optimized mobile frontend for smartphones and tablets
- Night theme
- Evernote and Markdown import & export
- Web Clipper for easy saving of web content
Check out awesome-trilium for 3rd party themes, scripts, plugins and more.
🏗 Builds
Trilium is provided as either desktop application (Linux and Windows) or web application hosted on your server (Linux). Mac OS desktop build is available, but it is unsupported.
- If you want to use Trilium on the desktop, download binary release for your platform from latest release, unzip the package and run
trilium
executable. - If you want to install Trilium on server, follow this page.
- Currently only recent Chrome and Firefox are supported (tested) browsers.
Trilium is also provided as a Flatpak:
📝 Documentation
See wiki for complete list of documentation pages.
You can also read Patterns of personal knowledge base to get some inspiration on how you might use Trilium.
💻 Contribute
Use a browser based dev environment
Or clone locally and run
npm install
npm run start-server
📢 Shoutouts
- CKEditor 5 - best WYSIWYG editor on the market, very interactive and listening team
- FancyTree - very feature rich tree library without real competition. Trilium Notes would not be the same without it.
- CodeMirror - code editor with support for huge amount of languages
- jsPlumb - visual connectivity library without competition. Used in relation maps and link maps
🤝 Support
You can support Trilum using GitHub Sponsors, PayPal or Bitcoin (bitcoin:bc1qv3svjn40v89mnkre5vyvs2xw6y8phaltl385d2).
🔑 License
This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.