Sip tea. Block distractions. Stay focused.
Now with a GUI and AI Chatbot Assistant.
CharmGuard is a local-first, distraction-blocking productivity assistant built in Rust.
It empowers deep focus through gamification, AI-powered drift detection, and intelligent distraction handling.
| Feature | CLI | GUI | Rasa |
|---|---|---|---|
| Focus timer | ✅ | ✅ | — |
| Distraction logging | ✅ | ✅ | — |
| Auto-block distracting windows | ✅ | ❌ | — |
| Focus drift prediction | ✅ | ❌ | — |
| Charm rewards system | ✅ | ✅ | — |
| Inspirational card deck | ✅ | ❌ | — |
| AI Assistant (Rasa) | ❌ | ✅ | ✅ |
- Rust (
cargo,rustc) - Python 3.x with:
pandasscikit-learn
- Rasa (for chatbot functionality)
- Windows OS (currently supported)
git clone https://github.com/yourusername/charmguard.git
cd charmguard
cargo build --releasecargo run --bin charmguard -- --focus 30 --track --charmscargo run --bin charmguard -- cardcargo run --bin charmguard -- --charmscargo run --bin charmguard-gui- Start/stop focus sessions
- View charm progress
- Talk to your Rasa-powered AI assistant
Make sure your Rasa server is running:
rasa run actions &
rasa shell --enable-apiCharmGuard sends messages to Rasa via HTTP API at: http://localhost:5005
- Charm leaderboard
- “Focus Mode” — limit all inputs
- Export sessions to Markdown or HTML
- Pomodoro mode
- Voice input support via Rasa
Built with 💙 by Bhaskar Ghosh
Thanks to Hannah for the inspiration
- Chatbot powered by Rasa
- GUI built with eframe
- ML drift detection via scikit-learn
CharmGuard is licensed for internal use only. Redistribution, modification, or commercial use without explicit permission is prohibited.