{"id":13410359,"url":"https://github.com/ricklamers/gpt-code-ui","last_synced_at":"2025-05-14T05:10:57.174Z","repository":{"id":166805266,"uuid":"639095114","full_name":"ricklamers/gpt-code-ui","owner":"ricklamers","description":"An open source implementation of OpenAI's ChatGPT Code interpreter","archived":false,"fork":false,"pushed_at":"2024-03-20T12:34:34.000Z","size":1054,"stargazers_count":3588,"open_issues_count":9,"forks_count":445,"subscribers_count":43,"default_branch":"main","last_synced_at":"2025-05-12T01:18:00.505Z","etag":null,"topics":["chatgpt","gpt","llms","openai"],"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/ricklamers.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":".github/CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":".github/CODE_OF_CONDUCT.md","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-05-10T18:46:08.000Z","updated_at":"2025-05-09T09:49:46.000Z","dependencies_parsed_at":null,"dependency_job_id":"d7a4c016-4e30-42c3-b550-057637c28c29","html_url":"https://github.com/ricklamers/gpt-code-ui","commit_stats":null,"previous_names":["ricklamers/gpt-code-ui"],"tags_count":25,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ricklamers%2Fgpt-code-ui","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ricklamers%2Fgpt-code-ui/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ricklamers%2Fgpt-code-ui/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ricklamers%2Fgpt-code-ui/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ricklamers","download_url":"https://codeload.github.com/ricklamers/gpt-code-ui/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254076850,"owners_count":22010611,"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","gpt","llms","openai"],"created_at":"2024-07-30T20:01:06.431Z","updated_at":"2025-05-14T05:10:52.160Z","avatar_url":"https://github.com/ricklamers.png","language":"Python","funding_links":[],"categories":["Coding","Python","Web apps","Reimplementations","Code","A01_文本生成_文本对话","Chat UIs","HarmonyOS","Applications","Specialized Tools","Repos","🌟 编辑推荐","ChatGPT-based applications for regular users and specialized problems"],"sub_categories":["Coding Assistants","Other text generators","Hosted and self-hosted","Developer tools","大语言对话模型及数据","Windows Manager","提示语（魔法）","IDE Extensions","编程辅助工具","Other sdk/libraries"],"readme":"\u003cimg src=\"https://github.com/ricklamers/gpt-code-ui/assets/1309307/9ad4061d-2e26-4407-9431-109b650fb022\" alt=\"GPT-Code logo\" width=240 /\u003e\n\nAn open source implementation of OpenAI's ChatGPT [Code interpreter](https://openai.com/blog/chatgpt-plugins#code-interpreter).\n\nSimply ask the OpenAI model to do something and it will generate \u0026 execute the code for you.\n\nRead the [blog post](https://ricklamers.io/posts/gpt-code) to find out more.\n\n## Community\nJudah Cooper offered to start \u0026 curate a Discord community. Join [here](https://discord.gg/ZmTQwpkYu6).\n\n## Installation\n\nOpen a terminal and run:\n\n```\npip install gpt-code-ui\ngptcode\n```\n\nIn order to make basic dependencies available it's recommended to run the following `pip` install\nin the Python environment that is used in the shell where you run `gptcode`:\n\n```sh\npip install \"numpy\u003e=1.24,\u003c1.25\" \"dateparser\u003e=1.1,\u003c1.2\" \"pandas\u003e=1.5,\u003c1.6\" \"geopandas\u003e=0.13,\u003c0.14\" \"tabulate\u003e=0.9.0\u003c1.0\" \"PyPDF2\u003e=3.0,\u003c3.1\" \"pdfminer\u003e=20191125,\u003c20191200\" \"pdfplumber\u003e=0.9,\u003c0.10\" \"matplotlib\u003e=3.7,\u003c3.8\"\n```\n\n## User interface\n\u003cimg src=\"https://github.com/ricklamers/gpt-code-ui/assets/1309307/c29c504a-a7ed-4ae0-9360-d7224bc3e3d6\" alt=\"GPT-Code logo\" width=\"100%\" /\u003e\n \n## Features\n- File upload\n- File download\n- Context awareness (it can refer to your previous messages)\n- Generate code\n- Run code (Python kernel)\n- Model switching (GPT-3.5 and GPT-4)\n\n## Misc.\n### Using .env for OpenAI key\nYou can put a .env in the working directory to load the `OPENAI_API_KEY` environment variable.\n\n### Configurables\nSet the `API_PORT`, `WEB_PORT`, `SNAKEMQ_PORT` variables to override the defaults.\n\nSet `OPENAI_BASE_URL` to change the OpenAI API endpoint that's being used (note this environment variable includes the protocol `https://...`).\n\nYou can use the `.env.example` in the repository (make sure you `git clone` the repo to get the file first).\n\nFor Azure OpenAI Services, there are also other configurable variables like deployment name. See `.env.azure-example` for more information.\nNote that model selection on the UI is currently not supported for Azure OpenAI Services.\n\n```\ncp .env.example .env\nvim .env\ngptcode\n```\n\n### Docker\n[localagi](https://github.com/localagi) took the effort of bundling the Python package in a Docker container. Check it out here: [gpt-code-ui-docker](https://github.com/localagi/gpt-code-ui-docker).\n\n## Contributing\nPlease do and have a look at the [contributions guide](.github/CONTRIBUTING.md)! This should be a community initiative. I'll try my best to be responsive.\n\n\nThank you for your interest in this project!","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fricklamers%2Fgpt-code-ui","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fricklamers%2Fgpt-code-ui","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fricklamers%2Fgpt-code-ui/lists"}