mirror of
https://github.com/ricolandia/TriliumNext-Toolkit.git
synced 2026-05-17 10:55:40 -04:00
1 KiB
1 KiB
Word Counter + Daily Goal
A compact right-pane panel showing word and character counts for the current note, alongside a daily progress bar.
Features
- Live Counting: Displays word and character count for the active text note.
- Daily Goal Tracking: Set a daily word goal using labels (e.g.,
#dailyGoal=1000). Default is 500 words. - Global Progress: Tracks words written across all notes throughout the day using
localStorage. - Visuals: Sleek, monochromatic progress bar that adapts to your active Trilium theme.
- Efficient: Updates automatically on note switch and debounces on content save.
Installation
- Create a
JS Frontendnote in Trilium. - Paste the code or import the
.zip. - Add the label:
#widget. - (Optional) Add the label
#dailyGoal=N(replace N with your goal) to any text note. - Reload Trilium (
Ctrl+R/Cmd+R).
Original link
https://github.com/orgs/TriliumNext/discussions/9711
