DEV Community

freerave
freerave

Posted on

I built an AI that detects your mood while coding (Locally in VS Code) 🧠✨

Hey Devs! πŸ‘‹

We've all been there: Rage-typing because of a bug, or staring at the screen for 4 hours straight until our eyes burn.

I used to use simple break timers, but they were annoying. They didn't understand context. So, I decided to build something smarter.

I'm excited to introduce DotSense v1.3.0 (formerly Break Bully). It’s an open-source VS Code extension that brings Emotional Intelligence to your editor.

🧠 How it works (The Tech)
Unlike standard timers, DotSense uses a local Activity Monitor to analyze your typing patterns in real-time. It looks at:

Velocity: How fast are you typing?

Rhythm: Is it consistent (Flow state) or erratic (Frustration)?

Correction Rate: Are you deleting/rewriting constantly (Anxiety)?

Based on this, it calculates a Mood Score locally (privacy-first!) and suggests interventions.

✨ Features
πŸ”΄ Frustration Detection: Suggests breathing exercises.

πŸ”΅ Fatigue Detection: Forces eye-strain breaks (20-20-20 rule).

🟒 Flow State Protection: It won't interrupt you if you are "In the Zone."

πŸ“Š New Dashboard: Visualizes your wellness and coding habits.

πŸ’ The Indie Dev Journey
This project is my passion, and I recently launched a "Marriage Fund" tier on GitHub Sponsors to help me start my new life. If you find the tool useful, checking that out would mean the world to me!

πŸ“₯ Try it out (Free)
I'd love your feedback on the accuracy of the mood detection!

VS Code Marketplace: https://marketplace.visualstudio.com/items?itemName=FreeRave.dotsense

GitHub Repo: https://github.com/kareem2099/dotsense

Happy (and healthy) coding! πŸš€

Top comments (0)