**Ever wondered how chaotic your day really was? **
Paste your chaos, get your regret score, top regrets, and a sarcastic roast. Pure fun, not serious.
Features โข Demo โข Installation โข Usage โข Tech Stack
The Regret-o-Meter is an AI-powered app that analyzes your text, social media snippets, or daily confessions, and gives you:
- ๐ Regret Score (0-100+) based on sentiment, self-blame, sarcasm, and emojis
- ๐ฏ Top Regret Highlight - The line you'll regret the most (or laugh at later)
- ๐ฌ Cheeky Comments - Snarky, sarcastic feedback about your chaos level
- ๐ Visual Meter - Color-coded chaos indicator (green โ smooth, yellow โ risky, red โ LEGENDARY)
Think of it as a daily chaos evaluatorโbecause life is messy, and now you can quantify it. ๐
- Sentiment Detection - Identifies negative keywords and emotional patterns
- Self-Blame Recognition - Catches phrases like "I should have" or "It's my fault"
- Sarcasm Detection - Extra points for phrases like "great idea ๐" or "yeah right"
- Emoji Scoring - Because ๐ญ deserves more regret points than ๐
- Glitchy Retro UI - Complete with rainbow gradients and animated effects
- Dynamic Meter - Color changes based on your chaos level
- Animated Feedback - Pulsing, rotating, glitching text effects
- Responsive Design - Works on desktop and mobile
| Category | Examples | Score |
|---|---|---|
| Negative Keywords | bad, terrible, disaster, regret | +300 |
| Self-Blame | oops, shouldn't, forgot, ugh | +200 |
| Sarcasm | great idea, yeah right, totally | +150-250 |
| Self-Critical Words | stupid, idiot, lazy, foolish | +200 |
| Emojis | ๐ญ (+4), ๐ข (+3), ๐ (+1) | +1-4 |
Forgot to submit my assignment ๐ฉ
Sent a risky text to my ex ๐
Ate pizza at 3 AM ๐
Totally missed the meeting because I overslept
Bought 5 useless gadgets at midnight ๐ญ
Regret Score: 87/100
๐ฏ Top Regret:
"Sent a risky text to my ex ๐"
๐ฌ Comment:
"Legendary chaos. You've peaked. Frame this moment. ๐"
- Python 3.8+ - Download here
- Node.js 14+ - Download here
- npm or yarn
git clone https://github.com/willow788/Regret-oh-meter.git
cd Regret-oh-meter# Navigate to backend directory
cd CODE/python\ code
# Create virtual environment
python -m venv venv
# Activate virtual environment
# Windows:
venv\Scripts\activate
# macOS/Linux:
source venv/bin/activate
# Install dependencies
pip install fastapi uvicorn transformers torch pydantic# Make sure you're in CODE/python code directory
uvicorn main:app --reloadThe backend will start at http://127.0.0.1:8000 ๐
Open a new terminal window:
# Navigate to frontend directory (create if doesn't exist)
mkdir -p regret-o-meter-frontend
cd regret-o-meter-frontend
# Initialize React app (if not already done)
npx create-react-app .
# Copy the frontend files
# Copy CODE/javascript part/app.js to src/App.js
# Copy CODE/styling css/app.css to src/App.css
# Install axios
npm install axios
# Start development server
npm startThe frontend will open at http://localhost:3000 ๐จ
-
Start the backend (in one terminal):
cd CODE/python\ code source venv/bin/activate # or venv\Scripts\activate on Windows uvicorn main:app --reload
-
Start the frontend (in another terminal):
cd regret-o-meter-frontend npm start -
Open your browser to
http://localhost:3000 -
Paste your chaotic text in the textarea
-
Click "Analyze" and watch the magic happen! โจ
Had a productive day
Finished all my tasks on time
Feeling good about my decisions
Should have started earlier ๐
Forgot to reply to an email
Made a small mistake at work
Sent a work email to the wrong person ๐ญ
Totally missed my deadline because Netflix
Bought something I definitely can't afford ๐ธ
Argued with someone I shouldn't have ๐ค
Ate an entire pizza at 2 AM and regret everything ๐
- FastAPI - Modern, fast web framework for Python
- Pydantic - Data validation using Python type annotations
- Python 3.8+ - Core programming language
- CORS Middleware - Cross-Origin Resource Sharing support
- React 18+ - UI library for building interactive interfaces
- Axios - Promise-based HTTP client
- CSS3 - Advanced animations and styling
- Google Fonts - Bangers, Creepster, Rubik Glitch
- Hugging Face Transformers - For advanced sentiment analysis
- PyTorch - Deep learning framework
- JSON - Simple file-based storage
- SQLite - Lightweight database for trend tracking
Regret-oh-meter/
โโโ CODE/
โ โโโ python code/
โ โ โโโ main.py # FastAPI backend server
โ โโโ javascript part/
โ โ โโโ app.js # React frontend component
โ โโโ styling css/
โ โโโ app.css # Glitchy retro styling
โโโ demonstration!/ # Demo screenshots/videos
โโโ LICENSE # MIT License
โโโ README.md # You are here!
- Glitch Effect - Cyberpunk-style text distortion
- Rainbow Gradient - Animated background transitions
- Pulse Animation - Breathing effect on key elements
- Shake Effect - Emoji decorations that vibrate
- Rotating Icons - (Planned) Spinning indicators
| Score Range | Color | Meaning |
|---|---|---|
| 0-30 | ๐ข Green | "Smooth sailing" |
| 31-60 | ๐ก Yellow | "Risky territory" |
| 61-100+ | ๐ด Red | "LEGENDARY chaos" |
- Text Splitting - Input divided into individual lines
- Pattern Matching - Each line analyzed for:
- Negative keywords (bad, terrible, disaster)
- Self-blame phrases (I should have, It's my fault)
- Sarcasm indicators (great idea, yeah right)
- Emotional emojis (๐ญ๐ฉ๐ค)
- Score Calculation - Points accumulated based on matches
- Aggregation - Average score calculated across all lines
- Top Regret - Line with highest individual score identified
- Comment Generation - Sarcastic feedback based on total score
if average_score > 80:
"Legendary chaos. You've peaked. Frame this moment. ๐"
elif average_score > 50:
"Yikes. That's a lot of regret fuel. โ"
elif average_score > 30:
"Not terrible, but not great either. Room for improvement. ๐"
else:
"You're basically a zen master. Teach us your ways. ๐ง"- Weekly Regret Trends - Track your chaos over time
- Top 3 Regrets - Highlight multiple chaotic moments
- Animated Meter - Add flames ๐ฅ, tears ๐ง, or confetti ๐
- Shareable Reports - Export as image or PDF
- Voice Mode - Sarcastic text-to-speech readings
- Historical Comparison - "This week vs last week"
- Regret Categories - Social, work, health, financial
- AI Enhancement - Use Hugging Face models for better sentiment
- Dark/Light Mode - Theme switching
- Mobile App - React Native version
- Contextual Understanding - GPT integration for deeper analysis
- Emotion Detection - Identify shame, guilt, frustration separately
- Personalized Feedback - Learn your patterns over time
- Regret Prediction - "This message might cause regret"
- Comparative Analysis - "Your chaos is 37% above average"
Contributions are absolutely welcome! This is a fun project, so let's keep it lighthearted.
- Fork the repository
- Create a branch:
git checkout -b feat/amazing-roast - Make your changes (add funnier comments, better scoring, new animations)
- Commit:
git commit -m 'Add even more sarcasm' - Push:
git push origin feat/amazing-roast - Open a Pull Request
- ๐ฌ Add more sarcastic comments - The funnier, the better
- ๐จ Improve UI/UX - Make it even more chaotic
- ๐ง Enhance AI - Better sentiment detection
- ๐ Add features - Implement the roadmap items
- ๐ Fix bugs - Because chaos needs boundaries
- ๐ Documentation - Help others understand the chaos
- Backend not running - Make sure FastAPI server is active on port 8000
- CORS errors - Middleware is configured; check if both servers are running
- Styling issues - Ensure
App.cssis properly imported - No results - Check browser console for errors
Troubleshooting:
# Check if backend is running
curl http://127.0.0.1:8000/docs
# Check if frontend is connected
# Open browser DevTools โ Network tab โ Look for POST to /analyzeThis project is licensed under the MIT License - because chaos should be free.
You are free to:
- โ Use for personal projects
- โ Modify and distribute
- โ Use commercially (if you dare)
- โ Make it even more chaotic
Just include the license and have fun! ๐
willow788
"I handled all the ML/AI magic behind the Regret-o-Meter, while the frontend, styling, and dashboard were whipped up by AI. This is just a fun project on a chilly December afternoonโdon't take it too seriously!"
- FastAPI - For making Python backends fun again
- React - For component-based chaos
- Hugging Face - For transformer models (future integration)
- Google Fonts - For glitchy typography
- Coffee โ - For powering late-night coding sessions
- My Ex - For inspiring the "risky text" example ๐
- Chatgpt - For the Frontend and integrating backend
**This is a FUN PROJECT. **
- โ Not medical advice
- โ Not therapy
- โ Not a real regret assessment tool
- โ Pure entertainment
- โ For laughs
- โ To quantify your chaos
If you're experiencing serious regret or emotional distress, please talk to a professional. This app just roasts you. ๐
Get Started โข View Demo โข Contribute
Made with ๐ฅ and regret in December 2025
Q: Is this serious?
A: Absolutely not. It's 100% chaos theater.
Q: Will it actually help me?
A: Help you laugh at yourself? Yes. Help you make better decisions? Probably not.
Q: Can I use this for my texts before sending?
A: Sure! But if the regret score is high, maybe... don't send? Just a thought. ๐
Q: Why does it roast me so hard?
A: Because you pasted chaos and expected sympathy. The algorithm shows no mercy.
Q: Can I customize the comments?
A: Yes! Edit main.py and add your own sarcastic masterpieces.
Q: Does it store my data?
A: Currently, no. Everything is processed in real-time and forgotten immediately.
โก If this made you laugh (or cry), give it a star! โญ