{"id":19886029,"url":"https://github.com/rishabkumar7/python-chatgpt-cli","last_synced_at":"2025-08-01T23:34:28.758Z","repository":{"id":107843425,"uuid":"588709913","full_name":"rishabkumar7/python-chatgpt-cli","owner":"rishabkumar7","description":"A simple wrapper for ChatGPT, allows to use ChatGPT in your CLI.","archived":false,"fork":false,"pushed_at":"2023-03-13T19:13:54.000Z","size":9,"stargazers_count":3,"open_issues_count":0,"forks_count":3,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-05-02T16:54:58.795Z","etag":null,"topics":["chatgpt","chatgpt-api","cli","cli-app","python","python3"],"latest_commit_sha":null,"homepage":"","language":"Python","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/rishabkumar7.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,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-01-13T19:50:46.000Z","updated_at":"2023-11-07T13:02:52.000Z","dependencies_parsed_at":null,"dependency_job_id":"a42addc7-1e16-45ba-b014-26ffbe7c7099","html_url":"https://github.com/rishabkumar7/python-chatgpt-cli","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/rishabkumar7/python-chatgpt-cli","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rishabkumar7%2Fpython-chatgpt-cli","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rishabkumar7%2Fpython-chatgpt-cli/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rishabkumar7%2Fpython-chatgpt-cli/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rishabkumar7%2Fpython-chatgpt-cli/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rishabkumar7","download_url":"https://codeload.github.com/rishabkumar7/python-chatgpt-cli/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rishabkumar7%2Fpython-chatgpt-cli/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":268311761,"owners_count":24230427,"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","status":"online","status_checked_at":"2025-08-01T02:00:08.611Z","response_time":67,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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","chatgpt-api","cli","cli-app","python","python3"],"created_at":"2024-11-12T17:36:04.740Z","updated_at":"2025-08-01T23:34:28.695Z","avatar_url":"https://github.com/rishabkumar7.png","language":"Python","readme":"![](https://visitor-badge.glitch.me/badge?page_id=rishabkumar7.python-chatgpt-cli)\n\n# chatgpt_cli\n\nA simple wrapper for ChatGPT, allows to use [OPENAI ChatGPT](https://openai.com/blog/chatgpt/) in your CLI.\n\n### Requirements\n\nThis package requires `python 3`. And a human to use it.\n\n### Installing\n\nTo install this CLI tool you can run the below command\n\n``` python\npip install -i https://test.pypi.org/simple/ python-chatgpt-cli\n```\n\nThe above commands would install the package globally and `chatgpt_cli` will be available on your system.\n\n### How to use\n\nMake sure to get an API key for OpenAI, you can get that from - [https://openai.com/api](https://openai.com/api/)\n\nSet an environment variable `OPENAI_API_KEY = \u003cYOUR OPENAI API KEY\u003e`\n\nYou are good to use the `chatgpt_cli` command:\n\n``` bash\nchatgpt_cli\nAsk ChatGPT 🤖 \nWho is Ronaldo?                                                 \n\nRonaldo is a Portuguese professional soccer player who currently plays for the Italian Serie A club Juventus.  \nHe is widely considered one of the greatest soccer players of all time. Ronaldo has won five Ballon dOr awards, \nthe most for a European player, and is the first player to win four European Golden Shoes. He has also won 29 \ntrophies in his career, including five league titles, four UEFA Champions League titles, and one UEFA European\nChampionship.\n```\n\n### Feedback\n\nPlease feel free to leave feedback in issues/PRs.\n\n### LICENSE\n\nLicensed under [MIT License](/LICENSE).\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frishabkumar7%2Fpython-chatgpt-cli","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frishabkumar7%2Fpython-chatgpt-cli","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frishabkumar7%2Fpython-chatgpt-cli/lists"}