Skip to content

Latest commit

 

History

History
86 lines (64 loc) · 1.87 KB

File metadata and controls

86 lines (64 loc) · 1.87 KB

logo


A fun, modern web app to test your internet speed and get a humorous, culturally-aware roast of your results!


📸 Screenshots

🚀 App Idea

RoastNet lets users:

  • Test their internet speed (download & upload)
  • Get a personalized, AI-generated roast based on their results
  • Enjoy a playful, localized experience (supports Arabic & English)

🛠️ Tech Stack

Tech Description
Vite Lightning-fast build tool
React UI library
Zustand State management
i18next Internationalization
ndt7 Internet speed test engine
OpenRouter AI roast generation

⚙️ Example .env file

VITE_OPENAI_API_KEY=sk-xxxxxxx

🏗️ Build & Run Instructions

  1. Install dependencies
    pnpm install
  2. Start development server
    pnpm dev
  3. Build for production
    pnpm build
  4. Preview production build
    pnpm preview
  5. Run locally with Vercel serverless functions
    pnpm i -g vercel@latest
    vercel dev

🛡️ API Security

RoastNet uses a Vercel serverless function as a backend proxy for AI requests. This ensures your OpenAI (or OpenRouter) API keys are never exposed to the frontend or end users. All sensitive API calls are securely handled server-side.


💡 Features

  • Modern UI/UX
  • Fun, AI-powered roasts
  • Arabic & English support
  • Daily usage rate limit