Spaces:
Configuration error
Configuration error
File size: 13,730 Bytes
bcce530 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 | # ๐ 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)
|