Powered by Exa - The Web Search API
App Link: https://roastmywebsite.exa.ai
Roast My Website is a free and open-source web application that uses AI to analyze your website and provide brutally honest feedback.
This app scrapes your website content, analyzes it for strengths and weaknesses, and presents the feedback with roasts, jokes, competitor comparisons, and improvement suggestions.
- Search Engine API: Exa API - Web search API designed for LLMs
- Language Model: Anthropic Claude Sonnet 4 - Latest Claude model for intelligent analysis
- Database: Firebase Firestore - For caching analysis results
- Frontend: Next.js 14 with App Router, TailwindCSS, TypeScript
- AI Integration: Vercel AI SDK with Anthropic provider
- Node.js 18+
- Anthropic API key - Get yours here
- Exa API key - Get yours here
- Firebase project - Create one here
- Clone the repository
git clone https://github.com/exa-labs/roast-my-website.git
cd roast-my-website
- Install dependencies
npm install
- Set up environment variables
Create a
.env.local
file in the root directory:
ANTHROPIC_API_KEY=your_anthropic_api_key_here
EXA_API_KEY=your_exa_api_key_here
# Firebase Configuration (for caching results)
FIREBASE_API_KEY=your_firebase_api_key
FIREBASE_AUTH_DOMAIN=your_project.firebaseapp.com
NEXT_PUBLIC_FIREBASE_PROJECT_ID=your_project_id
NEXT_PUBLIC_FIREBASE_STORAGE_BUCKET=your_project.appspot.com
NEXT_PUBLIC_FIREBASE_MESSAGING_SENDER_ID=your_sender_id
NEXT_PUBLIC_FIREBASE_APP_ID=your_app_id
- Run the development server
npm run dev
- Open http://localhost:3000 in your browser
- Anthropic API Key: console.anthropic.com - For Claude Sonnet 4 AI analysis
- Exa API Key: dashboard.exa.ai/api-keys - For website content scraping
- Firebase Config: console.firebase.google.com - Create a new project and get config from Project Settings
Make sure to create the "website_roasts" collection in firebase database.
⭐ About Exa
This project is powered by Exa.ai, a web search API designed specifically for AI applications. Exa provides:
- AI-Optimized Search: Search results relevant for language model consumption
- Real-time Web Scraping: Current website data with content extraction
- LinkedIn Discovery: Find company profiles and professional information
Built with ❤️ by Exa Labs