TriliumAlchemy - CLI features: Filesystem note sync and template sync #5876
mm21
started this conversation in
Show and tell
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
As of 0.7.0, TriliumAlchemy's CLI tool has the following new features:
Filesystem note sync
Enables dumping notes to a filesystem in a concise format optimized for source control, along with loading them back into Trilium.
See the full documentation with details and rationale for the format here: https://mm21.github.io/trilium-alchemy/tools/index.html#filesystem-note-format
And example usage here: https://mm21.github.io/trilium-alchemy/tools/index.html#filesystem-dump-load
This should be considered experimental, but it's well-tested. Any feedback is welcome.
Use cases might include:
A possible enhancement would be to recreate the note hierarchy using symbolic links, keeping this filesystem format as the underlying source of truth.
Template sync
Enables updating template instances as you make changes to the template. See example usage here: https://mm21.github.io/trilium-alchemy/tools/index.html#template-sync
For example, if you add or reorder child notes of a template, the change will be recreated in existing instances of that template. Personally, it will give me more confidence to work with my notes without needing to have the perfect templates in place - I can always sync them later once I improve the templates.
Beta Was this translation helpful? Give feedback.
All reactions