Skip to content

Shreyaaaaaak/roast-my-code

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

3 Commits
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸ”₯ Roast My Code

A fun, interactive code review tool that roasts your code with humor while providing constructive feedback.

Roast My Code License

✨ Features

  • πŸ”₯ Local Roast Generator β€” Works without an API key! Analyzes 100+ code patterns across multiple languages
  • πŸ› οΈ Fix Suggestions β€” Get actionable improvement tips for your code
  • πŸ“Š Score Card β€” Visual verdict with scores (1-10) and verdicts
  • 🎨 Syntax Highlighting β€” Beautiful code display with highlight.js
  • 🌑️ Intensity Slider β€” From "Be Gentle" to "DESTROY ME πŸ’€"
  • ** multiple Roast Styles** β€” Senior Dev, Gordon Ramsay, Shakespearean, Corporate HR, Supportive Friend
  • πŸ“œ History Panel β€” Saves your roasts locally
  • πŸ–ΌοΈ Share as Image β€” Download roasts as shareable images
  • ✨ Fire Particle Background β€” Animated fire effects

πŸš€ Demo

Open roast_my_code.html in any browser to start roasting!

πŸ“‹ Supported Languages

  • JavaScript / TypeScript
  • Python
  • Java
  • C++
  • Go
  • Rust
  • HTML/CSS

🎯 How to Use

  1. Paste your code in the left editor panel
  2. Select language (or auto-detect)
  3. Choose roast style from the dropdown
  4. Adjust intensity with the slider
  5. Click "Roast My Code" πŸ”₯

πŸ”‘ API Key (Optional)

For smarter AI-powered roasts, add your Anthropic API key:

πŸ› οΈ Tech Stack

  • Pure HTML/CSS/JS β€” No build step needed
  • highlight.js for syntax highlighting
  • Canvas API for fire particle effects
  • LocalStorage for history

πŸ“ Project Structure

roast_my_code/
β”œβ”€β”€ roast_my_code.html    # Main application
β”œβ”€β”€ .gitignore            # Git ignore rules
└── README.md             # This file

🀝 Contributing

  1. Fork the repo
  2. Create your feature branch (git checkout -b feature/amazing)
  3. Commit your changes (git commit -m 'Add amazing feature')
  4. Push to the branch (git push origin feature/amazing)
  5. Open a Pull Request

Made with πŸ”₯ and too much coffee

About

A fun, interactive code review tool that roasts your code with humor while providing constructive feedback.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages