{"id":49888907,"url":"https://github.com/466852675/yh-ai-ppt","last_synced_at":"2026-05-15T20:01:31.853Z","repository":{"id":332988115,"uuid":"1132417762","full_name":"466852675/YH-AI-PPT","owner":"466852675","description":"基于混合 AI 引擎的智能演示文稿生成平台。支持风格参考图复刻、全局视觉配置与智能大纲生成，让小白也能零门槛产出高颜值、专业级的 PPT。","archived":false,"fork":false,"pushed_at":"2026-05-07T18:18:22.000Z","size":342957,"stargazers_count":1,"open_issues_count":1,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-05-07T18:40:00.095Z","etag":null,"topics":["genai","google-gemini","low-code","multi-agent","openai","ppt-generator","presentation-maker","productivity-tools","react","slide-deck","tailwindcss","typescript","visual-design","vite"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"agpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/466852675.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":"AGENTS.md","dco":null,"cla":null}},"created_at":"2026-01-11T23:12:55.000Z","updated_at":"2026-05-07T18:19:07.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/466852675/YH-AI-PPT","commit_stats":null,"previous_names":["466852675/bananaslides-genai","466852675/yh-ai-ppt"],"tags_count":1,"template":false,"template_full_name":"google-gemini/aistudio-repository-template","purl":"pkg:github/466852675/YH-AI-PPT","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/466852675%2FYH-AI-PPT","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/466852675%2FYH-AI-PPT/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/466852675%2FYH-AI-PPT/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/466852675%2FYH-AI-PPT/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/466852675","download_url":"https://codeload.github.com/466852675/YH-AI-PPT/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/466852675%2FYH-AI-PPT/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33077921,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-15T11:35:32.926Z","status":"ssl_error","status_checked_at":"2026-05-15T11:35:31.362Z","response_time":103,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["genai","google-gemini","low-code","multi-agent","openai","ppt-generator","presentation-maker","productivity-tools","react","slide-deck","tailwindcss","typescript","visual-design","vite"],"created_at":"2026-05-15T20:01:28.522Z","updated_at":"2026-05-15T20:01:31.846Z","avatar_url":"https://github.com/466852675.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"**[English](./README.md) | [中文](./README.zh-CN.md)**\n\n# YH-AI PPT - AI-Powered Presentation Design Platform\n\n\u003e Multi-model AI engine with intelligent routing — from a single sentence to a polished presentation in minutes.\n\n[![Vite](https://img.shields.io/badge/Vite-6.2-646CFF?logo=vite)](https://vitejs.dev/) [![React](https://img.shields.io/badge/React-19.2-61DAFB?logo=react)](#) [![TypeScript](https://img.shields.io/badge/TypeScript-5.9-3178C6?logo=typescript)](#) [![TailwindCSS](https://img.shields.io/badge/TailwindCSS-4.1-38B2AC?logo=tailwind-css)](#) [![Prisma](https://img.shields.io/badge/Prisma-SQLite-2D3748?logo=prisma)](#) [![License: AGPL-3.0](https://img.shields.io/badge/License-AGPL--3.0-blue)](./LICENSE)\n[![GitHub Stars](https://img.shields.io/github/stars/466852675/YH-AI-PPT?style=social)](https://github.com/466852675/YH-AI-PPT/stargazers) [![GitHub Forks](https://img.shields.io/github/forks/466852675/YH-AI-PPT?style=social)](https://github.com/466852675/YH-AI-PPT/forks) [![GitHub Issues](https://img.shields.io/github/issues/466852675/YH-AI-PPT)](https://github.com/466852675/YH-AI-PPT/issues) [![Release](https://img.shields.io/github/v/release/466852675/YH-AI-PPT)](https://github.com/466852675/YH-AI-PPT/releases)\n\n---\n\n## Highlights\n\n- **AI Productivity Pipeline** — One-sentence topic → structured outline → content expansion → AI-generated slides → multi-format export (PDF / image pack / PPTX)\n- **Multi-Model Router** — Adapter-based architecture supporting Gemini / OpenAI / Zhipu / DeepSeek / Volcengine / SiliconFlow / ModelScope / local Ollama. Auto-routes by task type (text / image / vision). Hot-swap without restart.\n- **Agent Mode** — Natural language conversation drives the entire PPT creation workflow. 9 AI tools (Function Calling), guided/auto dual execution modes, SSE + WebSocket real-time progress.\n- **Design Asset Library** — Template gallery, AI-powered visual style extraction from reference images, personal style vault. 4-layer Prompt synthesis engine for consistent visual quality.\n- **MinerU Document Parsing** — Industrial-grade PDF/Word structural extraction for content ingestion.\n- **SaaS-Ready Infrastructure** — Payment (Alipay/WeChat), credits, VIP membership, refund risk control, messaging center, RBAC with 6 user roles. Configure merchant keys to go live.\n\n---\n\n## Supported AI Providers\n\n[![Gemini](https://img.shields.io/badge/Google-Gemini-4285F4?logo=google)](#) [![OpenAI](https://img.shields.io/badge/OpenAI-GPT-412991?logo=openai)](#) [![Zhipu](https://img.shields.io/badge/Zhipu-GLM-4E79A7)](#) [![DeepSeek](https://img.shields.io/badge/DeepSeek-V3-0088CC)](#) [![Volcengine](https://img.shields.io/badge/Volcengine-Doubao-3370FF?logo=bytedance)](#) [![SiliconFlow](https://img.shields.io/badge/SiliconFlow-FLUX-7C3AED)](#) [![ModelScope](https://img.shields.io/badge/ModelScope-Qwen-FF6A00)](#) [![Ollama](https://img.shields.io/badge/Ollama-Local-000000?logo=ollama)](#)\n\n---\n\n## Feature Tour\n\n### Dashboard \u0026 Project Management\n\nCard-based project kanban with real-time status tracking, priority pinning, quick-preview carousel, and archive management with asset reuse.\n\n![Dashboard](https://raw.githubusercontent.com/466852675/YH-AI-PPT/assets/image/02-%E6%95%8F%E6%8D%B7%E5%8D%8F%E4%BD%9C%E7%9F%A9%E9%98%B5/01-%E7%B3%BB%E7%BB%9F%E6%A6%82%E8%A7%88-%E9%A1%B9%E7%9B%AE%E5%8D%A1%E7%89%87%E5%BC%8F%E7%9C%8B%E6%9D%BF+%E5%A4%9A%E4%BB%BB%E5%8A%A1%E5%B9%B6%E8%A1%8C%E7%AE%A1%E7%90%86+%E4%B8%BA%E6%82%A8%E5%91%88%E7%8E%B0%E5%B7%A5%E4%B8%9A%E7%BA%A7%E7%9A%84%E7%94%9F%E4%BA%A7%E6%95%88%E7%8E%87.gif)\n\n| |\n|:---:|\n| ![Archive](https://raw.githubusercontent.com/466852675/YH-AI-PPT/assets/image/01-%E6%99%BA%E8%83%BD%E7%94%9F%E4%BA%A7%E5%8A%9B%E9%93%BE%E8%B7%AF/07-%E8%87%AA%E5%8A%A8%E5%BD%92%E6%A1%A3-%E9%A1%B9%E7%9B%AE%E8%87%AA%E5%8A%A8%E5%BD%92%E6%A1%A3%E5%85%A5%E5%BA%93+%E4%BA%91%E7%AB%AF%E5%90%8C%E6%AD%A5%E7%AE%A1%E7%90%86+%E8%AE%A9%E6%82%A8%E7%9A%84%E6%AF%8F%E4%B8%80%E4%BB%BD%E5%8A%AA%E5%8A%9B%E9%83%BD%E6%9C%89%E8%BF%B9%E5%8F%AF%E5%BE%AA.gif) |\n\n### AI Productivity Pipeline\n\nEnd-to-end automation: topic → outline → content → images → export (PDF / image pack / PPTX). Supports version rollback and asset reuse.\n\n![Topic](https://raw.githubusercontent.com/466852675/YH-AI-PPT/assets/image/01-%E6%99%BA%E8%83%BD%E7%94%9F%E4%BA%A7%E5%8A%9B%E9%93%BE%E8%B7%AF/00-%E5%BC%80%E5%90%AF%E5%A4%A7%E7%BA%B2-%E8%BE%93%E5%85%A5%E4%B8%80%E5%8F%A5%E8%AF%9D%E6%8F%8F%E8%BF%B0+AI%E4%BF%AE%E9%A5%B0%E7%94%9F%E6%88%90%E4%B8%BB%E9%A2%98+%E8%AE%A9%E6%82%A8%E7%9A%84PPT%E6%A0%87%E9%A2%98%E6%9B%B4%E6%9C%89%E4%B8%93%E4%B8%9A%E6%B7%B1%E5%BA%A6.gif)\n\n| | |\n|:---:|:---:|\n| ![Outline](https://raw.githubusercontent.com/466852675/YH-AI-PPT/assets/image/01-%E6%99%BA%E8%83%BD%E7%94%9F%E4%BA%A7%E5%8A%9B%E9%93%BE%E8%B7%AF/01-%E5%BC%80%E5%90%AF%E5%A4%A7%E7%BA%B2-%E7%BB%93%E6%9E%84%E5%8C%96%E5%A4%A7%E7%BA%B2%E9%A2%84%E8%A7%88+%E8%8A%82%E7%82%B9%E6%B8%85%E6%99%B0%E5%8F%AF%E8%A7%81+%E7%A1%AE%E4%BF%9D%E6%BC%94%E7%A4%BA%E9%80%BB%E8%BE%91%E4%B8%A5%E4%B8%9D%E5%90%88%E7%BC%9D.png) | ![Content](https://raw.githubusercontent.com/466852675/YH-AI-PPT/assets/image/01-%E6%99%BA%E8%83%BD%E7%94%9F%E4%BA%A7%E5%8A%9B%E9%93%BE%E8%B7%AF/02-%E7%94%9F%E6%88%90%E6%8F%8F%E8%BF%B0-AI%E5%86%85%E5%AE%B9%E6%89%B9%E9%87%8F%E6%89%A9%E5%86%99+%E6%B7%B1%E5%BA%A6%E8%AF%AD%E5%A2%83%E6%B6%A6%E8%89%B2+%E5%8A%A9%E6%82%A8%E6%89%93%E9%80%A0%E4%B8%93%E4%B8%9A%E7%BA%A7%E6%BC%94%E8%AE%B2%E6%96%87%E7%A8%BF.gif) |\n\n| | | |\n|:---:|:---:|:---:|\n| ![Import](https://raw.githubusercontent.com/466852675/YH-AI-PPT/assets/image/01-%E6%99%BA%E8%83%BD%E7%94%9F%E4%BA%A7%E5%8A%9B%E9%93%BE%E8%B7%AF/03-%E5%AF%BC%E5%85%A5%E4%BB%BB%E5%8A%A1-%E4%BB%BB%E5%8A%A1%E4%B8%80%E9%94%AE%E6%89%B9%E9%87%8F%E5%AF%BC%E5%85%A5+%E6%9E%81%E7%AE%80%E5%90%AF%E5%8A%A8%E6%B5%81%E7%A8%8B+%E8%AE%A9%E6%82%A8%E7%9A%84%E6%83%B3%E6%B3%95%E7%9E%AC%E9%97%B4%E8%BD%AC%E5%8C%96%E4%B8%BA%E7%94%9F%E4%BA%A7%E5%8A%9B.gif) | ![Batch](https://raw.githubusercontent.com/466852675/YH-AI-PPT/assets/image/01-%E6%99%BA%E8%83%BD%E7%94%9F%E4%BA%A7%E5%8A%9B%E9%93%BE%E8%B7%AF/05-%E6%89%B9%E9%87%8F%E7%94%9F%E6%88%90-%E5%8D%95%E9%A1%B5%E6%89%B9%E9%87%8F%E7%94%9F%E6%88%90%E5%88%87%E6%8D%A2+%E6%8C%89%E9%9C%80%E5%AE%9A%E5%88%B6%E7%94%9F%E4%BA%A7+%E4%B8%BA%E6%82%A8%E8%8A%82%E7%9C%81%E6%AF%8F%E4%B8%80%E7%A7%92%E5%88%9B%E4%BD%9C%E6%97%B6%E9%97%B4.gif) | ![History](https://raw.githubusercontent.com/466852675/YH-AI-PPT/assets/image/01-%E6%99%BA%E8%83%BD%E7%94%9F%E4%BA%A7%E5%8A%9B%E9%93%BE%E8%B7%AF/06-%E5%8E%86%E5%8F%B2%E5%9B%9E%E6%BB%9A-%E7%89%88%E6%9C%AC%E6%97%B6%E5%85%89%E5%9B%9E%E6%BA%AF+%E8%87%AA%E7%94%B1%E6%92%A4%E9%94%80%E4%B8%8E%E6%81%A2%E5%A4%8D+%E7%BB%99%E6%82%A8%E7%9A%84%E5%88%9B%E4%BD%9C%E4%B9%B0%E4%B8%80%E4%BB%BD%E5%90%8E%E6%82%94%E8%8D%AF.gif) |\n\n| | |\n|:---:|:---:|\n| ![Images](https://raw.githubusercontent.com/466852675/YH-AI-PPT/assets/image/01-%E6%99%BA%E8%83%BD%E7%94%9F%E4%BA%A7%E5%8A%9B%E9%93%BE%E8%B7%AF/11-%E5%9B%BE%E7%89%87%E5%8C%85%E5%AF%BC%E5%87%BA-%E8%B6%85%E9%AB%98%E6%B8%85%E5%9B%BE%E7%89%87%E5%8C%85%E5%AF%BC%E5%87%BA+%E5%BF%AB%E9%80%9F%E5%88%86%E4%BA%AB%E4%B8%8E%E5%88%86%E5%8F%91+%E9%80%82%E9%85%8D%E4%BB%BB%E4%BD%95%E7%A4%BE%E4%BA%A4%E5%AA%92%E4%BD%93%E7%BB%88%E7%AB%AF.gif) | ![PPTX](https://raw.githubusercontent.com/466852675/YH-AI-PPT/assets/image/01-%E6%99%BA%E8%83%BD%E7%94%9F%E4%BA%A7%E5%8A%9B%E9%93%BE%E8%B7%AF/13-PPT%E5%AF%BC%E5%87%BA-PowerPoint%E5%8E%9F%E7%94%9F%E5%AF%BC%E5%87%BA%E4%BD%93%E9%AA%8C+%E6%94%AF%E6%8C%81%E4%BA%8C%E6%AC%A1%E7%BC%96%E8%BE%91+%E7%A1%AE%E4%BF%9D%E6%BC%94%E7%A4%BA%E4%B8%87%E6%97%A0%E4%B8%80%E5%A4%B1.gif) |\n\n### Design Asset Library\n\nTemplate gallery, AI-powered visual style extraction, rule injection, and personal style vault.\n\n![Templates](https://raw.githubusercontent.com/466852675/YH-AI-PPT/assets/image/03-%E8%AE%BE%E8%AE%A1%E8%B5%84%E4%BA%A7%E6%99%BA%E5%BA%93/01-%E7%81%B5%E6%84%9F%E9%80%89%E6%8B%A9-%E7%B2%BE%E5%93%81%E6%A8%A1%E7%89%88%E5%B9%BF%E5%9C%BA+%E5%A4%9A%E9%A3%8E%E6%A0%BC%E4%B8%80%E9%94%AE%E5%BC%95%E7%94%A8+%E4%B8%BA%E6%82%A8%E6%8F%90%E4%BE%9B%E5%8F%96%E4%B9%8B%E4%B8%8D%E5%B0%BD%E7%9A%84%E8%AE%BE%E8%AE%A1%E7%81%B5%E6%84%9F.png)\n\n| | |\n|:---:|:---:|\n| ![Style](https://raw.githubusercontent.com/466852675/YH-AI-PPT/assets/image/03-%E8%AE%BE%E8%AE%A1%E8%B5%84%E4%BA%A7%E6%99%BA%E5%BA%93/02-%E8%A7%84%E8%8C%83%E7%94%9F%E6%88%90-%E8%AE%BE%E8%AE%A1%E6%96%B9%E6%A1%88AI%E7%A7%92%E7%BA%A7%E4%BA%A7%E5%87%BA+%E5%85%A8%E5%A5%97%E8%A7%86%E8%A7%89%E5%AE%9A%E4%B9%89+%E5%B0%8F%E7%99%BD%E4%B9%9F%E8%83%BD%E6%8B%A5%E6%9C%89%E4%B8%93%E4%B8%9A%E7%BA%A7%E8%AE%BE%E8%AE%A1%E6%B0%B4%E5%87%86.gif) | ![Rules](https://raw.githubusercontent.com/466852675/YH-AI-PPT/assets/image/03-%E8%AE%BE%E8%AE%A1%E8%B5%84%E4%BA%A7%E6%99%BA%E5%BA%93/04-%E8%A7%84%E5%88%99%E6%B3%A8%E5%85%A5-%E6%A0%B7%E5%BC%8F%E8%A7%84%E5%88%99%E4%B8%80%E9%94%AE%E6%B3%A8%E5%85%A5+%E8%A7%86%E8%A7%89%E8%A7%84%E8%8C%83%E5%90%8C%E4%BC%A0+%E7%A1%AE%E4%BF%9D%E5%A4%9A%E9%A1%B9%E7%9B%AE%E9%97%B4%E5%93%81%E8%B4%A8%E7%9A%84%E4%B8%80%E8%87%B4%E6%80%A7.gif) |\n\n### AI Model Router\n\nConfigure and hot-swap between 7+ AI providers. Auto-route by task type.\n\n![Router](https://raw.githubusercontent.com/466852675/YH-AI-PPT/assets/image/04-%E6%99%BA%E7%AE%97%E7%AE%A1%E7%90%86%E5%BA%95%E5%BA%A7/01-%E5%BC%95%E6%93%8E%E9%85%8D%E7%BD%AE-%E5%85%A8%E5%8D%8F%E8%AE%AEAI%E6%A8%A1%E5%9E%8B%E9%85%8D%E7%BD%AE+%E6%A8%A1%E5%9E%8B%E8%87%AA%E7%94%B1%E8%87%AA%E7%94%B1%E5%88%87%E6%8D%A2+%E5%8A%A9%E6%82%A8%E6%95%B4%E5%90%88%E5%85%A8%E7%90%83%E6%9C%80%E9%A1%B6%E5%B0%96%E6%99%BA%E5%8A%9B%E8%B5%84%E6%BA%90.gif)\n\n### Admin Panel\n\nBusiness dashboard, order management, RBAC permissions, credits, AI engine config, and system settings.\n\n![Console](https://raw.githubusercontent.com/466852675/YH-AI-PPT/assets/image/05-%E7%B3%BB%E7%BB%9F%E7%AE%A1%E7%90%86%E5%90%8E%E5%8F%B0/01-%E6%8E%A7%E5%88%B6%E5%8F%B0.png)\n\n| | |\n|:---:|:---:|\n| ![Orders](https://raw.githubusercontent.com/466852675/YH-AI-PPT/assets/image/05-%E7%B3%BB%E7%BB%9F%E7%AE%A1%E7%90%86%E5%90%8E%E5%8F%B0/03-%E8%AE%A2%E5%8D%95%E7%AE%A1%E7%90%86.png) | ![Roles](https://raw.githubusercontent.com/466852675/YH-AI-PPT/assets/image/05-%E7%B3%BB%E7%BB%9F%E7%AE%A1%E7%90%86%E5%90%8E%E5%8F%B0/05-%E8%A7%92%E8%89%B2%E6%9D%83%E9%99%90.png) |\n\n### Agent Mode\n\nConversational AI drives the entire PPT creation workflow. Say it, and it's done.\n\n![Welcome](https://raw.githubusercontent.com/466852675/YH-AI-PPT/assets/image/06-Agent%E6%A8%A1%E5%BC%8F/%E6%96%B0%E5%BB%BA%E5%AF%B9%E8%AF%9D%E5%BC%95%E5%AF%BC%E7%A4%BA%E4%BE%8B.png)\n\n| | |\n|:---:|:---:|\n| ![Result](https://raw.githubusercontent.com/466852675/YH-AI-PPT/assets/image/06-Agent%E6%A8%A1%E5%BC%8F/%E7%94%9F%E6%88%90%E7%BB%93%E6%9E%9C%E9%A2%84%E8%A7%88.png) | ![Revise](https://raw.githubusercontent.com/466852675/YH-AI-PPT/assets/image/06-Agent%E6%A8%A1%E5%BC%8F/%E7%94%9F%E6%88%90%E7%BB%93%E6%9E%9C%E4%BA%8C%E6%AC%A1%E4%BF%AE%E8%AE%A2%E5%92%8C%E9%87%8D%E6%96%B0%E7%94%9F%E6%88%90.png) |\n\n---\n\n## Dual Mode\n\n| | Personal | Enterprise |\n|---|---|---|\n| **Goal** | Create AI-powered presentations for personal use | Run a commercial SaaS platform |\n| **Required config** | 5 items (AI Key + JWT + DB) | Full config + merchant keys + SSL |\n| **Features** | Outline → content → images → export | All features + admin panel + payment + VIP |\n| **Can skip** | Admin panel, payment, VIP, credits | Nothing |\n\n### Minimal Setup (Personal, 5 items)\n\n```env\nPORT=1111\nDATABASE_URL=\"file:./dev.db\"\nJWT_SECRET=\"your-secret-key-at-least-32-characters\"\nAI_PROVIDER=\"Gemini\"                                      # or OpenAI, Volcengine, Zhipu, etc.\nGEMINI_API_KEY=\"your-api-key\"\n```\n\n---\n\n## Quick Start\n\n### Prerequisites\n\n- **Node.js** v18+ (v22+ recommended)\n- An AI provider API key (e.g. [Gemini](https://aistudio.google.com/))\n\n\u003cdetails\u003e\n\u003csummary\u003e\u003cstrong\u003eEnterprise Database (optional)\u003c/strong\u003e\u003c/summary\u003e\n\nSQLite is used by default and requires no setup. For production / multi-user deployments, switch to:\n\n| Database | Recommended For | DATABASE_URL Example |\n|---|---|---|\n| **PostgreSQL** | Production, high concurrency | `postgresql://user:pass@localhost:5432/yhai_ppt` |\n| **MySQL** | Existing infrastructure | `mysql://user:pass@localhost:3306/yhai_ppt` |\n| **SQLite** (default) | Personal / development | `file:./dev.db` |\n\nTo switch: change `provider` in `server/prisma/schema.prisma` from `\"sqlite\"` to `\"postgresql\"` or `\"mysql\"`, update `DATABASE_URL`, then run `npx prisma db push`.\n\n\u003c/details\u003e\n\n### Install \u0026 Run\n\n```bash\n# 1. Install dependencies\nnpm install \u0026\u0026 cd server \u0026\u0026 npm install\n\n# 2. Configure environment\ncp server/.env.example server/.env\n# Edit server/.env — fill in AI_PROVIDER and your API key\n\n# 3. Initialize database\ncd server \u0026\u0026 npx prisma db push\n\n# 4. Start development servers\n# Option A: Windows one-click\n一键启动.bat\n# Option B: Separate terminals\nnpm run dev              # Frontend → localhost:1000\ncd server \u0026\u0026 npm run dev # Backend  → localhost:1111\n```\n\nDefault admin account: `admin@local` / `admin12345678` (change in production).\n\n---\n\n## Tech Stack\n\n| Layer | Technologies |\n|---|---|\n| **Frontend** | React 19.2 · Vite 6.2 · Tailwind CSS 4.1 · TanStack Query 5.9 · Framer Motion 12 · WebSocket |\n| **Backend** | Express 5.2 · Prisma 6.19 · SQLite / PostgreSQL / MySQL · Winston · Zod 4.3 |\n| **AI** | Google GenAI SDK · MinerU · OpenAI Function Calling · SSE streaming |\n| **Commerce** | Alipay SDK · WeChat Pay v3 · Nodemailer · express-rate-limit · JWT |\n| **Testing** | Vitest · Playwright · Bun Test |\n\n---\n\n## Architecture\n\n```mermaid\ngraph TD\n    UI[React Frontend] --\u003e API[Express API Server]\n    API --\u003e Router{Multi-Model Router}\n    Router -- text/logic --\u003e Text[Text Models]\n    Router -- image gen --\u003e Image[Image Models]\n    Router -- vision --\u003e Vision[Vision Models]\n    API --\u003e Agent[Agent Service]\n    Agent --\u003e|Function Calling| Tools[9 AI Tools]\n    UI \u003c--\u003e|SSE + WebSocket| Agent\n```\n\n---\n\n## Roadmap\n\n- [ ] Native editable PPTX export (preserving text layers and vector graphics)\n- [ ] Smart layout engine with automatic text-image alignment\n- [ ] PowerPoint animation export\n- [ ] Real-time multi-user collaboration\n- [x] Agent conversational generation mode\n- [x] Commercial SaaS infrastructure (payment, credits, VIP, refund)\n- [x] Enterprise RBAC permissions and audit logging\n- [x] Growth tools (invite rewards, check-in, CRM)\n\n---\n\n## Star History\n\n[![Star History Chart](https://api.star-history.com/svg?repos=466852675/YH-AI-PPT\u0026type=Date)](https://star-history.com/#466852675/YH-AI-PPT\u0026Date)\n\n## Contributors\n\n[![Contributors](https://contrib.rocks/image?repo=466852675/YH-AI-PPT)](https://github.com/466852675/YH-AI-PPT/graphs/contributors)\n\n---\n\n## License\n\n[GNU AGPL-3.0-or-later](./LICENSE)\n\nIf you use this project in a public SaaS product, please attribute **\"Based on YH-AI PPT\"** with a link to the original repository.\n\n---\n\n*YH-AI PPT: Let every presentation resonate.*\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F466852675%2Fyh-ai-ppt","html_url":"https://awesome.ecosyste.ms/projects/github.com%2F466852675%2Fyh-ai-ppt","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F466852675%2Fyh-ai-ppt/lists"}