Skip to content

Open source AI presentation generator Gamma Alternative. Create professional slides with customizable themes and AI-generated content in minutes.

License

Notifications You must be signed in to change notification settings

allweonedev/presentation-ai

Repository files navigation

ALLWEONEยฎ AI Presentation Generator

License: MIT Next.js Tailwind CSS Plate JS

โญ Help us reach more developers and grow the ALLWEONE community. Star this repo!

An open-source, AI-powered presentation generator inspired by Gamma.app that creates beautiful, customizable slides in minutes. This tool is part of the broader ALLWEONE AI platform.

2025-03-28.12-2.mp4

๐Ÿ”— Quick Links

๐Ÿ“‹ Table of Contents

๐ŸŒŸ Features

Core Functionality

  • AI-Powered Content Generation: Create complete presentations on any topic with AI
  • Customizable Slides: Choose the number of slides, language, and page style
  • Editable Outlines: Review and modify AI-generated outlines before finalizing
  • Real-Time Generation: Watch your presentation build live as content is created
  • Auto-Save: Everything saves automatically as you work

Design & Customization

  • Multiple Themes: 9 built-in themes with more coming soon
  • Custom Theme Creation: Create and save your own themes from scratch
  • Full Editability: Modify text, fonts, and design elements as needed
  • Image Generation: Choose different AI image generation models for your slides
  • Audience-Focused Styles: Select between professional and casual presentation styles

Presentation Tools

  • Presentation Mode: Present directly from the application
  • Rich Text Editing: Powered by Plate Editor for comprehensive text and image handling
  • Drag and Drop: Intuitive slide reordering and element manipulation

๐Ÿงฐ Tech Stack

Category Technologies
Framework Next.js, React, TypeScript
Styling Tailwind CSS
Database PostgreSQL with Prisma ORM
AI Integration OpenAI API, Together AI
Authentication NextAuth.js
UI Components Radix UI
Text Editor Plate Editor
File Uploads UploadThing
Drag & Drop DND Kit

๐Ÿš€ Getting Started

Prerequisites

Before you begin, ensure you have the following installed:

  • Node.js 18.x or higher
  • npm, yarn, or pnpm package manager
  • PostgreSQL database
  • Required API keys:
    • OpenAI API key (for AI generation features)
    • Together AI API key (for image generation)
    • Google Client ID and Secret (for authentication)

Installation

  1. Clone the repository

    git clone [email protected]:allweonedev/presentation-ai.git
    cd presentation-ai
  2. Install dependencies

    pnpm install
  3. Set up environment variables

    Create a .env file in the root directory with the following variables:

    # AI Providers
    OPENAI_API_KEY=""
    TOGETHER_AI_API_KEY=""
    
    # Next Auth Configuration
    NEXTAUTH_SECRET=""
    NEXTAUTH_URL="http://localhost:3000"
    
    # Google OAuth Provider
    GOOGLE_CLIENT_ID=""
    GOOGLE_CLIENT_SECRET=""
    
    # File Upload Service
    UPLOADTHING_TOKEN=""
    
    UNSPLASH_ACCESS_KEY=""
    TAVILY_API_KEY=""
    
    # PostgreSQL Database
    DATABASE_URL="postgresql://username:password@localhost:5432/presentation_ai"

    ๐Ÿ’ก Tip: Copy .env.example to .env and fill in your actual values.

Database Setup

  1. Initialize the database

    pnpm db:push
  2. Start the development server

    pnpm dev
  3. Open the application

    Navigate to http://localhost:3000 in your browser.

๐Ÿ’ป Usage

Creating a Presentation

Follow these steps to create your first AI-generated presentation:

  1. Login the website
  2. Navigate to the dashboard
  3. Enter your presentation topic
  4. Choose the number of slides (recommended: 5-10)
  5. Select your preferred language
  6. Choose a page style
  7. Toggle web search (if you want)
  8. Click "Generate Outline"
  9. Review and edit the AI-generated outline
  10. Select a theme for your presentation
  11. Choose an image source (ai / stock)
  12. Select your presentation style (Professional/Casual)
  13. Click "Generate Presentation"
  14. Wait for the AI to create your slides in real-time
  15. Preview, edit, and refine your presentation as needed
  16. Present directly from the app or export your presentation

Custom Themes

Create personalized themes to match your brand or style:

  1. Click "Create New Theme"
  2. Start from scratch or derive from an existing theme
  3. Customize colors, fonts, and layout
  4. Save your theme for future use

๐Ÿง  Local Models Guide

You can use either Ollama or LM Studio for using local models in ALLWEONE presentation ai.

LM Studio

  1. Install LM Studio.
  2. In the LM Studio app, turn the Server ON and enable CORS.
  3. Download any model you want to use inside LM Studio.

Ollama

  1. Install Ollama.
  2. Download whichever model you want to use (for example: ollama pull llama3.1).

Using Local Models in the App

  1. Open the app and open the text model selector.
  2. Chose the model you want to use (it must be downloaded in lm studio or ollama)
  3. Enjoy the generation

Notes:

  • Models will automatically appear in the Model Selector when the LM Studio server or the Ollama daemon is running.
  • Make sure LM Studio has CORS enabled so the browser can connect.

๐Ÿ“ Project Structure

presentation/
โ”œโ”€โ”€ .next/                      # Next.js build output
โ”œโ”€โ”€ node_modules/               # Dependencies
โ”œโ”€โ”€ prisma/                     # Database schema and migrations
โ”‚   โ””โ”€โ”€ schema.prisma          # Prisma database model
โ”œโ”€โ”€ src/                        # Source code
โ”‚   โ”œโ”€โ”€ app/                   # Next.js app router
โ”‚   โ”œโ”€โ”€ components/            # Reusable UI components
โ”‚   โ”‚   โ”œโ”€โ”€ auth/             # Authentication components
โ”‚   โ”‚   โ”œโ”€โ”€ presentation/     # Presentation-related components
โ”‚   โ”‚   โ”‚   โ”œโ”€โ”€ dashboard/   # Dashboard UI
โ”‚   โ”‚   โ”‚   โ”œโ”€โ”€ editor/      # Presentation editor
โ”‚   โ”‚   โ”‚   โ”‚   โ”œโ”€โ”€ custom-elements/   # Custom editor elements
โ”‚   โ”‚   โ”‚   โ”‚   โ”œโ”€โ”€ dnd/              # Drag and drop functionality
โ”‚   โ”‚   โ”‚   โ”‚   โ””โ”€โ”€ native-elements/  # Native editor elements
โ”‚   โ”‚   โ”‚   โ”œโ”€โ”€ outline/     # Presentation outline components
โ”‚   โ”‚   โ”‚   โ”œโ”€โ”€ theme/       # Theme-related components
โ”‚   โ”‚   โ”‚   โ””โ”€โ”€ utils/       # Presentation utilities
โ”‚   โ”‚   โ”œโ”€โ”€ prose-mirror/    # ProseMirror editor for outlines
โ”‚   โ”‚   โ”œโ”€โ”€ plate/           # Text editor components
โ”‚   โ”‚   โ”‚   โ”œโ”€โ”€ hooks/       # Editor hooks
โ”‚   โ”‚   โ”‚   โ”œโ”€โ”€ lib/         # Editor libraries
โ”‚   โ”‚   โ”‚   โ”œโ”€โ”€ ui/          # Plate editor UI components
โ”‚   โ”‚   โ”‚   โ”œโ”€โ”€ utils/       # Functions necessary for platejs
โ”‚   โ”‚   โ”‚   โ””โ”€โ”€ plugins/     # Editor plugins
โ”‚   โ”‚   โ””โ”€โ”€ ui/              # Shared UI components
โ”‚   โ”œโ”€โ”€ hooks/                # Custom React hooks
โ”‚   โ”œโ”€โ”€ lib/                  # Utility functions and shared code
โ”‚   โ”œโ”€โ”€ provider/             # Context providers
โ”‚   โ”œโ”€โ”€ server/               # Server-side code
โ”‚   โ”œโ”€โ”€ states/               # State management
โ”‚   โ”œโ”€โ”€ styles/               # Styles required in the project
โ”‚   โ”œโ”€โ”€ middleware.ts         # Next.js middleware
โ”‚   โ””โ”€โ”€ env.js                # Environment configuration
โ”œโ”€โ”€ .env                       # Environment variables (not in git)
โ”œโ”€โ”€ .env.example              # Example environment variables
โ”œโ”€โ”€ next.config.js            # Next.js configuration
โ”œโ”€โ”€ package.json              # Project dependencies and scripts
โ”œโ”€โ”€ tailwind.config.ts        # Tailwind CSS configuration
โ””โ”€โ”€ tsconfig.json             # TypeScript configuration

๐Ÿ—บ๏ธ Roadmap

Feature Status Notes
Export to PowerPoint (.pptx) ๐ŸŸก Partially Done Works but the images and other component do not translate one to one
Media embedding ๐ŸŸก Partially Done Functionality is there, but ui/ux need improvement
Additional built-in themes ๐ŸŸก In Progress Currently have 9 themes, planning to add 15+ more
Mobile responsiveness ๐ŸŸก In Progress Improving layout and interactions for mobile devices
Advanced charts ๐ŸŸก Started Support for AI generated charts
Write e2e tests ๐Ÿ”ด Not Started Writing test to check the core features, so that we can catch if any changes break anything
Real-time collaboration ๐Ÿ”ด Not Started Multiple users editing the same presentation simultaneously
Export to PDF ๐Ÿ”ด Not Started High priority - allow users to download presentations as PDFs
Template library ๐Ÿ”ด Not Started Pre-built templates for common presentation types (pitch decks, reports, etc.)
Animation and transitions ๐Ÿ”ด Not Started Add slide transitions and element animations
Voice-over recording ๐Ÿ”ด Not Started Record and attach voice narration to slides
Cloud storage integration ๐Ÿ”ด Not Started Connect with Google Drive, Dropbox, OneDrive
Presentation analytics ๐Ÿ”ด Not Started Track views, engagement, and presentation performance
AI presenter notes ๐Ÿ”ด Not Started Auto-generate speaker notes for each slide
Custom font uploads ๐Ÿ”ด Not Started Allow users to upload and use their own fonts
Plugin system ๐Ÿ”ด Not Started Allow community to build and share extensions
API ๐Ÿ”ด Not Started Allow developers to use the allweone presentation to generate content in their own applications.

๐Ÿ“ Note: This roadmap is subject to change based on community feedback and priorities. Want to contribute to any of these features? Check out our Contributing Guidelines!

๐Ÿค Contributing

We welcome contributions from the community! Here's how you can help:

How to Contribute

  1. Fork the repository

  2. Create a feature branch

    git checkout -b feature/amazing-feature
  3. Commit your changes

    git commit -m 'Add some amazing feature'
  4. Push to the branch

    git push origin feature/amazing-feature
  5. Open a Pull Request

Contribution Guidelines

  • Follow the existing code style and conventions
  • Write clear commit messages
  • Be respectful and constructive in discussions

For more details, please read our Contributing Guidelines.

๐Ÿ“ License

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

๐Ÿ™ Acknowledgements

Special thanks to the following projects and organizations:

๐Ÿ’ฌ Support

Need help or have questions?


Built with โค๏ธ by the ALLWEONEโ„ข Team

โญ Star us on GitHub