{"id":24211678,"url":"https://github.com/zjrwtx/zjrwtx-testbot","last_synced_at":"2025-08-08T15:32:51.971Z","repository":{"id":108260283,"uuid":"576478638","full_name":"zjrwtx/zjrwtx-testbot","owner":"zjrwtx","description":null,"archived":false,"fork":false,"pushed_at":"2022-12-10T01:08:21.000Z","size":414,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-01-14T02:36:28.755Z","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/zjrwtx.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":"2022-12-10T01:08:19.000Z","updated_at":"2022-12-10T01:08:34.000Z","dependencies_parsed_at":null,"dependency_job_id":"e0a441c7-9f65-490c-8957-120ba1e293a3","html_url":"https://github.com/zjrwtx/zjrwtx-testbot","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zjrwtx%2Fzjrwtx-testbot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zjrwtx%2Fzjrwtx-testbot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zjrwtx%2Fzjrwtx-testbot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zjrwtx%2Fzjrwtx-testbot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zjrwtx","download_url":"https://codeload.github.com/zjrwtx/zjrwtx-testbot/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241696241,"owners_count":20004780,"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":"2025-01-14T02:36:20.525Z","updated_at":"2025-03-03T16:22:00.643Z","avatar_url":"https://github.com/zjrwtx.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003ch1 align=\"center\"\u003eWelcome to wechat-chatgpt 👋\u003c/h1\u003e\n\u003cp\u003e\n  \u003cimg alt=\"Version\" src=\"https://img.shields.io/badge/version-1.0.0-blue.svg?cacheSeconds=2592000\" /\u003e\n  \u003ca href=\"#\" target=\"_blank\"\u003e\n    \u003cimg alt=\"License: ISC\" src=\"https://img.shields.io/badge/License-ISC-yellow.svg\" /\u003e\n  \u003c/a\u003e\n  \u003ca href=\"https://twitter.com/fuergaosi\" target=\"_blank\"\u003e\n    \u003cimg alt=\"Twitter: fuergaosi\" src=\"https://img.shields.io/twitter/follow/fuergaosi.svg?style=social\" /\u003e\n  \u003c/a\u003e\n\u003c/p\u003e\n\n\u003e Use ChatGPT On Wechat via wechaty  \nEnglish | [中文文档](README_ZH.md)\n\n[![Deploy on Railway](https://railway.app/button.svg)](https://railway.app/new/template/BHJD6L?referralCode=FaJtD_)\n## 🌟 Feature\n\n- [x] Use ChatGPT On Wechat via wechaty\n- [x] Support OpenAI Accounts Pool\n- [x] Support use proxy to login\n- [x] Add conversation Support (Everyone will have their own session)\n- [x] Add Dockerfile\n- [x] Publish to Docker.hub\n- [x] Add Railway deploy\n- [x] Auto Reload OpenAI Accounts Pool\n- [ ] Add sendmessage retry for 429/503\n\n## Use with docker in Linux(recommended)\n\n```sh\ncp config.yaml.example config.yaml\n# Change Config.yaml\n# run docker command in Linux or WindowsPowerShell\ndocker run -d --name wechat-chatgpt -v $(pwd)/config.yaml:/app/config.yaml holegots/wechat-chatgpt:latest\n# login with qrcode\ndocker logs -f wechat-chatgpt\n```\n## Use with docker in Windows\n```sh\n# Create and modify config.yaml in the current directory\n# run docker command in WindowsPowerShell\ndocker run -d --name wechat-chatgpt -v $(pwd)/config.yaml:/app/config.yaml holegots/wechat-chatgpt:latest\n# In the Windows command line (cmd) environment, you may mount the current directory like this:\ndocker run -d --name wechat-chatgpt -v %cd%/config.yaml:/app/config.yaml holegots/wechat-chatgpt:latest\n# login with qrcode\ndocker logs -f wechat-chatgpt\n```\n## Upgrade Docker Image Version\n```sh\ndocker pull holegots/wechat-chatgpt:latest\ndocker stop wechat-chatgpt\ndocker rm wechat-chatgpt\ndocker run -d --name wechat-chatgpt -v $(pwd)/config.yaml:/app/config.yaml holegots/wechat-chatgpt:latest\n```\n## Install\n\n```sh\nnpm install \u0026\u0026 poetry install\n```\n\n## Usage with manual\n\n### Copy config\n\nYou need copy config file for setting up your project.\n\n```sh\ncp config.yaml.example config.yaml\n```\n\n### Get and config Openai account\n\n\u003e If you don't have this OpenAI account and you live in China, you can get it [here](https://mirror.xyz/boxchen.eth/9O9CSqyKDj4BKUIil7NC1Sa1LJM-3hsPqaeW_QjfFBc).\n\n#### **A：Use account and password**\n\nYou need get OpenAI account and password.\nYour config.yaml should be like this:\n\n```yaml\nchatGPTAccountPool:\n  - email: \u003cyour email\u003e\n    password: \u003cyour password\u003e\n# if you hope only some keywords can trigger chatgpt on private chat, you can set it like this:\nchatPrivateTiggerKeyword: \"\"\n```\n\n⚠️ Trigger keywords must appear in the first position of the received message.\n⚠️ Pls make sure your network can log in to OpenAI, and if you fail to login in try setting up a proxy or using SessionToken.  \n**Setup proxy:**\n\n```sh\nexport http_proxy=\u003cYour Proxy\u003e\n```\n\n#### **B: Use Session Token**\n\nIf you cant use email and password to login your openai account or your network can't login, you can use session token. You need to follow these steps:\n\n1. Go to https://chat.openai.com/chat and log in or sign up.\n2. Open dev tools.\n3. Open Application \u003e Cookies.\n   ![image](docs/images/session-token.png)\n4. Copy the value for \\_\\_Secure-next-auth.session-token and save it to your config\n   Your config.yaml should be like this:\n\n```yaml\nchatGPTAccountPool:\n  - session_token: \u003cyour session_token\u003e\n```\n\n### Start Project\n\n```sh\nnpm run dev\n```\n\nIf you are logging in for the first time, then you need to scan the qrcode.\n\n## Author\n\n👤 **holegots**\n\n- Twitter: [@fuergaosi](https://twitter.com/fuergaosi)\n- GitHub: [@fuergaosi233](https://github.com/fuergaosi233)\n\n## 🤝 Contributing\n\nContributions, issues and feature requests are welcome!\u003cbr /\u003eFeel free to check [issues page](https://github.com/fuergaosi233/wechat-chatgpt/issues).\n\n## Show your support\n\nGive a ⭐️ if this project helped you!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzjrwtx%2Fzjrwtx-testbot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzjrwtx%2Fzjrwtx-testbot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzjrwtx%2Fzjrwtx-testbot/lists"}