{"id":13455816,"url":"https://github.com/yuezk/chatgpt-mirror","last_synced_at":"2025-09-29T00:32:14.665Z","repository":{"id":115213684,"uuid":"609508868","full_name":"yuezk/chatgpt-mirror","owner":"yuezk","description":"A mirror of ChatGPT based on the gpt-3.5-turbo model.","archived":true,"fork":false,"pushed_at":"2023-04-02T02:02:25.000Z","size":1543,"stargazers_count":1227,"open_issues_count":16,"forks_count":329,"subscribers_count":18,"default_branch":"main","last_synced_at":"2024-10-29T15:15:01.109Z","etag":null,"topics":["chatgpt","chatgpt-api","openai","openai-api"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":false,"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/yuezk.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null},"funding":{"ko_fi":"yuezk","custom":["https://buymeacoffee.com/yuezk","https://paypal.me/zongkun"]}},"created_at":"2023-03-04T11:50:54.000Z","updated_at":"2024-10-28T10:10:06.000Z","dependencies_parsed_at":null,"dependency_job_id":"b920ab14-579e-41c5-962d-0c5ae6974775","html_url":"https://github.com/yuezk/chatgpt-mirror","commit_stats":{"total_commits":24,"total_committers":3,"mean_commits":8.0,"dds":0.08333333333333337,"last_synced_commit":"941f1ffbbea41047df35c269c64e119c41712133"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yuezk%2Fchatgpt-mirror","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yuezk%2Fchatgpt-mirror/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yuezk%2Fchatgpt-mirror/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yuezk%2Fchatgpt-mirror/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/yuezk","download_url":"https://codeload.github.com/yuezk/chatgpt-mirror/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":234435816,"owners_count":18832185,"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","chatgpt-api","openai","openai-api"],"created_at":"2024-07-31T08:01:11.593Z","updated_at":"2025-09-29T00:32:08.888Z","avatar_url":"https://github.com/yuezk.png","language":"JavaScript","funding_links":["https://ko-fi.com/yuezk","https://buymeacoffee.com/yuezk","https://paypal.me/zongkun"],"categories":["JavaScript","Openai"],"sub_categories":[],"readme":"\u003c!-- Archive notice --\u003e\n\u003e :warning: This repository is archived. Please use [ChatbotUI](https://github.com/mckaywrigley/chatbot-ui) instead.\n\n# ChatGPT Mirror\n\nBased on model `gpt-3.5-turbo`.\n\n## Installation\n\n\u003e Tested on Node.js 18.x.\n\n```bash\n$ pnpm install\n```\n\n## Running the app\n\nCreate a `.env` file in the root directory and add your OpenAI API key:\n\n```properties\nOPENAI_API_KEY=sk-xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx\n# optional, support http or socks proxy\nHTTP_PROXY=http://proxy-server:port\n```\n\n```bash\n# development\n$ pnpm run start\n\n# watch mode\n$ pnpm run start:dev\n\n# production mode\n$ pnpm run start:prod\n```\n\nVisit http://localhost:3000\n\n## Running the app with Docker\n\n### Build the image\n\n```bash\n$ docker build -t chatgpt-mirror .\n```\n\n### Run the container\n\n```bash\n$ docker run -d -p 3000:3000 --env-file .env chatgpt-mirror\n```\n\n### Run with the config file\n\n```bash\n$ docker run -d -p 3000:3000 --env-file .env -v $(pwd)/config/app.config.json:/app/config/app.config.json chatgpt-mirror\n```\n\n## Configuration\n\nYou can configure the app by copying the `config/example.json` to `config/app.config.json`\nand editing its values. Note: comments are not allowed in JSON files.\n\n## Error messages\n\nError messages for the OpenAI API can be customized by editing the `config/app.config.json` file. See the examples in the `config/example.json` file.\n\n## Credits\n\nThanks: [transitive-bullshit/chatgpt-api](https://github.com/transitive-bullshit/chatgpt-api)\n\n## License\n\n[MIT licensed](LICENSE).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyuezk%2Fchatgpt-mirror","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fyuezk%2Fchatgpt-mirror","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyuezk%2Fchatgpt-mirror/lists"}