Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/williamfzc/chat-gpt-ppt
Use ChatGPT (or other backends) to generate PPT automatically, all in one single file.
https://github.com/williamfzc/chat-gpt-ppt
chatgpt gpt openai ppt slide
Last synced: 6 days ago
JSON representation
Use ChatGPT (or other backends) to generate PPT automatically, all in one single file.
- Host: GitHub
- URL: https://github.com/williamfzc/chat-gpt-ppt
- Owner: williamfzc
- License: mit
- Created: 2022-12-05T05:18:11.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2023-03-27T15:07:57.000Z (almost 2 years ago)
- Last Synced: 2024-10-12T04:47:14.585Z (3 months ago)
- Topics: chatgpt, gpt, openai, ppt, slide
- Language: Go
- Homepage:
- Size: 285 KB
- Stars: 898
- Watchers: 14
- Forks: 89
- Open Issues: 7
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-open-gpt - chat-gpt-ppt
- awesome-chatgpt - chat-gpt-ppt - Automatically generate PowerPoint presentations. (CLI tools / Examples)
- fucking-awesome-chatgpt - Use ChatGPT to generate PPT automatically, all in one single file
- awesome-chatgpt - Use ChatGPT to generate PPT automatically, all in one single file
- awesome-ChatGPT-repositories - chat-gpt-ppt - Use ChatGPT (or other backends) to generate PPT automatically, all in one single file. (Openai)
- awesome-chatgpt - PPT
- awesome-chatgpt-zh - 使用ChatGPT自动生成PPT,全部在一个文件中
- awesome-chatgpt - chat-gpt-ppt - Automatically generate PowerPoint presentations. (CLI tools / Examples)
- awesome-chatgpt - williamfzc/chat-gpt-ppt - Use ChatGPT to generate PPT automatically, all in one single file. (ChatGPT-based applications / Other sdk/libraries)
- Awesome-ChatGPT - Use ChatGPT to generate PPT automatically, all in one single file
README
# chat-gpt-ppt
Use ChatGPT to generate PPT automatically, all in one single file.
## Showcase
1. Some topics for presentation named `topic.txt`:
```
what's OpenAI?
how OpenAI works?
what is the future of OpenAI?
```2. Save your openai token to `token.txt`.
3. Generate a ppt in seconds:```
./cgp
```And you get one:
![](./doc/sample.png)
With multi languages support:
![](./doc/sample-chi.png)
Or different render engine:
![](./doc/sample-remark.png)
## Usage
You can download prebuild binaries from [release page](https://github.com/williamfzc/chat-gpt-ppt/releases).
1. Download a executable binary
2. Add your topics to `topic.txt`
3. Add your token (official openai api key, with no extra white space, no empty line) to `token.txt`
4. run `./cgp`Everything done. You can get some help about command line arguments with `cgp --help`.
```bash
$ ./cgp_macos --help
Usage of ./cgp_macos:
-client string
gpt client type (default "GPT35")
-output string
out path (default "./output.html")
-renderer string
renderer type (default "REMARK")
-rendererBin string
binary file for renderer
-token string
token file path (default "./token.txt")
-topic string
topic file path (default "./topic.txt")
```## Interactive mode
`-i` flag allows you checking and correcting generated contents one by one.
```bash
@williamfzc ➜ /workspaces/chat-gpt-ppt (main) $ ./cgp -i
start preparing ...
start generating ...
2023/03/18 08:17:23 topic what's OpenAI? done
Here is your response, type any key to continue, type 'n' to edit
# what's OpenAI?- OpenAI is an artificial intelligence research lab.
- It was founded by a group of well-known tech industry figures in 2015 as a non-profit organization.
- OpenAI's mission is to ensure that AGI (Artificial General Intelligence) benefits all of humanity.
- Their research covers many areas of AI, such as reinforcement learning, natural language processing, computer vision, and robotics.
- OpenAI also develops and releases several powerful AI-based tools, including GPT-3, which has revolutionized natural language processing.>>>
```## Contribution
Thanks for your interest. This project is really simple to hack.
This project consists of two pluggable parts:
- Client: Send topics to GPT and get their responses
- Renderer: Build slides from these pairsIf you want to make some changes:
- git clone
- change code
- run `make` to build a binary file (Go installation required)
- check
- push to repo and send a PRFeel free to send us PR/issues.
## Changelog
> [2023-03-02] Rewrite with golang. All in one file.
>
> [2023-01-13] https://github.com/williamfzc/chat-gpt-ppt/issues/2 OpenAI's services are not available in my country.
>
> [2022-12-06] Currently, ChatGPT has no official API. I am waiting for it to make this repo a real production.## License
MIT