A Next.js application that generates AI-powered app ideas with custom thumbnails and interactive demos, styled with an iOS 6-inspired interface.
- AI App Generation: Generates 15 unique app concepts using Google's Gemini 2.5 Flash via OpenRouter
- Dynamic Thumbnails: Creates custom app icons using Replicate's Flux-Schnell image generation model
- Interactive Demos: Generates working app prototypes using Vercel's V0 SDK
- Local Caching: Stores generated apps and demos in browser localStorage for fast reloading
- iOS 6 UI: Retro-inspired skeuomorphic design with glossy effects and gradients
- Uses OpenRouter's API with Gemini 2.5 Flash to generate app concepts
- Requests 15 unique app ideas with names, descriptions, and image prompts
- Returns structured JSON data for each app concept
- Leverages Replicate's Flux-Schnell model for fast image generation
- Creates iOS 6-style skeuomorphic app icons
- Generates images asynchronously as placeholders load
- Caches results in localStorage
- Uses Vercel's V0 SDK to create functional app prototypes
- Polls the V0 API for up to 3 minutes to retrieve the demo URL
- Falls back to web URL if generation times out
- Caches successful demo URLs for instant loading
- Home Page: Grid of 15 generated apps with thumbnail icons
- App Detail Page: Full-screen iframe displaying the generated V0 demo
- Refresh Button: Clears cache and generates a new set of apps
- iOS 6 Styling: Gradient backgrounds, glossy overlays, and retro UI elements
- Node.js 20+
- API keys for:
- Replicate (for image generation)
- OpenRouter (for LLM access)
- Vercel V0 (for app demos)
- Clone the repository:
git clone <your-repo-url>
cd vibe-store- Install dependencies:
npm install- Create a
.env.localfile with your API keys:
REPLICATE_API_TOKEN=your_replicate_token
OPENROUTER_API_KEY=your_openrouter_key
V0_API_KEY=your_v0_api_key- Run the development server:
npm run dev- Open http://localhost:3000 in your browser
vibe-store/
├── app/
│ ├── api/
│ │ ├── generate-app-idea/route.ts # LLM-powered app concept generation
│ │ ├── generate-thumbnail/route.ts # Image generation for app icons
│ │ ├── generate-v0-app/route.ts # V0 demo creation
│ │ ├── get-v0-chat/route.ts # Retrieve V0 chat data
│ │ └── get-v0-messages/route.ts # Fetch V0 messages
│ ├── app/[id]/page.tsx # Individual app detail page
│ ├── layout.tsx # Root layout
│ └── page.tsx # Home page with app grid
├── public/ # Static assets
├── .env.example # Example environment variables
└── package.json # Dependencies
- Framework: Next.js 15 (App Router)
- Language: TypeScript
- Styling: Tailwind CSS 4
- AI/ML Services:
- OpenRouter (Gemini 2.5 Flash)
- Replicate (Flux-Schnell)
- Vercel V0 SDK
- State Management: React Hooks + localStorage
# Development server
npm run dev
# Build for production
npm run build
# Start production server
npm start
# Run linter
npm run lintThe easiest way to deploy is using Vercel:
- Push your code to GitHub
- Import the repository in Vercel
- Add your environment variables in Vercel's project settings
- Deploy!
MIT
Built with Next.js, powered by AI from OpenRouter, Replicate, and Vercel V0.
