{"id":20926592,"url":"https://github.com/sonngdev/chatgpt-server","last_synced_at":"2025-05-13T17:33:50.569Z","repository":{"id":100816972,"uuid":"588549988","full_name":"sonngdev/chatgpt-server","owner":"sonngdev","description":"API server that wraps ChatGPT endpoints, powered by Express","archived":false,"fork":false,"pushed_at":"2024-09-26T15:36:54.000Z","size":161,"stargazers_count":30,"open_issues_count":0,"forks_count":16,"subscribers_count":2,"default_branch":"main","last_synced_at":"2024-10-09T17:08:45.547Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","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/sonngdev.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-01-13T11:51:05.000Z","updated_at":"2024-09-27T17:05:56.000Z","dependencies_parsed_at":null,"dependency_job_id":"bad1513f-1440-42d3-9698-aa753e60c2fc","html_url":"https://github.com/sonngdev/chatgpt-server","commit_stats":null,"previous_names":["sonngdev/chatgpt-server"],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sonngdev%2Fchatgpt-server","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sonngdev%2Fchatgpt-server/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sonngdev%2Fchatgpt-server/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sonngdev%2Fchatgpt-server/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sonngdev","download_url":"https://codeload.github.com/sonngdev/chatgpt-server/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":225249336,"owners_count":17444415,"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-11-18T20:39:49.871Z","updated_at":"2024-11-18T20:39:50.462Z","avatar_url":"https://github.com/sonngdev.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# API server for ChatGPT\n\nBackend server for **ChatGPT With Voice**, now using the ✨ official ChatGPT APIs ✨. You can check out [the website](https://chatgpt.sonng.dev/), or find the [frontend repo](https://github.com/sonngdev/chatgpt-voice) on GitHub.\n\n## Installation\nClone this repo.\n\n```bash\ngit clone https://github.com/sonngdev/chatgpt-server.git\n```\n\nPrepare environment variables by creating `.env` at the project root. You need to sign up for an [OpenAI API Key](https://platform.openai.com/overview).\n\n```t\nPORT=8000 # Or whichever port available\nOPENAI_API_KEY=\"\u003cyour-openai-api-key\u003e\"\n```\n\nStart the server and you are done! Remember to use Node 18 or higher, this is the requirement of this package's core dependency – [`chatgpt`](https://github.com/transitive-bullshit/chatgpt-api).\n\n```bash\nnpm install\n\n# Run locally, or...\nnpm run dev\n\n# Run on production\nnpm run build\nnpm run start\n```\n\n## Contribution\nThank you [Travis Fischer](https://github.com/transitive-bullshit) for your [`chatgpt`](https://github.com/transitive-bullshit/chatgpt-api) package.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsonngdev%2Fchatgpt-server","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsonngdev%2Fchatgpt-server","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsonngdev%2Fchatgpt-server/lists"}