Spaces:
Configuration error
Configuration error
| # ๐ OpenPrompt - AI Prompts Marketplace + Tools Suite | |
| > **Production-ready platform combining a prompts marketplace with 177+ AI-powered tools, browser extension, and multi-model support** | |
| [](https://nextjs.org/) | |
| [](https://www.typescriptlang.org/) | |
| [](https://www.prisma.io/) | |
| [](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) | |