Skip to content

lvy010/Next-AI-Slide

Repository files navigation

Next AI Slide

不要 Python,让我们用 Rust 实现跨平台高性能的 AI 推理!(🇨🇳) Slides

Rust Talk Example

你是否想通过文档自动化生成这样的 PPT?那就来试试 Next AI Slide 吧!(也在尝试把 Slide 构建流程开源成 skill,ing)

中文 README

AI-powered Slidev Markdown generator. Turn natural language prompts into Slidev slides with copy/download support. with:slidevjs/slidev#2435

Example

Quick Start

1) Install dependencies

npm install

2) Configure environment variables (optional)

Create .env.local and set:

OPENAI_API_KEY=你的 OpenAI Key
OPENAI_MODEL=gpt-4o-mini
OPENAI_BASE_URL=https://api.openai.com/v1

If no key is set, the API returns a local fallback template.

3) Run the dev server

npm run dev
# or
yarn dev
# or
pnpm dev
# or
bun dev

Open http://localhost:3000 in your browser.

Main UI: src/app/page.tsx, API: src/app/api/generate/route.ts.

This project uses next/font to automatically optimize and load Geist, a new font family for Vercel.

Deployment

Vercel

Deploy on Vercel and set OPENAI_API_KEY in environment variables.

Other platforms

npm run build
npm run start

Notes

  • Uses the OpenAI API by default and can be extended to other models.
  • Output is standard Slidev Markdown. Save as slides.md for Slidev preview.

Roadmap

  1. Integrate Slidev CLI for real-time preview
  2. One-sentence PPT generation (Prompt → Slidev Markdown → Live preview)
  3. Paste a GitHub repo URL to generate PPT
    • Reuse the repo fetching flow from github-agent
    • Summarize/structure content before generating Slidev Markdown
    • Live preview via Slidev CLI
  4. Fine-tune a Slidev-specific LLM to improve PPT quality and fit

Slidev is amazing — I haven’t used PowerPoint since switching to it.

This AI layer can:

  • Lower the onboarding barrier and reach a broader audience
  • Speed up slide creation for everyone

I hope more people can join or share ideas to help integrate this into the Slidev ecosystem so more users can benefit.

Contributions are very welcome.

Appendix

About

🤖 Generate Slidev presentations with AI

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors