{"id":13408038,"url":"https://github.com/mglantz/chatgpt","last_synced_at":"2025-03-14T12:32:02.105Z","repository":{"id":116049621,"uuid":"587705732","full_name":"mglantz/chatgpt","owner":"mglantz","description":"Simple command line integration to Chat GPT","archived":false,"fork":false,"pushed_at":"2023-01-23T11:54:00.000Z","size":198,"stargazers_count":11,"open_issues_count":0,"forks_count":2,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-03-09T03:42:24.568Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mglantz.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":"2023-01-11T11:47:07.000Z","updated_at":"2025-02-19T17:33:00.000Z","dependencies_parsed_at":null,"dependency_job_id":"fb38c408-5fd4-4daa-bd73-8f8552639072","html_url":"https://github.com/mglantz/chatgpt","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/mglantz%2Fchatgpt","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mglantz%2Fchatgpt/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mglantz%2Fchatgpt/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mglantz%2Fchatgpt/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mglantz","download_url":"https://codeload.github.com/mglantz/chatgpt/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243578428,"owners_count":20313830,"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-07-30T20:00:50.322Z","updated_at":"2025-03-14T12:31:59.615Z","avatar_url":"https://github.com/mglantz.png","language":"Python","funding_links":[],"categories":["\u003ca name=\"ai\"\u003e\u003c/a\u003eAI / ChatGPT"],"sub_categories":[],"readme":"# chatgpt\nSimple command line integration to Chat GPT, showcasing how you can use AI in day 2 operational tasks.\n\n## Installation\n\n1. Create a API key at [https://www.openai.com](https://www.openai.com)\n\n![Creation of API key](chatgpt.png?raw=true \"Title\")\n\n2. Clone this repository or copy the gpt.py script to your computer.\n3. Export the API key as such:\n```\nexport OPENAI_API_KEY=sk-thekeythatyoucreated\n```\n4. Install python dependency\n```\npip3 install openai\n```\n\n5. Execute the gpt.py script.\n\n![Example of usage](chatgptusage.png?raw=true \"Title\")\n\n![Example of usage](chatgptusage2.png?raw=true \"Title\")\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmglantz%2Fchatgpt","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmglantz%2Fchatgpt","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmglantz%2Fchatgpt/lists"}