Hey DEV community!
As developers, getting into the "flow state" is amazing for productivity, but it often comes at a cost: losing track of time. I found myself frequently delaying my prayers or forgetting my daily spiritual routines (like listening to the Quran or doing Dhikr) just because I was deep in a debugging session.
So, I decided to fix my own problem. I built CodeTune—an open-source VS Code extension designed to help developers maintain their spiritual mindfulness without breaking their coding focus.
Today, I'm super excited to announce a massive update: v1.1.0. I focused heavily on UX, gamification, and rock-solid stability.
Here is what’s new:
- Smart Focus Mode (Context-Aware) Popups are the enemy of flow. In v1.1.0, the extension monitors your typing activity in real-time. If you are actively writing code, Islamic reminders automatically pause. Once you stop and take a break, the deferred notifications seamlessly resume.
Under the hood: This is handled using VS Code's workspace.onDidChangeTextDocument API with strict debouncing and throttling to ensure zero UI lag while you type.
- Local Spiritual Dashboard (Gamification) I added a full UI dashboard directly in the Activity Bar. You can track your daily Quran listening minutes, Dhikr counts, and build a consecutive-day streak. It even has an unlockable achievements system (from "First Step" to "Legend" status)!
Under the hood: 100% offline and private. Everything is saved locally using VS Code's globalState API. Zero telemetry, zero cloud tracking.
- Rock-Solid Error Recovery Working with external APIs and audio CDNs can be tricky if the user's internet drops.
Under the hood: I implemented a robust RetryManager with exponential backoff (base 1s → max 30s + jitter) to avoid thundering herd issues. There's also a dedicated "Offline Recovery" UI that queues failed operations and retries them automatically when you reconnect.
See it in action!
Check out this quick 50-second demo of the new features:
Try it out & Contribute
Clean code. Clean worship.
I built this open-source project to give back to the community. I'd love for you to try it out and share your feedback!
VS Code Marketplace: https://marketplace.visualstudio.com/items?itemName=FreeRave.codetune
GitHub Repository: https://github.com/kareem2099/codetune
If you find it useful, a review on the marketplace or a star on GitHub would mean the world to me. Happy coding!
Top comments (1)
Get the extension, check out the source code, and watch the demo here:
Watch the 50s Demo: youtube.com/shorts/Xpaz5bfyArw
VS Code Marketplace: marketplace.visualstudio.com/items...
Open VSX (For VSCodium): open-vsx.org/extension/freerave/co...
GitHub: github.com/kareem2099
If you find it useful, I’d highly appreciate a review on the marketplace or a star on GitHub! Let me know your feedback.