Skip to content

Amrutha-K-2004/PresentationHub

Repository files navigation

AI Presentations

A modern web application for creating AI-powered presentations using Next.js, OpenAI, and modern web technologies.

Features

  • 🤖 AI-powered presentation generation with multiple AI providers
    • OpenAI (GPT-4o)
    • Google Gemini 2.0 Flash (Recommended)
  • 🎨 Modern UI with Tailwind CSS and Radix UI components
  • 🔒 Authentication with Clerk
  • 📊 Interactive presentation editor
  • 🎯 Drag and drop interface
  • 🌙 Dark/Light mode support
  • 📱 Responsive design
  • 🔄 Real-time updates
  • 📦 PPTX export functionality
  • 🖼️ AI image generation with multiple providers

Tech Stack

  • Framework: Next.js 15.1.6
  • Language: TypeScript
  • Styling: Tailwind CSS
  • UI Components: Radix UI
  • Authentication: Clerk
  • Database: Prisma
  • State Management: Zustand
  • Form Handling: React Hook Form
  • AI Integration: OpenAI / Google Gemini (configurable)
  • Image Generation: Cloudflare, Hugging Face, Replicate, Gemini
  • Presentation Generation: pptxgenjs

Prerequisites

  • Node.js 18+ or Bun
  • AI Provider (choose one):
    • OpenAI API key, OR
    • Google Gemini API key (Recommended - better quality & cost)

Environment Variables

Create a .env.local file in the root directory. See .env.example for all options.

Minimum required:

# Choose your AI provider (openai or gemini)
AI_PROVIDER=gemini

# If using OpenAI
OPENAI_API_KEY=your_openai_api_key

# If using Gemini (Recommended)
GEMINI_API_KEY=your_gemini_api_key

# Authentication
CLERK_SECRET_KEY=your_clerk_secret_key
NEXT_PUBLIC_CLERK_PUBLISHABLE_KEY=your_clerk_publishable_key

# Database
DATABASE_URL=your_database_url

For detailed setup instructions, see:

Getting Started

  1. Clone the repository:
git clone https://github.com/yourusername/ai-presentations.git
cd ai-presentations
  1. Install dependencies:
npm install
# or
yarn install
# or
bun install
  1. Set up the database:
npx prisma db push
  1. Run the development server:
npm run dev
# or
yarn dev
# or
bun dev

Open http://localhost:3000 with your browser to see the application.

Project Structure

src/
├── actions/     # Server actions and API routes
├── app/         # Next.js app router pages
├── components/  # Reusable UI components
├── hooks/       # Custom React hooks
├── icons/       # Icon components
├── lib/         # Utility functions and configurations
├── provider/    # Context providers
└── store/       # Zustand state management

Available Scripts

  • npm run dev - Start development server with Turbopack
  • npm run build - Build the application
  • npm run start - Start production server
  • npm run lint - Run ESLint

Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

License

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

Learn More

To learn more about Next.js, take a look at the following resources:

You can check out the Next.js GitHub repository - your feedback and contributions are welcome!

Deploy on Vercel

The easiest way to deploy your Next.js app is to use the Vercel Platform from the creators of Next.js.

Check out our Next.js deployment documentation for more details.

About

An AI-Based Platform to Design Stunning Slides in Minutes Using Simple Prompts (Major Project-7th Sem)

Topics

Resources

License

Contributing

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages