r/webdev • u/AlphaRetard • Oct 24 '26
Showoff Saturday I built a Chrome extension that turns any button on any site into a habit tracker
Hey r/webdev! I'm the developer of Ritlum, a habit tracker for iPhone, and just shipped a Chrome extension that logs habits from things you do in the browser.
You point it at the button that means "done" (for example, LeetCode's Submit) and optionally require a confirmation message afterwards ("Accepted"), so failed submissions don't count. After that, every accepted submission logs the habit and syncs to the app in real time. You can add a quick note, too.
A few things that were fun to build:
- QR pairing: the app approves the pairing code, and the extension gets a token whose hash is all the server stores.
- Idempotent logging: every trigger carries a UUID that becomes the completion's ID, so retries and the offline queue never double-count.
- Stack: Supabase edge functions, and Realtime to push completions to the iOS app.
It's free to try. Would love to know what you think of it :)
- I have a writeup here if you're interested: https://ritlum.com/blog/habit-tracker-chrome-extension/
- A more detailed demo on YT: https://youtu.be/HWMtXkX92NQ?si=1ZRkPEEt_Fr3C3Jl
- Chrome Web Store: https://chromewebstore.google.com/detail/ritlum/amaipmcmebglefkkgnneibaookmkpfpg
1
u/palsc_ Oct 24 '26
The confirmation-text check is a good call — otherwise one stray click could count as a win. How do you make the button selector survive sites that keep rebuilding the page?
1
u/sicmek Oct 24 '26
Why should anyone use this? What's the point?
1
u/[deleted] Oct 24 '26
[removed] — view removed comment