Skip to content

Muminur/ai-ppt-generator

Repository files navigation

AI Presentation Generator

AI-powered presentation generator that converts plain English to professional PowerPoint presentations using Claude API and Pandoc.

🚀 Features

  • Text-to-Presentation: Convert plain English to structured presentations
  • Dual Output: Generate both Markdown preview and downloadable PPTX files
  • AI-Powered: Uses Claude API for intelligent content generation
  • Clean Interface: Simple, responsive web design
  • Instant Download: Direct PPTX file generation and download

📋 Prerequisites

  • Node.js (>=18.0.0)
  • Pandoc - Install via:
    • macOS: brew install pandoc
    • Ubuntu: sudo apt install pandoc
    • Windows: Download from pandoc.org
  • Anthropic Claude API key

🛠️ Installation

  1. Clone the repository
git clone https://github.com/Muminur/ai-ppt-generator.git
cd ai-ppt-generator
  1. Install dependencies
npm install
  1. Configure environment
# Create .env file
echo "ANTHROPIC_API_KEY=your_api_key_here" > .env
  1. Start the application
npm start
  1. Open browserhttp://localhost:3000

🏗️ Architecture

  • Frontend: Vanilla HTML/CSS/JS with responsive design
  • Backend: Express.js server with RESTful APIs
  • Database: SQLite for storing generation history
  • AI Engine: Anthropic Claude API for content generation
  • File Conversion: Pandoc CLI for markdown→PPTX conversion

📁 Project Structure

├── public/           # Frontend files
├── server.js         # Express server
├── package.json      # Dependencies
├── .env             # Environment variables (create this)
└── generated/       # Temporary PPTX files

🎯 Usage

  1. Enter your presentation topic in the text area
  2. Click "Generate Markdown" to preview the content
  3. Click "Generate PPTX" to download the PowerPoint file
  4. Open the downloaded .pptx file in PowerPoint or Google Slides

🔧 API Endpoints

  • POST /generate-markdown - Generate presentation markdown
  • POST /generate-pptx - Generate and download PPTX file
  • GET /health - Server health check

📝 License

MIT License - feel free to use and modify!

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors