An open API service indexing awesome lists of open source software.

https://github.com/pranjalkatiyar/slides-ai

AI-powered slide editor built with Next.js. Create, edit, and export slides to Reveal.js or JSONβ€”no manual coding needed.
https://github.com/pranjalkatiyar/slides-ai

ai antrophic claude drag-and-drop gemini jsonexport nextjs nocode openai postcss presenation presenation-slides reveal-js shadcn slides slideshow tailwind typescript vercel-ai vercel-ai-sdk

Last synced: 3 months ago
JSON representation

AI-powered slide editor built with Next.js. Create, edit, and export slides to Reveal.js or JSONβ€”no manual coding needed.

Awesome Lists containing this project

README

          

# πŸ“Š Slides-AI

A powerful, modern, and collaborative **slide editor and presenter** built using **Next.js**. This app allows users to create, edit, and present beautiful, responsive presentations with ease.

Video URL : https://drive.google.com/file/d/13oECvXXW0NEdJfFbgLcYf6Jp6sahQbiw/view?usp=sharing

---

## πŸš€ Features

- πŸ–±οΈ Drag & drop slide editor
- ✏️ Rich text editing and formatting
- 🧩 Slide elements (text, images, shapes, etc.)
- 🧭 Slide navigation and preview panel
- πŸ“€ Export Reveal JS or Json Format
- 🧠 AI create the slide for you.
- πŸ€– AI Enhancement: Advanced AI customization for improved slide suggestions.
- 🎬 Animation: Preview and edit mode available for dynamic presentations.

---

## Video

[![Watch Video](./example/Slides-AI.mp4)]

---

## Image

![alt text](./example//image1.png)

![alt text](./example//image3.png)

![alt text](./example//image4.png)

---

## βš™οΈ Tech Stack

**Next.js
TypeScript
Shadcn
Radix UI
Vercel-ai
Reveal-JS**

## 🧠 AI Integration

To enable AI-powered slide generation, create a `.env` file in the root of the project with your chosen provider's API key. You can select from one of the following options:

- Google Generative AI:
```env
GOOGLE_GENERATIVE_AI_API_KEY=your-gemini-api-key
```
- OpenAI:
```env
OPENAI_API_KEY=your-openai-api-key
```
- Anthropic Claude:
```env
CLAUDE_API_KEY=your-claude-api-key
```

Make sure to replace the placeholder text with your actual API keys.

---

## πŸ”§ Improvements

- [ ] Optimise Reveal.js code for accurate visualization of editor content.
- [ ] Add dark mode to the presentation.
- [ ] Improve the prompt for better clarity.
- [ ] Make the editor smoother for enhanced user experience.

---

## πŸ“‚ Project Structure

Below is a simplified overview of the project structure:

```
β”œβ”€β”€ app/
β”‚ β”œβ”€β”€ globals.css
β”‚ β”œβ”€β”€ layout.tsx
β”‚ └── page.tsx
β”œβ”€β”€ api/
β”‚ β”œβ”€β”€ enhance-content/
β”‚ β”‚ └── route.ts
β”‚ β”œβ”€β”€ generate-quiz/
β”‚ β”‚ └── route.ts
β”‚ └── generate-slides/
β”‚ └── route.ts
β”œβ”€β”€ components/
β”‚ β”œβ”€β”€ ai-assistant-panel.tsx
β”‚ β”œβ”€β”€ ai-settings-dialog.tsx
β”‚ β”œβ”€β”€ drag-drop-canvas.tsx
β”‚ β”œβ”€β”€ export-dialog.tsx
β”‚ β”œβ”€β”€ grapesjs-canvas.tsx
β”‚ β”œβ”€β”€ interactive-quiz.tsx
β”‚ β”œβ”€β”€ playback-controls.tsx
β”‚ β”œβ”€β”€ presentation-preview.tsx
β”‚ β”œβ”€β”€ reveal-export-dialog.tsx
β”‚ β”œβ”€β”€ slide-canvas.tsx
β”‚ β”œβ”€β”€ slide-editor.tsx
β”‚ β”œβ”€β”€ slide-menu.tsx
β”‚ β”œβ”€β”€ slide-properties-panel.tsx
β”‚ β”œβ”€β”€ theme-provider.tsx
β”‚ β”œβ”€β”€ toolbar.tsx
β”‚ └── ui/
β”‚ └── ... (various UI components)
β”œβ”€β”€ contexts/
β”‚ └── grid-context.tsx
β”œβ”€β”€ hooks/
β”‚ └── ... (custom hooks)
β”œβ”€β”€ lib/
β”‚ └── utils.ts
β”œβ”€β”€ public/
β”‚ └── ... (assets & images)
β”œβ”€β”€ styles/
β”‚ └── globals.css
└── types/
└── slide-types.ts
```

---

## πŸ“¦ Installation

Clone the repository and install dependencies using your preferred package manager (PNPM or NPM):

```bash
# Using PNPM
pnpm install

# Or using NPM
npm install
```

You can then run the development server:

```bash
# Using PNPM
pnpm run dev

# Or using NPM
npm run dev
```

---

Enjoy creating impactful presentations with Slides-AI!