{"id":13753974,"url":"https://github.com/HuiMi24/chatppt","last_synced_at":"2025-05-09T21:36:19.067Z","repository":{"id":202560367,"uuid":"621800428","full_name":"HuiMi24/chatppt","owner":"HuiMi24","description":"ChatPPT is powered by chatgpt/ollama, it could help you to generate PPT/slide. It supports output in English and Chinese","archived":false,"fork":false,"pushed_at":"2024-04-21T10:04:13.000Z","size":305,"stargazers_count":228,"open_issues_count":3,"forks_count":44,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-11-16T06:31:18.562Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/HuiMi24.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-03-31T12:15:44.000Z","updated_at":"2024-11-15T00:44:42.000Z","dependencies_parsed_at":null,"dependency_job_id":"fb610bd9-d142-4728-8162-86682490ba59","html_url":"https://github.com/HuiMi24/chatppt","commit_stats":null,"previous_names":["huimi24/chatppt"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HuiMi24%2Fchatppt","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HuiMi24%2Fchatppt/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HuiMi24%2Fchatppt/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HuiMi24%2Fchatppt/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/HuiMi24","download_url":"https://codeload.github.com/HuiMi24/chatppt/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253329069,"owners_count":21891572,"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":[],"created_at":"2024-08-03T09:01:36.171Z","updated_at":"2025-05-09T21:36:18.662Z","avatar_url":"https://github.com/HuiMi24.png","language":"Python","funding_links":[],"categories":["A01_文本生成_文本对话"],"sub_categories":["大语言对话模型及数据"],"readme":"# ChatPPT\n\nChatPPT is a tool powered by chatgpt/ollama that helps you generate PPT/slide. It supports output in English and Chinese.\n\n## Table of Contents\n\n- [What's New](#whats-new)\n- [What is ChatPPT](#what-is-chatppt)\n- [Requirements](#requirements)\n- [Installation](#installation)\n- [Usage](#usage)\n- [Contributing](#contributing)\n- [License](#license)\n\n## What's New\n\nChatPPT now supports Ollama and includes a sample UI.\n\n![UI demo 1](ui_demo_1.png)\n![UI demo 2](ui_demo_2.png)\n\n## What is ChatPPT\n\nChatPPT is powered by chatgpt/ollama. It can help you generate PPT/slide in English and Chinese.\n\n![What is GPT | 600](demo1.png)\n![什么是AWS | 400](demo2.png)\n\n## Requirements\n\nPython 3.8.10 or higher\n\n## Installation\n\n### Ollama\n\nFollow the [guide](https://ollama.com/) to install ollama\n\n### OpenAI\n\nGenerate your OpenAI API key at \u003chttps://platform.openai.com/account/api-keys\u003e\n\n## Usage\n\n1. Install requirements\n\n    ```\n    pip install -r requirements.txt\n    ```\n\n2. Start Streamlit\n\n    ```\n    streamlit run chatppt_ui.py\n    ```\n\n3. Open the Streamlit URL in your browser (\u003chttp://localhost:8501\u003e)\n\n![UI](ui.png)\n\n\u003e You can also use ChatPPT in the command line:\n\n```bash\n\u003e python chatppt.py -h\nusage: chatppt.py [-h] [-m {openai,ollama}] -t TOPIC [-k API_KEY] [-u OLLAMA_URL] [-o OLLAMA_MODEL] [-p PAGES] [-l {cn,en}]\n\nI am your PPT assistant, I can help to you generate PPT.\n\noptions:\n  -h, --help            show this help message and exit\n  -m {openai,ollama}, --ai_model {openai,ollama}\n                        Select the AI model\n  -t TOPIC, --topic TOPIC\n                        Your topic name\n  -k API_KEY, --api_key API_KEY\n                        Your api key file path\n  -u OLLAMA_URL, --ollama_url OLLAMA_URL\n                        Your ollama url\n  -o OLLAMA_MODEL, --ollama_model OLLAMA_MODEL\n                        Specify the Ollama model to use\n  -p PAGES, --pages PAGES\n                        How many slides to generate\n  -l {cn,en}, --language {cn,en}\n                        Output language\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FHuiMi24%2Fchatppt","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FHuiMi24%2Fchatppt","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FHuiMi24%2Fchatppt/lists"}