Skip to content

syedlabib4/PitchCraft

Repository files navigation

PitchCraft - AI Startup Pitch Generator

A professional, AI-powered startup pitch generator built with React, Firebase, and Google's Gemini AI. Create compelling startup pitches, names, taglines, and marketing materials with ease.

🚀 Features

  • AI-Powered Pitch Generation: Uses Google's Gemini AI to generate professional startup pitches
  • Comprehensive Pitch Elements:
    • Creative startup names
    • Compelling taglines
    • Elevator pitches
    • Problem & solution statements
    • Target audience analysis
    • Landing page copy
    • Color palette suggestions
    • Logo concept ideas
  • Professional UI: Modern, responsive design with glassmorphism effects
  • Firebase Integration: Secure authentication and data storage
  • Export Functionality: Export pitches as PDF documents
  • Real-time Editing: Edit and regenerate pitch sections
  • Bilingual Support: English and Roman Urdu interface

🛠️ Tech Stack

  • Frontend: React 19, Vite
  • Styling: Custom CSS with modern design patterns
  • Backend: Firebase (Authentication, Firestore)
  • AI: Google Gemini 1.5 Flash
  • Icons: Lucide React
  • Notifications: React Hot Toast
  • PDF Export: jsPDF + html2canvas

📦 Installation

  1. Clone the repository

    git clone <repository-url>
    cd pitchcraft
  2. Install dependencies

    npm install
  3. Set up Firebase

    • Create a Firebase project
    • Enable Authentication (Email/Password, Google)
    • Create a Firestore database
    • Update src/firebase/firebase.js with your config
  4. Set up Gemini AI

    • Get your API key from Google AI Studio
    • Update src/services/geminiService.js with your API key
  5. Start the development server

    npm run dev

🔧 Configuration

Firebase Setup

Update src/firebase/firebase.js with your Firebase configuration:

const firebaseConfig = {
  apiKey: "your-api-key",
  authDomain: "your-project.firebaseapp.com",
  projectId: "your-project-id",
  storageBucket: "your-project.appspot.com",
  messagingSenderId: "your-sender-id",
  appId: "your-app-id"
};

Gemini AI Setup

Update src/services/geminiService.js with your API key:

const genAI = new GoogleGenerativeAI('your-gemini-api-key');

📱 Usage

  1. Sign Up/Login: Create an account or sign in with Google
  2. Create Pitch: Click "Create Pitch" and describe your startup idea
  3. Customize: Select industry, tone, and target audience
  4. Generate: Let AI create your professional pitch
  5. Edit: Modify any section or regenerate specific parts
  6. Export: Download as PDF or share with others

🎨 UI Features

  • Modern Design: Clean, professional interface
  • Responsive: Works on desktop, tablet, and mobile
  • Glassmorphism: Beautiful glass-like effects
  • Smooth Animations: Hover effects and transitions
  • Accessibility: Screen reader support and keyboard navigation
  • Dark Mode Ready: CSS variables for easy theming

🔒 Security

  • Firebase Authentication for secure user management
  • Firestore security rules for data protection
  • API key protection (move to environment variables in production)
  • Input validation and sanitization

📈 Performance

  • Optimized React components with proper state management
  • Efficient Firebase queries with pagination
  • Lazy loading for better performance
  • Responsive images and assets

🚀 Deployment

Vercel (Recommended)

  1. Connect your GitHub repository to Vercel
  2. Set environment variables:
    • VITE_FIREBASE_API_KEY
    • VITE_FIREBASE_AUTH_DOMAIN
    • VITE_FIREBASE_PROJECT_ID
    • VITE_GEMINI_API_KEY
  3. Deploy automatically on push

Netlify

  1. Build the project: npm run build
  2. Deploy the dist folder to Netlify
  3. Set environment variables in Netlify dashboard

Firebase Hosting

  1. Install Firebase CLI: npm install -g firebase-tools
  2. Login: firebase login
  3. Initialize: firebase init hosting
  4. Build: npm run build
  5. Deploy: firebase deploy

🤝 Contributing

  1. Fork the repository
  2. Create a feature branch: git checkout -b feature-name
  3. Commit changes: git commit -m 'Add feature'
  4. Push to branch: git push origin feature-name
  5. Submit a pull request

📄 License

This project is licensed under the MIT License - see the LICENSE file for details.

🙏 Acknowledgments

  • Google Gemini AI for powerful content generation
  • Firebase for backend services
  • Lucide React for beautiful icons
  • React community for excellent tools and libraries

📞 Support

For support, email support@pitchcraft.com or create an issue in the repository.


PitchCraft - Transform your startup ideas into compelling pitches with AI! 🚀

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published