# ๐Ÿš€ OpenPrompt - AI Prompts Marketplace + Tools Suite > **Production-ready platform combining a prompts marketplace with 177+ AI-powered tools, browser extension, and multi-model support** [![Next.js](https://img.shields.io/badge/Next.js-16.0.8-black)](https://nextjs.org/) [![TypeScript](https://img.shields.io/badge/TypeScript-5.8-blue)](https://www.typescriptlang.org/) [![Prisma](https://img.shields.io/badge/Prisma-7.1-2D3748)](https://www.prisma.io/) [![React](https://img.shields.io/badge/React-19.2-61DAFB)](https://react.dev/) **Live Demo:** [https://open-prompt.netlify.app](https://open-prompt.netlify.app) --- ## ๐Ÿ“– Table of Contents - [Features](#-features) - [Tech Stack](#-tech-stack) - [Getting Started](#-getting-started) - [Project Structure](#-project-structure) - [Browser Extension](#-browser-extension) - [Available Tools](#-available-tools) - [Deployment](#-deployment) - [Documentation](#-documentation) - [Support](#-support) --- ## โœจ Features ### Prompts Marketplace - ๐Ÿ” **Advanced Search** - Full-text search with real-time filtering - ๐Ÿ“Š **Trending Algorithm** - Hot score calculation for viral prompts - ๐Ÿท๏ธ **7 Categories** - Content, Development, Marketing, Business, Education, Creative, Research - โญ **User Engagement** - Star, share, remix, and collect prompts - ๐Ÿ‘ฅ **Creator Economy** - Profile pages, rankings (Bronze/Silver/Gold/Verified), stats - ๐ŸŽจ **10 Frameworks** - RACE, CARE, APE, CREATE, RISEN, RTF, TAG, BAB, STAR, PREP - ๐Ÿ… **Quality Badges** - Auto-calculated (Hot, Viral, Featured, Top Rated, etc.) - ๐Ÿ“ฆ **Collections** - Organize and share prompt collections - ๐Ÿ”— **Embeds** - Share prompts with 3 theme options - ๐Ÿ’ฌ **Comments** - Threaded discussions with likes and replies - ๐ŸŒ“ **Dark Mode** - Beautiful light and dark themes ### AI Tools Suite (177 Tools Across 15 Categories) - ๐ŸŽฏ **Prompting** (9) - Optimizer, Checker, Chain-of-Thought, Few-Shot, Meta-Prompt, etc. - ๐Ÿ“ข **Marketing** (14) - Strategy, Sales Copy, Hooks, Ads, Campaigns - ๐Ÿข **Branding** (11) - Business Names, Slogans, USP, Brand Voice - โœ๏ธ **Copywriting** (12) - Titles, Headlines, Meta, Landing Pages - ๐Ÿ’ผ **Business** (15) - Plans, Mission, SWOT, Pitches, Financial Models - ๐Ÿ“ง **Email** (10) - Subject Lines, Cold Email, Sequences, Templates - ๐Ÿ“ฆ **Product** (12) - Descriptions, PRDs, User Stories, Roadmaps - ๐Ÿ’ผ **HR** (11) - Job Descriptions, Interviews, Reviews, Onboarding - โญ **Personal Brand** (8) - LinkedIn, Twitter, Instagram, Bio - ๐Ÿ“‹ **Operations** (9) - SOPs, KPIs, Process Improvement - ๐Ÿ“ฑ **Social Media** (12) - Posts, Captions, Hashtags, Calendars - ๐ŸŽ“ **Education** (10) - Lesson Plans, Quizzes, Curriculum - ๐Ÿ’ป **Development** (15) - Code Review, Documentation, APIs - ๐ŸŽจ **Creative** (14) - Stories, Scripts, Poetry, Art Prompts - ๐Ÿ”ฌ **Research** (15) - Analysis, Summaries, Literature Review ### Image Prompts Gallery - ๐ŸŽจ **Midjourney** - v6.1, v6, v5.2, niji 6 - ๐Ÿ–ผ๏ธ **DALL-E** - DALL-E 3, DALL-E 2 - ๐ŸŽฏ **Stable Diffusion** - SDXL, SD 3.5, SD 1.5 - โšก **FLUX** - FLUX.1-dev, schnell, pro - ๐Ÿฆ **Leonardo AI** - Phoenix, Kino XL, Vision XL - ๐Ÿ”ฅ **Adobe Firefly** - Firefly 3, Firefly 2 ### AI Characters - ๐Ÿค– **Experts** - Coding, Writing, Business mentors - ๐ŸŽญ **Roleplay** - Storytelling, Adventure companions - ๐ŸŽ“ **Education** - Tutors, Study buddies - ๐Ÿ’ผ **Productivity** - Task assistants, Planners - ๐ŸŽจ **Creative** - Art directors, Music composers ### Thunderdome โš”๏ธ - **Model vs Model** - Compare AI responses head-to-head - **Community Voting** - Real-time leaderboard - **20+ Models** - GPT-4o, Claude 3.5, Gemini 2.5, Ollama models ### Workflow Chains ๐Ÿ”— - **Multi-step Prompts** - Chain prompts together - **Variable Passing** - Output โ†’ Input automation - **Templates** - Pre-built workflow patterns ### Infrastructure - โšก **Multi-Model AI** - OpenAI, Anthropic, Google AI, Ollama (20+ local models) - ๐Ÿ”„ **Response Caching** - Redis with 7-day TTL - ๐Ÿ›ก๏ธ **Rate Limiting** - 10/hr guests, 50/hr users - ๐Ÿค– **Bot Protection** - Cloudflare Turnstile - ๐Ÿ“Š **Analytics** - Usage tracking, engagement metrics - ๐Ÿ” **Authentication** - Stack Auth integration - ๐Ÿ“ฑ **Mobile Responsive** - Works on all devices - ๐Ÿงฉ **Browser Extension** - Open prompts in any AI chat --- ## ๐Ÿ› ๏ธ Tech Stack **Frontend:** - [Next.js 16.0.8](https://nextjs.org/) - React framework with Turbopack - [React 19.2.1](https://react.dev/) - UI library - [TypeScript 5.8](https://www.typescriptlang.org/) - Type safety - [Tailwind CSS 4.x](https://tailwindcss.com/) - Styling - [Shadcn/ui](https://ui.shadcn.com/) - UI components - [Framer Motion](https://www.framer.com/motion/) - Animations **Backend:** - [Next.js API Routes](https://nextjs.org/docs/api-routes/introduction) - Serverless functions - [Prisma 7.1](https://www.prisma.io/) - Database ORM - [PostgreSQL](https://www.postgresql.org/) - Database (via Neon) - [Redis](https://redis.io/) - Caching (via Upstash) **AI & Services:** - [OpenAI API](https://platform.openai.com/) - GPT-4o, GPT-4o-mini - [Anthropic API](https://www.anthropic.com/) - Claude 3.5 Sonnet, Claude 3 Haiku - [Google AI](https://ai.google.dev/) - Gemini 2.5 Flash, Gemini 2.0 Flash - [Ollama](https://ollama.ai/) - 20+ local models (Llama, Mistral, Phi, etc.) - [Stack Auth](https://stack-auth.com/) - Authentication - [Cloudflare Turnstile](https://www.cloudflare.com/products/turnstile/) - Bot protection **Deployment:** - [Vercel](https://vercel.com/) - Hosting & deployments - [GitHub](https://github.com/) - Version control --- ## ๐Ÿš€ Getting Started ### Prerequisites - Node.js 18+ - npm or yarn - PostgreSQL database (or Neon account) - OpenAI API key ### Installation 1. **Clone the repository** ```bash git clone https://github.com/Anky9972/open-prompt.git cd open-prompt ``` 2. **Install dependencies** ```bash npm install ``` 3. **Set up environment variables** Create `.env.local`: ```env # Database DATABASE_URL="postgresql://..." # Authentication (Stack Auth) NEXT_PUBLIC_STACK_PROJECT_ID="..." NEXT_PUBLIC_STACK_PUBLISHABLE_CLIENT_KEY="..." STACK_SECRET_SERVER_KEY="..." # AI Models (Required) OPENAI_API_KEY="sk-..." # Optional ANTHROPIC_API_KEY="sk-ant-..." GOOGLE_AI_API_KEY="..." UPSTASH_REDIS_REST_URL="..." UPSTASH_REDIS_REST_TOKEN="..." NEXT_PUBLIC_TURNSTILE_SITE_KEY="..." TURNSTILE_SECRET_KEY="..." ``` 4. **Set up database** ```bash npx prisma generate npx prisma db push npx prisma db seed # Optional: adds sample data ``` 5. **Run development server** ```bash npm run dev ``` Visit [http://localhost:3000](http://localhost:3000) --- ## ๐Ÿ“ Project Structure ``` openprompt/ โ”œโ”€โ”€ src/ โ”‚ โ”œโ”€โ”€ app/ # Next.js app directory โ”‚ โ”‚ โ”œโ”€โ”€ api/ # API routes โ”‚ โ”‚ โ”œโ”€โ”€ categories/ # Category pages โ”‚ โ”‚ โ”œโ”€โ”€ category/ # Dynamic category โ”‚ โ”‚ โ”œโ”€โ”€ collections/ # Collections โ”‚ โ”‚ โ”œโ”€โ”€ create/ # Create prompt โ”‚ โ”‚ โ”œโ”€โ”€ creators/ # Creators index โ”‚ โ”‚ โ”œโ”€โ”€ creator/ # Creator profile โ”‚ โ”‚ โ”œโ”€โ”€ embed/ # Embed pages โ”‚ โ”‚ โ”œโ”€โ”€ explore/ # Explore page โ”‚ โ”‚ โ”œโ”€โ”€ image-prompts/ # Image generation prompts โ”‚ โ”‚ โ”œโ”€โ”€ characters/ # AI characters โ”‚ โ”‚ โ”œโ”€โ”€ leaderboard/ # Creator rankings โ”‚ โ”‚ โ”œโ”€โ”€ p/ # Prompt runner โ”‚ โ”‚ โ”œโ”€โ”€ thunderdome/ # Model comparison โ”‚ โ”‚ โ”œโ”€โ”€ workflows/ # Workflow chains โ”‚ โ”‚ โ”œโ”€โ”€ tools/ # AI tools suite โ”‚ โ”‚ โ”œโ”€โ”€ about/ # About page โ”‚ โ”‚ โ”œโ”€โ”€ docs/ # Documentation โ”‚ โ”‚ โ”œโ”€โ”€ guides/ # User guides โ”‚ โ”‚ โ”œโ”€โ”€ blog/ # Blog โ”‚ โ”‚ โ”œโ”€โ”€ layout.tsx # Root layout โ”‚ โ”‚ โ””โ”€โ”€ page.tsx # Landing page โ”‚ โ”œโ”€โ”€ components/ # React components โ”‚ โ”‚ โ”œโ”€โ”€ auth/ # Auth components โ”‚ โ”‚ โ”œโ”€โ”€ comments/ # Comments system โ”‚ โ”‚ โ”œโ”€โ”€ create/ # Creation components โ”‚ โ”‚ โ”œโ”€โ”€ engagement/ # Engagement metrics โ”‚ โ”‚ โ”œโ”€โ”€ explore/ # Discovery components โ”‚ โ”‚ โ”œโ”€โ”€ layout/ # Layout (header, footer) โ”‚ โ”‚ โ”œโ”€โ”€ prompt-runner/ # Prompt execution โ”‚ โ”‚ โ”œโ”€โ”€ prompts/ # Prompt components โ”‚ โ”‚ โ”œโ”€โ”€ thunderdome/ # Model comparison UI โ”‚ โ”‚ โ”œโ”€โ”€ tools/ # Tool components โ”‚ โ”‚ โ”œโ”€โ”€ workflow/ # Workflow builder โ”‚ โ”‚ โ””โ”€โ”€ ui/ # Shadcn UI components โ”‚ โ”œโ”€โ”€ lib/ # Utilities โ”‚ โ”‚ โ”œโ”€โ”€ prisma.ts # Prisma client โ”‚ โ”‚ โ”œโ”€โ”€ tools.ts # 177 tool definitions โ”‚ โ”‚ โ”œโ”€โ”€ frameworks.ts # Prompt frameworks โ”‚ โ”‚ โ””โ”€โ”€ utils.ts # Helper functions โ”‚ โ””โ”€โ”€ types/ # TypeScript types โ”œโ”€โ”€ prisma/ โ”‚ โ”œโ”€โ”€ schema.prisma # Database schema โ”‚ โ””โ”€โ”€ seed.ts # Seed data โ”œโ”€โ”€ openprompt-extension/ # Browser extension โ”‚ โ”œโ”€โ”€ src/ # Extension source โ”‚ โ”œโ”€โ”€ dist/ # Built extension โ”‚ โ””โ”€โ”€ README.md # Extension docs โ”œโ”€โ”€ public/ # Static assets โ”œโ”€โ”€ DEPLOYMENT.md # Deployment guide โ”œโ”€โ”€ FEATURE-GAP-ANALYSIS.md # Feature roadmap โ””โ”€โ”€ README.md # This file ``` --- ## ๐Ÿงฉ Browser Extension Open prompts directly in ChatGPT, Claude, Gemini, and other AI interfaces with one click! ### Supported Platforms - โœ… ChatGPT (chatgpt.com) - โœ… Claude (claude.ai) - โœ… Gemini (gemini.google.com) - โœ… Perplexity (perplexity.ai) - โœ… Mistral (chat.mistral.ai) - โœ… Microsoft Copilot (copilot.microsoft.com) ### Installation ```bash cd openprompt-extension npm install npm run build ``` Then load the `dist` folder as an unpacked extension in Chrome. See [openprompt-extension/README.md](openprompt-extension/README.md) for detailed instructions. --- ## ๐Ÿ”ง Available Tools ### 177 Tools Across 15 Categories | Category | Count | Examples | |----------|-------|----------| | **Prompting** | 9 | Optimizer, Chain-of-Thought, Meta-Prompt | | **Marketing** | 14 | Strategy, Ads, Campaigns, Funnels | | **Branding** | 11 | Names, Slogans, Voice, Guidelines | | **Copywriting** | 12 | Headlines, Landing Pages, CTAs | | **Business** | 15 | Plans, SWOT, Pitches, Financials | | **Email** | 10 | Sequences, Templates, Subject Lines | | **Product** | 12 | PRDs, Roadmaps, User Stories | | **HR** | 11 | Job Posts, Interviews, Onboarding | | **Personal Brand** | 8 | LinkedIn, Twitter, Bio Generators | | **Operations** | 9 | SOPs, KPIs, Process Improvement | | **Social Media** | 12 | Posts, Reels, Calendars, Hashtags | | **Education** | 10 | Lesson Plans, Quizzes, Curriculum | | **Development** | 15 | Code Review, Docs, API Design | | **Creative** | 14 | Stories, Scripts, Poetry, Art | | **Research** | 15 | Analysis, Summaries, Literature | See [src/lib/tools.ts](src/lib/tools.ts) for complete definitions. --- ## ๐ŸŒ Deployment ### Deploy to Vercel (Recommended) 1. **Push to GitHub** ```bash git add . git commit -m "Initial commit" git push origin main ``` 2. **Import to Vercel** - Go to [vercel.com/new](https://vercel.com/new) - Import your repository - Add environment variables - Deploy! 3. **Set up domain** (optional) - Add custom domain in Vercel dashboard - Configure DNS settings - SSL automatically provisioned For detailed instructions, see [DEPLOYMENT.md](DEPLOYMENT.md) --- ## ๐Ÿ“š Documentation - **[DEPLOYMENT.md](DEPLOYMENT.md)** - Complete deployment guide - **[FEATURE-GAP-ANALYSIS.md](FEATURE-GAP-ANALYSIS.md)** - Competitor analysis & roadmap - **[openprompt-extension/README.md](openprompt-extension/README.md)** - Browser extension docs --- ## ๐ŸŽฏ Roadmap ### โœ… Current: v1.0 (Complete) - โœ… Full prompts marketplace with 7 categories - โœ… 177 AI tools across 15 categories - โœ… Multi-model support (OpenAI, Anthropic, Google, Ollama) - โœ… Thunderdome model comparison - โœ… Workflow chains - โœ… Image prompts gallery - โœ… AI characters - โœ… Comments & engagement - โœ… Creator leaderboard - โœ… Browser extension ### ๐Ÿšง Next: v1.5 - [ ] Prompt marketplace (buy/sell) - [ ] Team workspaces - [ ] API access - [ ] Custom fine-tuning ### ๐Ÿ”ฎ Future: v2.0 - [ ] Mobile app - [ ] Enterprise features - [ ] White-label option - [ ] Plugin ecosystem --- ## ๐Ÿ’ฐ Monetization ### Free Tier - All basic features - 20 tool executions/day - Community prompts ### Pro ($9/month) - Unlimited tool executions - Access to PRO tools - Execution history - Priority support ### Enterprise (Custom) - API access - Custom tools - White-label - SLA guarantee --- ## ๐Ÿ“ž Support - **Issues:** [GitHub Issues](https://github.com/Anky9972/open-prompt/issues) - **Discussions:** [GitHub Discussions](https://github.com/Anky9972/open-prompt/discussions) - **Email:** ankygaur9972@gmail.com - **Twitter:** [@anky_vivek](https://x.com/anky_vivek) --- ## ๐ŸŒŸ Star History If you find this project useful, please consider giving it a star โญ --- **Built with โค๏ธ by [Anky9972](https://github.com/Anky9972)** [Website](https://open-prompt.netlify.app) ยท [Twitter](https://x.com/anky_vivek) ยท [GitHub](https://github.com/Anky9972/open-prompt)