A fun web application that provides humorous, sarcastic critiques of articles published on the dev.to platform. Built with Next.js and powered by Google AI Studio (Gemini).
- Fetch and analyze articles from dev.to
- Generate witty, sarcastic critiques with valuable feedback
- Support for multiple languages (English and Bahasa Indonesia)
- Clean, responsive UI built with Tailwind CSS
- Enter a valid dev.to article URL (format: https://dev.to/username/article-slug)
- Select your preferred language (English or Bahasa Indonesia)
- Click "Roast Article 🔥"
- Enjoy the humorous critique of the article
- Framework: Next.js 14
- Styling: Tailwind CSS for styling
- AI Integration: Google AI Studio (Gemini 1.5 Flash)
- Node version 20.4.0 or later
- Google AI Studio API key
Contributions are welcome! Please feel free to submit a Pull Request.
- Fork the repository
- Create your feature branch (
git checkout -b feature/feature-name) - Commit your changes (
git commit -m 'Add some feature') - Push to the branch (
git push origin feature/feature-name) - Open a Pull Request
- Clone the repository
git clone https://github.com/yourusername/devto-roaster.git
cd devto-roaster- Install dependencies
npm install
# or
yarn install- Set up environment variables
Create a .env.local file in the root directory with the following:
GEN_AI_API_KEY=your_google_ai_studio_api_key
- Run the development server
npm run dev
# or
yarn dev- Open http://localhost:3000 in your browser
This application can be easily deployed on Vercel, the platform built by the creators of Next.js.
npm run build
# or
yarn 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