Git Product home page Git Product logo

chat-gpt-ppt's Introduction

chat-gpt-ppt

use ChatGPT to generate PPT automatically

[2023-01-13] williamfzc#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.

Show case

Some topics for presentation named topics.txt:

what's OpenAI?
how OpenAI works?
what is the future of OpenAI?

Easily generate a simple ppt in seconds:

cgp token.txt topics.txt

And you get a slice:

[  INFO ] Converting 1 markdown...
[  INFO ] C:\Users\ADMINI~1\AppData\Local\Temp\tmpt202812s => output.html
2022-12-05 16:08:24.154 | INFO     | cgp:main:82 - result saved to output.html

And multi languages:

Usage

Install lib

pip3 install chat_gpt_ppt

Get your session token

https://github.com/acheong08/ChatGPT#get-your-session-token

Install marp

Currently we use marp as our ppt renderer. You can easily download it via the link above.

Run

cgp token.txt data.txt --marp_exe /your/marp/exe/path

Contribution

This is a toy project. Feel free to hack. Only < 100 lines python code.

License

MIT

chat-gpt-ppt's People

Contributors

williamfzc avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.