{"id":17710836,"url":"https://github.com/engageintellect/python-gpt","last_synced_at":"2026-05-09T14:37:30.495Z","repository":{"id":198800295,"uuid":"701576106","full_name":"engageintellect/python-gpt","owner":"engageintellect","description":"A basic, minimal implementation of chatGPT using Python and FastAPI","archived":false,"fork":false,"pushed_at":"2024-02-27T03:47:16.000Z","size":11411,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-02-06T13:48:43.525Z","etag":null,"topics":["chatgpt","fastapi","openai","python"],"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/engageintellect.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-10-07T00:46:11.000Z","updated_at":"2023-10-07T01:01:06.000Z","dependencies_parsed_at":null,"dependency_job_id":"11a80c19-cd4a-4f81-ab20-1f0b55dd15ba","html_url":"https://github.com/engageintellect/python-gpt","commit_stats":null,"previous_names":["engageintellect/python-gpt"],"tags_count":0,"template":true,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/engageintellect%2Fpython-gpt","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/engageintellect%2Fpython-gpt/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/engageintellect%2Fpython-gpt/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/engageintellect%2Fpython-gpt/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/engageintellect","download_url":"https://codeload.github.com/engageintellect/python-gpt/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246443534,"owners_count":20778252,"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","fastapi","openai","python"],"created_at":"2024-10-25T07:43:10.541Z","updated_at":"2026-05-09T14:37:30.444Z","avatar_url":"https://github.com/engageintellect.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# python-gpt\n\n## Getting Started\nClone Repository (or use the template to create your own repository)\n```\ngit clone https://github.com/engageintellect/python-gpt.git\n```\n\n### Setup Environment\n\nCreate a config file for your OpenAI API key\n```\nsudo nvim /etc/python-gpt.json\n```\nIt should look something like this:\n```\n{\n\t\"OPENAI_API_KEY\": \"\u003cyour key here\u003e\"\n}\n```\n\nNow, create a virtual environment and install the requirements\n```\ncd python-gpt\npython3 -m venv venv\nsource venv/bin/activate\npip install -r requirements.txt\n```\n\n### Run\nStart your server\n```\nuvircorn main:app --reload\n```\n\n### Test\nTest your api in your terminal with curl\n```\ncurl -X POST -H \"Content-Type: application/json\" -d '{\"message\": \"Hello, ChatGPT!\"}' http://localhost:8000/chat\n```\n\n\n\n\n\n\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fengageintellect%2Fpython-gpt","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fengageintellect%2Fpython-gpt","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fengageintellect%2Fpython-gpt/lists"}