CyberTimon/Powerpointer-For-Local-LLMs
关于
Local Powerpointer - A beautiful powerpoint generator which uses the power of local running large language models to generate the powerpoint slides.
人工智能与机器学习可以做什么
- Powerpointer doesn't use MARP. It directly creates the powerpoints so you can easily make changes to them or finish it within PowerPoint
- It also makes placeholders for images
- You can select between 7 designs to make the PowerPoints more beautiful
- Runs locally on your computer so there are no privacy concerns
实测星标增长
- 24小时
- 0
- 7天
- +1
- 15天
- +4
- 1个月
- 正在收集历史
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
README.md
原文PowerPointer For Local LLMs
Here is a PowerPoint generator that uses python-pptx and local LLMs via OpenAI-compatible API endpoints (such as llama.cpp server or other compatible servers) to generate beautiful and informative presentations.
PowerPointer "For Local LLMs" is a port from my main PowerPointer which uses the GPT 3.5 Turbo OpenAI API: Powerpointer
The goal was to have this running completely local with no costs using for example a LLaMA based model.
You can support this by giving this repo a star!
Updates
14.05.2025: Add support for the OpenAI chat completions API format (as this is widely used)
Features
- Powerpointer doesn't use MARP. It directly creates the powerpoints so you can easily make changes to them or finish it within PowerPoint
- It also makes placeholders for images
- You can select between 7 designs to make the PowerPoints more beautiful
- Runs locally on your computer so there are no privacy concerns
- Configurable API endpoint to work with any OpenAI-compatible API server
How it works:
- It asks the user about the information for the PowerPoint
- Then it generates the text for the PowerPoint using optimized prompts and an OpenAI-compatible API endpoint
- The python-pptx library converts the generated text using my PowerPoint format into a PowerPoint presentation
How to use this:
To make this work, clone the repository and install the following packages:
pip install python-pptx regex collection requests
After this, start your local LLM server with an OpenAI-compatible API endpoint (such as llama.cpp server, ollama, or any other server that supports the OpenAI chat completions API format).
The API URL and port can be configured in the powerpointer.py file at the top:
# Configuration
API_HOST = "127.0.0.1"
API_PORT = 5005
API_URL = f"http://{API_HOST}:{API_PORT}/v1/chat/completions"
Finally start the powerpoint generator by running:
python3 powerpointer.py
Compatible Local LLM Servers
You can use any local LLM server that supports the OpenAI chat completions API format, such as:
- llama.cpp server
- ollama
- text-generation-webui with OpenAI-compatible API extensions
- vllm
- LM Studio
Load the model you like. Larger models are less likely to hallucinate (false information).
Known issues:
Because of the limitation of "small and sometimes dumb" local models:
- the generator easily hallucinates things
- the generator sometimes ignores the selected slide count
- the generator sometimes forgets to include the additional info
Because of my "pro" code:
- it's complicated to add new templates. I'm searching for an easier way
Please report any issues and feel free to make a pull request to fix my code I wrote at night.
Made by CyberTimon ([email protected])
Demo screenshots:
Here are some screenshots from the local generated powerpoints:

探索相关项目
加载中…