Skip to content

Jujbraga/devroast

Repository files navigation

DevRoast

Drop your code. Get roasted.

DevRoast is a brutally honest code review tool that evaluates your code and delivers harsh (but educational) feedback. Paste your code, toggle roast mode for maximum sarcasm, and see how your code stacks up against the shame leaderboard.

Build during the NLW event by Rocketseat.

DevRoast Screenshot

Features

  • Code Input — Paste any code and get an instant evaluation
  • Roast Mode — Toggle between educational feedback and maximum sarcasm
  • Analysis Cards — Detailed breakdown of code issues with severity levels
  • Shame Leaderboard — See the worst code on the internet, ranked by shame
  • Score System — Your code gets rated on a 0-10 scale

Getting Started

# Install dependencies
npm install

# Start PostgreSQL (Docker)
docker compose up -d

# Generate database migrations
npm run db:generate

# Apply migrations
npm run db:migrate

# Start development server
npm run dev

# Build for production
npm run build

Open http://localhost:3000 to start roasting code.

Database

  • ORM: Drizzle ORM
  • Database: PostgreSQL 16 (via Docker Compose)
  • Port: 5432

Scripts

Script Description
npm run db:generate Generate migration from schema
npm run db:migrate Apply pending migrations
npm run db:push Push schema changes to DB
npm run db:studio Open Drizzle Studio

Tech Stack

Built with Next.js, Tailwind CSS, TypeScript, and Drizzle ORM.

License

MIT

About

DevRoast is a brutally honest code review tool. Created in a Vibe Coding Event using OpenCode e Openrouter.ai

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages