{"id":13423981,"url":"https://github.com/williamfzc/chat-gpt-ppt","last_synced_at":"2025-05-16T11:02:32.059Z","repository":{"id":65379030,"uuid":"574347022","full_name":"williamfzc/chat-gpt-ppt","owner":"williamfzc","description":"Use ChatGPT (or other backends) to generate PPT automatically, all in one single file.","archived":false,"fork":false,"pushed_at":"2023-03-27T15:07:57.000Z","size":292,"stargazers_count":919,"open_issues_count":8,"forks_count":88,"subscribers_count":13,"default_branch":"main","last_synced_at":"2025-05-09T15:53:06.348Z","etag":null,"topics":["chatgpt","gpt","openai","ppt","slide"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/williamfzc.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"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}},"created_at":"2022-12-05T05:18:11.000Z","updated_at":"2025-04-27T12:48:35.000Z","dependencies_parsed_at":"2024-01-07T06:50:03.218Z","dependency_job_id":null,"html_url":"https://github.com/williamfzc/chat-gpt-ppt","commit_stats":null,"previous_names":[],"tags_count":12,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/williamfzc%2Fchat-gpt-ppt","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/williamfzc%2Fchat-gpt-ppt/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/williamfzc%2Fchat-gpt-ppt/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/williamfzc%2Fchat-gpt-ppt/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/williamfzc","download_url":"https://codeload.github.com/williamfzc/chat-gpt-ppt/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254518383,"owners_count":22084374,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["chatgpt","gpt","openai","ppt","slide"],"created_at":"2024-07-31T00:00:46.123Z","updated_at":"2025-05-16T11:02:32.009Z","avatar_url":"https://github.com/williamfzc.png","language":"Go","funding_links":[],"categories":["Languages","Uncategorized","CLI tools","Openai","Go","ChatGPT-based applications","精选开源项目合集","Thanks to all the contributors!"],"sub_categories":["Tooling","Uncategorized","Examples","Other sdk/libraries","GPT工具","CLI tools"],"readme":"# chat-gpt-ppt\n\nUse ChatGPT to generate PPT automatically, all in one single file.\n\n## Showcase\n\n1. Some topics for presentation named `topic.txt`:\n\n```\nwhat's OpenAI?\nhow OpenAI works?\nwhat is the future of OpenAI?\n```\n\n2. Save your openai token to `token.txt`.\n3. Generate a ppt in seconds:\n\n```\n./cgp\n```\n\nAnd you get one:\n\n![](./doc/sample.png)\n\nWith multi languages support:\n\n![](./doc/sample-chi.png)\n\nOr different render engine:\n\n![](./doc/sample-remark.png)\n\n## Usage\n\nYou can download prebuild binaries from [release page](https://github.com/williamfzc/chat-gpt-ppt/releases).\n\n1. Download a executable binary\n2. Add your topics to `topic.txt`\n3. Add your token (official openai api key, with no extra white space, no empty line) to `token.txt`\n4. run `./cgp`\n\nEverything done. You can get some help about command line arguments with `cgp --help`. \n\n```bash\n$ ./cgp_macos --help\nUsage of ./cgp_macos:\n  -client string\n        gpt client type (default \"GPT35\")\n  -output string\n        out path (default \"./output.html\")\n  -renderer string\n        renderer type (default \"REMARK\")\n  -rendererBin string\n        binary file for renderer\n  -token string\n        token file path (default \"./token.txt\")\n  -topic string\n        topic file path (default \"./topic.txt\")\n```\n\n## Interactive mode\n\n`-i` flag allows you checking and correcting generated contents one by one.\n\n```bash\n@williamfzc ➜ /workspaces/chat-gpt-ppt (main) $ ./cgp -i\nstart preparing ...\nstart generating ...\n2023/03/18 08:17:23 topic what's OpenAI? done \nHere is your response, type any key to continue, type 'n' to edit \n# what's OpenAI?\n\n\n\n- OpenAI is an artificial intelligence research lab.\n- It was founded by a group of well-known tech industry figures in 2015 as a non-profit organization.\n- OpenAI's mission is to ensure that AGI (Artificial General Intelligence) benefits all of humanity.\n- Their research covers many areas of AI, such as reinforcement learning, natural language processing, computer vision, and robotics.\n- OpenAI also develops and releases several powerful AI-based tools, including GPT-3, which has revolutionized natural language processing.\n\n\u003e\u003e\u003e  \n```\n\n## Contribution\n\nThanks for your interest. This project is really simple to hack.\n\nThis project consists of two pluggable parts:\n\n- Client: Send topics to GPT and get their responses\n- Renderer: Build slides from these pairs\n\nIf you want to make some changes:\n\n- git clone\n- change code\n- run `make` to build a binary file (Go installation required)\n- check\n- push to repo and send a PR\n\nFeel free to send us PR/issues.\n\n## Changelog\n\n\u003e [2023-03-02] Rewrite with golang. All in one file.\n\u003e\n\u003e [2023-01-13] https://github.com/williamfzc/chat-gpt-ppt/issues/2 OpenAI's services are not available in my country.\n\u003e\n\u003e [2022-12-06] Currently, ChatGPT has no official API. I am waiting for it to make this repo a real production.\n\n## License\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwilliamfzc%2Fchat-gpt-ppt","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwilliamfzc%2Fchat-gpt-ppt","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwilliamfzc%2Fchat-gpt-ppt/lists"}