{"id":22669117,"url":"https://github.com/programmersteve/powerpointwithchatgpt","last_synced_at":"2025-04-12T11:10:38.842Z","repository":{"id":134378985,"uuid":"602715582","full_name":"ProgrammerSteve/powerpointWithChatGpt","owner":"ProgrammerSteve","description":"A simple script that uses openai's \"text-davinci-003\" model and pptxgenjs to make a quick powerpoint on a specified topic","archived":false,"fork":false,"pushed_at":"2024-07-08T22:34:31.000Z","size":72,"stargazers_count":7,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-26T05:51:12.288Z","etag":null,"topics":["chatgpt","openai-api","pptx","pptx-files","prompt","prompt-engineering"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/ProgrammerSteve.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-02-16T19:46:55.000Z","updated_at":"2024-07-08T22:34:34.000Z","dependencies_parsed_at":null,"dependency_job_id":"aa1297a5-5075-414f-96b1-54c7de81267c","html_url":"https://github.com/ProgrammerSteve/powerpointWithChatGpt","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ProgrammerSteve%2FpowerpointWithChatGpt","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ProgrammerSteve%2FpowerpointWithChatGpt/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ProgrammerSteve%2FpowerpointWithChatGpt/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ProgrammerSteve%2FpowerpointWithChatGpt/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ProgrammerSteve","download_url":"https://codeload.github.com/ProgrammerSteve/powerpointWithChatGpt/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248557844,"owners_count":21124168,"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","openai-api","pptx","pptx-files","prompt","prompt-engineering"],"created_at":"2024-12-09T15:18:37.831Z","updated_at":"2025-04-12T11:10:38.822Z","avatar_url":"https://github.com/ProgrammerSteve.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Note:\n- OpenAI has deprecated the \"text-davinci-003\" model and can't be used anymore\n\n## Requirements\n- An openai account\n- tokens to use ChatGPT\n\n## Get an api key\n- go to openai.com and signin/signup\n- click your profile and click \"view API keys\"\n- click the button that says create new secret key\n- create a .env file\n- copy and paste the key into the .env file\n\n### .env file example\n````\nAPI_KEY=example\n````\n\n## Enter the parameters for your slide at the top of script.js\n````\nconst topic = \"how to improve coding skills\";\nconst extra = \"talk about Reactjs specifically\";\nlet slideNum = 6;\nlet bulletMin = 3;\nlet bulletMax = 5;\nlet temperature = 0.2;\nlet max_tokens = 500;\n````\n\n## Running the script\n- Go to the terminal and type \"npm run start\"\n- A folder called presentations will appear with the powerpoint file you created\n\n## Prompt can be edited in chatGpt.js\n````\n  let prompt = `\n  create a power point script on ${topic},response should be in a JSON format similar to the following:\n  {\n      \"title\": \"powerPointTitle\",\n      \"slides\": [\n          {\n              \"title\": \"titleName\",\n              \"content\": [\n                  \"string\",\"string\",\"string\",...\n              ]\n          },\n  ...}\nMust be ${slideNum} slides long and each content array should have ${bulletMin}-${bulletMax} bullet points for the slide. ${extra}\n  `;\n````\n\n#Example of Usage\n\n## Entering Input\n![ScreenShot](/screenshots/image3.jpg)\n\n## Folder created\n![ScreenShot](/screenshots/image2.jpg)\n\n## Viewing the powerpoint\n![ScreenShot](/screenshots/image1.jpg)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fprogrammersteve%2Fpowerpointwithchatgpt","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fprogrammersteve%2Fpowerpointwithchatgpt","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fprogrammersteve%2Fpowerpointwithchatgpt/lists"}