๐จ AI-Powered Prompt Generator | Transform ideas into powerful AI prompts instantly with smart credit system, real-time streaming, and 14 specialized categories. Built with React, TypeScript, Supabase & deployed on Vercel. Try 3 free generations - no signup required! โก
๐จ Vibe Prompting
AI-Powered Prompt Generator with Smart Credit System
Transform your ideas into powerful AI prompts instantly. Built with React, TypeScript, and Supabase.
๐ Live Demo โข ๐ Documentation โข ๐ค Contributing โข ๐ Security
๐ Table of Contents
- โจ Features
- ๐ ๏ธ Tech Stack
- ๐ Quick Start
- ๐ Project Structure
- ๐ Documentation
- ๐ฎ Usage Guide
- ๐ค Contributing
- ๐ License
- ๐ง Contact
โจ Features
๐ Core Capabilities
|
๐ฏ User Experience
|
๐ Enterprise-Grade Security
Built with security at its core. Learn more โ- โ Row Level Security (RLS) - Database-level access control
- โ IDOR Protection - Users can only access their own data
- โ Input Validation - Zod schemas + XSS prevention
- โ Rate Limiting - Protection against abuse
- โ Password Strength - Enforced requirements with visual feedback
๐ Fair Usage Credit System
View detailed credit system documentation โ| User Type | Generations | Prompt Views | Storage | Cost | |-----------|-------------|--------------|---------|------| | ๐ญ Anonymous | 3 free | 3 free views | localStorage | Free | | โจ Registered | 7 credits | Unlimited | Database | Free | | Price | Comming soon |
๐ ๏ธ Tech Stack
Frontend
|
Backend
|
AI Integration
|
๐ Quick Start
๐ Prerequisites: Node.js 18+, npm, Supabase account (free), and at least one AI API key
1๏ธโฃ Clone the Repository
git clone https://github.com/Addy-shetty/Vibe-Prompting.git
cd Vibe-Prompting
2๏ธโฃ Install Dependencies
npm install
3๏ธโฃ Set Up Environment Variables
Copy .env.example to .env and fill in your credentials:
cp .env.example .env
Required variables:
# Supabase (Get from: https://app.supabase.com/project/_/settings/api) VITESUPABASEURL=yoursupabaseproject_url VITESUPABASEANONKEY=yoursupabaseanonkey
AI API Keys (choose at least one)
VITEGEMINIAPIKEY=yourgeminiapikey # https://aistudio.google.com/apikey
VITEOPENROUTERAPIKEY=youropenrouter_key # https://openrouter.ai/keys
๐ก Tip: See .env.example for detailed setup instructions
4๏ธโฃ Set Up Supabase Database
Run migrations in the Supabase SQL Editor:
# Or use Supabase CLI
npx supabase db reset
๐ Detailed database setup guide โ
5๏ธโฃ Start Development Server
npm run dev
๐ Visit http://localhost:5173 and start creating prompts!
๐ข Build for Production
npm run build
npm run preview
๐ Project Structure
vibe-prompting/
โโโ src/
โ โโโ components/ # React components
โ โโโ pages/ # Page components
โ โโโ context/ # React context
โ โโโ hooks/ # Custom hooks
โ โโโ lib/ # Utilities
โ โโโ styles/ # Global styles
โโโ supabase/
โ โโโ migrations/ # Database migrations
โโโ docs/ # Documentation
โโโ public/ # Static assets
๐ Documentation
๐ Core Documentation
| Document | Description | |----------|-------------| | ๐ Security Policy | Vulnerability reporting & security measures | | ๐ค Contributing Guide | How to contribute to this project | | ๐ MIT License | Open source license details |๐ง Technical Guides
| Guide | Description | |-------|-------------| | ๐ Authentication | Auth implementation & user flows | | ๐ณ Credits System | How credits work & limitations | | ๐๏ธ Database Setup | Supabase configuration & migrations | | ๐ก๏ธ Security Details | Complete security implementation |๐ Quick Links
- ๐ .env.example - Environment variables template
- ๐๏ธ supabase/migrations - Database migration files
- ๐งฉ src/components - React components
- ๐ฃ src/hooks - Custom React hooks
๐ฎ Usage Guide
๐ญ For Anonymous Users
- ๐ Visit Homepage - Explore example prompts
- ๐ฏ Click a Category - Choose your prompt type
- โจ Generate - Create up to 3 free prompts
- ๐ Copy - One-click clipboard copy
- ๐พ Sign Up - To save prompts permanently
โ ๏ธ Note: Anonymous prompts are stored in localStorage and may be lost
โจ For Registered Users
- ๐ Sign Up - Get 50 free credits instantly
- ๐จ Generate Prompts - Use your credits wisely
- ๐ท๏ธ Add Tags - Organize with up to 5 tags
- ๐ Make Public - Share with the community
- ๐ Browse Gallery - Discover & save others' prompts
- โ๏ธ Manage - Edit or delete your creations
๐ก Pro Tips
- ๐ฏ Be Specific - More detailed inputs = better prompts
- ๐ท๏ธ Use Tags - Makes finding prompts easier later
- ๐ Go Public - Help the community & get discovered
- ๐ณ Track Credits - Visible in navbar when logged in
๐ค Contributing
We โค๏ธ contributions! Whether it's bug reports, feature requests, or code contributions - all are welcome!
๐ Quick Contribution Steps
- ๐ด Fork the repository
- ๐ฟ Create a feature branch
git checkout -b feature/AmazingFeature
- ๐ป Code your changes
- โ Commit with clear messages
git commit -m 'feat: Add AmazingFeature'
- ๐ค Push to your branch
git push origin feature/AmazingFeature
- ๐ฏ Open a Pull Request
๐ Contribution Guidelines
Please read our Contributing Guide for:
- ๐ Code of Conduct
- ๐ ๏ธ Development setup
- ๐ป Coding standards
- โ๏ธ Commit message conventions
- ๐งช Testing requirements
๐ Found a Bug?
Open an issue with:
- Clear description
- Steps to reproduce
- Expected vs actual behavior
- Screenshots (if applicable)
๐ก Feature Request?
We'd love to hear your ideas! Create a feature request and describe:
- The problem it solves
- Proposed solution
- Alternative approaches
๐ License
This project is licensed under the MIT License - see the LICENSE file for details.
๐ What This Means
โ Commercial use - Use it in your business โ Modification - Change and customize freely โ Distribution - Share with anyone โ Private use - Use for personal projects
โ ๏ธ Conditions:
- Include copyright notice
- Include license copy
๐ Acknowledgments
This project wouldn't be possible without these amazing tools and services:
| Technology | Purpose | License | |------------|---------|---------| | Google Gemini | AI prompt generation | Google AI | | Supabase | Backend infrastructure | Apache 2.0 | | React | UI framework | MIT | | TypeScript | Type safety | Apache 2.0 | | Tailwind CSS | Styling | MIT | | Framer Motion | Animations | MIT | | Vite | Build tool | MIT |
Special thanks to:
- ๐ All contributors
- ๐ Bug reporters and testers
- ๐ก Feature requesters
- โญ Everyone who starred this repo
๐ง Contact
๐ฌ Get in Touch
- ๐ผ GitHub: @Addy-shetty
- ๐ง Email: Harshithms@gmail.com
- ๐ Issues: Report bugs
- ๐ก Discussions: Join conversations
๐ Show Your Support
If you find this project useful, please consider:
โญ Starring this repository ๐ด Forking and contributing ๐ Reporting bugs ๐ก Suggesting features ๐ข Sharing with others
Made with โค๏ธ by Addy Shetty
Thank you for visiting! Happy Prompting! ๐จโจ