๐ Welcome to the Obsidian Interactive Progress Bar Plugin repository!
This plugin allows you to add interactive progress bars to your Obsidian notes. With this plugin, you can easily track your goals, habits, or project progress directly within your markdown files. The progress bars are fully customizable and can be updated by simply clicking on them.
- ๐ Interactive progress bars: Add customizable progress bars to your notes.
- ๐ Progress persistence: The progress is saved and remains across sessions.
- ๐ฑ๏ธ Click to progress: Click on the bar to increment its progress.
- ๐ Right-click to reset: Reset the progress to 0 with a right-click.
- ๐จ Customization: Customize the color, size, animation, and more.
Interactive progress bars can be a great visual tool to track daily habits, goals, or any repetitive tasks in your Obsidian dashboards. Here are a few ways you can use this plugin:
-
Track your daily water intake: Like I do! I use this plugin to track how much water I drink each day. Each time I finish a glass, I click the bar, and it increments. It's a great visual reminder to stay hydrated. ๐ง
With this source code :
name: BlueWater
initialProgress: 0
total: 3000
color: #0055ff
increment: 50
legend: Water drunk today {current_progress}ml/{total}ml
-
Monitor your reading goals: Keep track of how many chapters or pages you've read in a book or study material. ๐
-
Track workout progress: Whether it's reps, sets, or workout days in a week, visualize your fitness progress with easy-to-update bars. ๐ช
-
Habit tracking: Track habits like writing, coding, meditation, or any daily task. With one click, you can update your habit progress and reset it at the start of each day. ๐งโโ๏ธ
-
Project milestones: Track progress on your coding or personal projects. Set up milestones and watch your progress bar fill up as you hit each step! ๐
The flexibility of this plugin allows you to easily adjust the bar's settings to match your style, whether for personal dashboards or project notes.
To install and try out the Obsidian Interactive Progress Bar Plugin, follow these steps:
- Download the
main.js
andmanifest.json
files from this repository. - Create a new folder in your Obsidian vault under the path:
<your-vault>/.obsidian/plugins/interactive-progress-bar-plugin/
- Place the downloaded
main.js
andmanifest.json
files into this folder. - Restart Obsidian.
- Go to Settings > Community plugins and enable the Interactive Progress Bar Plugin.
Thatโs it! The plugin should now be active, and you can start using it to add progress bars to your notes.
Letโs be honest, Iโm not a JavaScript expert (nor TypeScript, for that matter ๐ ), but Iโve done my best to make this plugin functional. Iโm a Python developer, so I understand what Iโm doing to some extent, but JS and TS are different worlds for me. This plugin does what I need, so I donโt plan to take it much further. However, if you want to add features or improve the code, Iโd be happy to see contributions!
Oh, and English isnโt my first language, so I apologize if I misunderstand something or take a bit longer to respond to issues or pull requests ๐ . Thanks for your patience!
Feel free to open issues or pull requests, and Iโll do my best to respond, though GitHub is still somewhat new to me.
Iโm not really concerned about the number of stars, but if you find this project useful or interesting, consider giving it a star on GitHub to help me gauge the interest. If youโd rather not leave a star, thatโs totally fine โ feel free to open an issue, submit a pull request, or even drop a message of support in an issue instead! All kinds of feedback, advice, and contributions are always welcome and appreciated. ๐