A fun web application that provides humorous, sarcastic critiques of articles published on the dev.to platform. Built with Next.js and powered by an OpenAI-compatible AI API.
- Fetch and analyze articles from dev.to
- Generate witty, sarcastic critiques with valuable feedback
- Typewriter-style roast reveal animation
- Support for multiple languages (English and Bahasa Indonesia)
- Comedy mic stage aesthetic with warm spotlight tones
- Enter a valid dev.to article URL (format: https://dev.to/username/article-slug)
- Select your preferred language (English or Bahasa Indonesia)
- Click "Roast →"
- Enjoy the humorous critique of the article
- Framework: Next.js 14
- Styling: Tailwind CSS with custom design tokens
- Fonts: Newsreader (display), Inter (body), JetBrains Mono (roast output)
- AI Integration: OpenAI-compatible chat completions API
- Node version 20.4.0 or later
- An OpenAI-compatible API endpoint and key (e.g., Sumopod AI)
- Clone the repository
git clone https://github.com/azis14/devto-roaster.git
cd devto-roaster- Install dependencies
npm install- Set up environment variables
Create a .env.local file in the root directory with the following:
AI_API_BASE_URL=https://your-api-endpoint/v1
AI_API_KEY=your_api_key
AI_MODEL=your-model-name
- Run the development server
npm run dev- Open http://localhost:3000 in your browser
This application can be easily deployed on Vercel.
npm run buildThis project is licensed under the MIT License — see the LICENSE file for details.
If you encounter any issues or have questions, please open an issue on GitHub.
If you like this repo or find it useful, please leave a ⭐️ on it.
Made with ❤️ by the open-source community