Turn your git history into a presentation instantly.
CommitToSlides is an AI-powered tool that analyzes your GitHub repository's commit history and generates a professional, visual presentation using Google Gemini 3. It highlights your development journey, key features, and code refactors in a stunning Material Design 3 interface, ready for export to PowerPoint (.pptx).
- AI-Driven Analysis: Uses Google Gemini 3 Flash to analyze commit messages and diffs, understanding not just what changed, but why.
- Instant Visualization: Generates HTML/Tailwind CSS slides on the fly. No rigid templates; the AI designs the layout based on the content.
- Deep Context: Fetches up to 3000 characters of diff context per file to generate accurate code blocks and technical summaries.
- Interactive Editor:
- Speaker Notes: Edit the AI-generated script for your presentation.
- Visual Editor: Tweak the raw HTML/Tailwind classes of any slide directly in the app.
- High-Fidelity Export: Exports slides to
.pptxby taking high-resolution snapshots of the DOM, preserving all fonts, gradients, and layouts exactly as seen on screen. - Material Design 3: Built with a beautiful, modern, and accessible UI using Tailwind CSS and M3 design tokens.
- Frontend: React 19, TypeScript
- Styling: Tailwind CSS
- AI: Google GenAI SDK (
@google/genai) - Icons: Lucide React
- Export:
pptxgenjs&html-to-image
- Node.js (v18 or later recommended)
- Google Gemini API Key: Get one at aistudio.google.com.
- GitHub Token (Optional): Required only for private repositories or to avoid low rate limits on public repos.
-
Clone the repository
git clone https://github.com/yourusername/commit-to-slides.git cd commit-to-slides -
Install dependencies (Note: This project currently uses ES Modules via CDN in
index.htmlfor a lightweight setup, but if you are migrating to a local bundler like Vite, install standard packages)npm install
-
Configure API Key Create a
.envfile in the root directory:API_KEY=your_google_gemini_api_key_here
-
Run the application
npm run dev
- Enter the GitHub Repository URL (e.g.,
https://github.com/facebook/react). - (Optional) Enter a Personal Access Token if the repo is private.
- Select a Date Range (Start and End date) to analyze.
- Click Generate Slides.
- Review the slides, edit speaker notes, or tweak the design using the Edit mode.
- Click Download to get your
.pptxfile.
Contributions are welcome! Please read docs/ARCHITECTURE.md to understand the core logic before making changes.
This project is licensed under the MIT License - see the LICENSE file for details.

