Trilium Plugin Update Checker #9394
browneyedsoul
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.
Uh oh!
There was an error while loading. Please reload this page.
-
Hey everyone! I made a simple script that lets you know when your plugins have updates available.
What it does
Checks GitHub release tags against your installed plugin versions on startup
Shows a toast in the bottom-right corner when there's a newer version, with a link to the release
Checks once per hour, so it won't spam the API
How it works
Compatible plugins save their version to localStorage (e.g. trilium-plugin-outliner: "1.0.0"). The update checker picks these up automatically — nothing to configure.
Installation
Works with plugins from browneyedsoul/trilium-plugins out of the box. Other plugin authors can also adopt the same localStorage convention to make their plugins compatible.
Quick test
Want to see it in action right away? Install the outliner v1.0.0 (there's a newer version available, so the toast should fire).
If you run into any issues or have ideas to improve it, drop a comment here or open an issue on the repo — would love to hear your thoughts!
Beta Was this translation helpful? Give feedback.
All reactions