Skip to content

Repository files navigation

DevTo Article Roaster

Sponsor License: MIT JavaScript Next.js TailwindCSS Dev.to Vercel

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.

🔗 Live Demo

Features

  • 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

Usage

  1. Enter a valid dev.to article URL (format: https://dev.to/username/article-slug)
  2. Select your preferred language (English or Bahasa Indonesia)
  3. Click "Roast →"
  4. Enjoy the humorous critique of the article

Tech Stack

  • 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

Prerequisites

  • Node version 20.4.0 or later
  • An OpenAI-compatible API endpoint and key (e.g., Sumopod AI)

Getting Started

  1. Clone the repository
git clone https://github.com/azis14/devto-roaster.git
cd devto-roaster
  1. Install dependencies
npm install
  1. 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
  1. Run the development server
npm run dev
  1. Open http://localhost:3000 in your browser

Deployment

This application can be easily deployed on Vercel.

npm run build

License

This project is licensed under the MIT License — see the LICENSE file for details.

Acknowledgments

Support

Buy Me A Coffee More About Me

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

About

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).

Topics

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Sponsor this project

Packages

Contributors

Languages