Skip to content

๐ŸŽจ 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! โšก

License

Notifications You must be signed in to change notification settings

Addy-shetty/Vibe-Prompting

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

32 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

๐ŸŽจ 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 Vercel

License: MIT TypeScript React Vite Tailwind CSS Supabase Framer Motion

๐Ÿš€ Live Demo โ€ข ๐Ÿ“– Documentation โ€ข ๐Ÿค Contributing โ€ข ๐Ÿ”’ Security


๐Ÿ“‘ Table of Contents


โœจ Features

๐Ÿš€ Core Capabilities

  • โœ… AI Prompt Generation - Powered by Google Gemini 2.0 Flash & OpenRouter
  • โœ… 14 Specialized Categories - Frontend, Backend, DevOps, Security & more
  • โœ… Smart Tag System - Organize with up to 5 tags per prompt
  • โœ… Real-time Streaming - Watch prompts generate live
  • โœ… Public Gallery - Discover community creations

๐ŸŽฏ User Experience

  • โœ… Anonymous Preview - 3 free generations, no signup needed
  • โœ… 50 Free Credits - For registered users
  • โœ… Dark/Light Theme - Beautiful adaptive UI
  • โœ… One-Click Copy - Instant clipboard functionality
  • โœ… Fully Responsive - Desktop, tablet & mobile ready

๐Ÿ”’ 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

  • โš›๏ธ React 18.3 - UI library
  • ๐Ÿ“˜ TypeScript 5.5 - Type safety
  • โšก Vite 5.4 - Build tool
  • ๐ŸŽจ Tailwind CSS - Styling
  • ๐ŸŽฌ Framer Motion - Animations
  • ๐Ÿ›ฃ๏ธ React Router - Routing

Backend

  • ๐Ÿ—„๏ธ Supabase - BaaS platform
  • ๐Ÿ˜ PostgreSQL - Database with RLS
  • โšก Edge Functions - Serverless

AI Integration

  • ๐Ÿค– Gemini 2.0 Flash - Primary model
  • ๐Ÿฆ™ Llama 3.2 - Fallback via OpenRouter

๐Ÿš€ 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)
VITE_SUPABASE_URL=your_supabase_project_url
VITE_SUPABASE_ANON_KEY=your_supabase_anon_key

# AI API Keys (choose at least one)
VITE_GEMINI_API_KEY=your_gemini_api_key        # https://aistudio.google.com/apikey
VITE_OPENROUTER_API_KEY=your_openrouter_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


๐ŸŽฎ Usage Guide

๐ŸŽญ For Anonymous Users

  1. ๐Ÿ  Visit Homepage - Explore example prompts
  2. ๐ŸŽฏ Click a Category - Choose your prompt type
  3. โœจ Generate - Create up to 3 free prompts
  4. ๐Ÿ“‹ Copy - One-click clipboard copy
  5. ๐Ÿ’พ Sign Up - To save prompts permanently

โš ๏ธ Note: Anonymous prompts are stored in localStorage and may be lost

โœจ For Registered Users

  1. ๐Ÿ“ Sign Up - Get 50 free credits instantly
  2. ๐ŸŽจ Generate Prompts - Use your credits wisely
  3. ๐Ÿท๏ธ Add Tags - Organize with up to 5 tags
  4. ๐ŸŒ Make Public - Share with the community
  5. ๐Ÿ“š Browse Gallery - Discover & save others' prompts
  6. โš™๏ธ 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

  1. ๐Ÿด Fork the repository
  2. ๐ŸŒฟ Create a feature branch
    git checkout -b feature/AmazingFeature
  3. ๐Ÿ’ป Code your changes
  4. โœ… Commit with clear messages
    git commit -m 'feat: Add AmazingFeature'
  5. ๐Ÿ“ค Push to your branch
    git push origin feature/AmazingFeature
  6. ๐ŸŽฏ 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

๐Ÿ“– Read the full MIT License โ†’


๐Ÿ™ 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

Harshith M S (Addy Shetty)

GitHub Email

๐Ÿ’ฌ Get in Touch


๐ŸŒŸ 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

Star History Forks Issues

Thank you for visiting! Happy Prompting! ๐ŸŽจโœจ

โฌ† Back to Top

About

๐ŸŽจ 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! โšก

Topics

Resources

License

Contributing

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published