[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-71257":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":9,"language":10,"languages":9,"totalLinesOfCode":9,"stars":11,"forks":12,"watchers":13,"openIssues":14,"contributorsCount":15,"subscribersCount":15,"size":15,"stars1d":15,"stars7d":15,"stars30d":16,"stars90d":15,"forks30d":15,"starsTrendScore":15,"compositeScore":17,"rankGlobal":9,"rankLanguage":9,"license":9,"archived":18,"fork":18,"defaultBranch":19,"hasWiki":18,"hasPages":18,"topics":20,"createdAt":9,"pushedAt":9,"updatedAt":21,"readmeContent":22,"aiSummary":23,"trendingCount":15,"starSnapshotCount":15,"syncStatus":24,"lastSyncTime":25,"discoverSource":26},71257,"wechat-chatgpt","fuergaosi233\u002Fwechat-chatgpt","fuergaosi233","Use ChatGPT On Wechat via wechaty",null,"TypeScript",13231,3712,92,62,0,1,67.1,false,"main",[],"2026-06-12 04:01:00","\u003Cdiv align=\"center\" >\n\n\u003Ch1 style=\"color:red; font-size:48px;\">!!!! Project Archived 📦 !!!!\u003C\u002Fh1>\n\n> This project has been archived. Thank you to everyone who contributed! 🙌😔\n\u003C\u002Fdiv>\n\n\n\u003Ch1 align=\"center\">Welcome to wechat-chatgpt 👋\u003C\u002Fh1>\n\u003Cp>\n  \u003Cimg alt=\"Version\" src=\"https:\u002F\u002Fimg.shields.io\u002Fbadge\u002Fversion-1.0.0-blue.svg?cacheSeconds=2592000\" \u002F>\n  \u003Ca href=\"#\" target=\"_blank\">\n    \u003Cimg alt=\"License: ISC\" src=\"https:\u002F\u002Fimg.shields.io\u002Fbadge\u002FLicense-ISC-yellow.svg\" \u002F>\n  \u003C\u002Fa>\n  \u003Ca href=\"https:\u002F\u002Ftwitter.com\u002Ffuergaosi\" target=\"_blank\">\n    \u003Cimg alt=\"Twitter: fuergaosi\" src=\"https:\u002F\u002Fimg.shields.io\u002Ftwitter\u002Ffollow\u002Ffuergaosi.svg?style=social\" \u002F>\n  \u003C\u002Fa>\n  \u003C\u002Fa>\n  \u003Ca href=\"https:\u002F\u002Fdiscord.gg\u002F8fXNrxwUJH\" target=\"blank\">\n    \u003Cimg src=\"https:\u002F\u002Fimg.shields.io\u002Fdiscord\u002F1058994816446369832?label=Join%20Community&logo=discord&style=flat-square\" alt=\"join discord community of github profile readme generator\"\u002F>\n  \u003C\u002Fa>\n\u003C\u002Fp>\n\n> Use ChatGPT On Wechat via wechaty  \n> English | [中文文档](README_ZH.md)\n\n[![Deploy on Railway](https:\u002F\u002Frailway.app\u002Fbutton.svg)](https:\u002F\u002Frailway.app\u002Ftemplate\u002FdMLG70?referralCode=bIYugQ)\n\n## 🌟 Features\n\n- Interact with WeChat and ChatGPT:\n   - Use ChatGPT on WeChat with [wechaty](https:\u002F\u002Fgithub.com\u002Fwechaty\u002Fwechaty) and [Official API](https:\u002F\u002Fopenai.com\u002Fblog\u002Fintroducing-chatgpt-and-whisper-apis)\n   - Add conversation support\n   - Support command setting\n\n- Deployment and configuration options:\n   - Add Dockerfile, deployable with [docker](#use-with-docker)\n   - Support deployment using [docker compose](#use-with-docker-compose)\n   - Support [Railway](#use-with-railway) and [Fly.io](#use-with-flyio) deployment\n\n- Other features:\n   - Support [Dall·E](https:\u002F\u002Flabs.openai.com\u002F)\n   - Support [whisper](https:\u002F\u002Fopenai.com\u002Fblog\u002Fintroducing-chatgpt-and-whisper-apis)\n   - Support setting prompt\n   - Support proxy (in development)\n\n## 🚀 Usage\n- [Use with Railway](#use-with-railway)(PaaS, Free, Stable, ✅Recommended)\n- [Use with Fly.io](#use-with-flyio)(Paas, Free, ✅Recommended)\n- [Use with docker](#use-with-docker)(Self-hosted, Stable, ✅Recommended)\n- [Use with docker compose](#use-with-docker-compose)(Self-hosted, Stable, ✅Recommended)\n- [Use with nodejs](#use-with-nodejs)(Self-hosted)\n\n## Use with Railway\n> Railway offers $5 or 500 hours of runtime per month\n1. Click the [Railway](https:\u002F\u002Frailway.app\u002Ftemplate\u002FdMLG70?referralCode=bIYugQ) button to go to the Railway deployment page\n2. Click the `Deploy Now` button to enter the Railway deployment page\n3. Fill in the repository name and `OPENAI_API_KEY` (need to link GitHub account)\n4. Click the `Deploy` button\n5. Click the `View Logs` button and wait for the deployment to complete\n\n## Use with Fly.io\n> Please allocate 512MB memory for the application to meet the application requirements\n\n> fly.io offers free bills up to $5(Free Allowances 3 256MB are not included in the bill)\n1. Install [flyctl](https:\u002F\u002Ffly.io\u002Fdocs\u002Fgetting-started\u002Finstalling-flyctl\u002F)\n   ```shell\n    # macOS\n    brew install flyctl\n    # Windows\n    scoop install flyctl\n    # Linux\n    curl https:\u002F\u002Ffly.io\u002Finstall.sh | sh\n   ```\n2. Clone the project and enter the project directory\n   ```shell\n   git clone https:\u002F\u002Fgithub.com\u002Ffuergaosi233\u002Fwechat-chatgpt.git && cd wechat-chatgpt\n   ```\n3. Create a new app\n   ```shell\n   ➜ flyctl launch \n    ? Would you like to copy its configuration to the new app? No\n    ? App Name (leave blank to use an auto-generated name): \u003CYOUR APP NAME>\n    ? Select region: \u003CYOUR CHOOSE REGION>\n    ? Would you like to setup a Postgresql database now? No\n    ? Would you like to deploy now? No\n   ```\n4. Configure the environment variables\n   ```shell\n   flyctl secrets set OPENAI_API_KEY=\"\u003CYOUR OPENAI API KEY>\" MODEL=\"\u003CCHATGPT-MODEL>\"\n   ```\n5. Deploy the app\n   ```shell\n   flyctl deploy\n   ```\n\n## Use with docker\n\n```sh\n# pull image\ndocker pull holegots\u002Fwechat-chatgpt\n# run container\ndocker run -d --name wechat-chatgpt \\\n    -e OPENAI_API_KEY=\u003CYOUR OPENAI API KEY> \\\n    -e MODEL=\"gpt-3.5-turbo\" \\\n    -e CHAT_PRIVATE_TRIGGER_KEYWORD=\"\" \\\n    -v $(pwd)\u002Fdata:\u002Fapp\u002Fdata\u002Fwechat-assistant.memory-card.json \\\n    holegots\u002Fwechat-chatgpt:latest\n# View the QR code to log in to wechat\ndocker logs -f wechat-chatgpt\n```\n> How to get OPENAI API KEY? [Click here](https:\u002F\u002Fplatform.openai.com\u002Faccount\u002Fapi-keys)\n\n## Use with docker compose\n\n```sh\n# Copy the configuration file according to the template\ncp .env.example .env\n# Edit the configuration file\nvim .env\n# Start the container\ndocker-compose up -d\n# View the QR code to log in to wechat\ndocker logs -f wechat-chatgpt\n```\n\n## Use with nodejs\n\n> You need NodeJS 18.0.0 version and above\n\n```sh\n# Clone the project\ngit clone https:\u002F\u002Fgithub.com\u002Ffuergaosi233\u002Fwechat-chatgpt.git && cd wechat-chatgpt\n# Install dependencies\nnpm install\n# Copy the configuration file according to the template\ncp .env.example .env\n# Edit the configuration file\nvim .env\n# Start project\nnpm run dev\n```\n\n> Please make sure your WeChat account can log in [WeChat on web](https:\u002F\u002Fwx.qq.com\u002F)\n\n## 📝 Environment Variables\n\n| name                         | description                                                                                                                                                                          |\n|------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| API                          | API endpoint of ChatGPT                                                                                                                                                              |\n| OPENAI_API_KEY               | [create new secret key](https:\u002F\u002Fplatform.openai.com\u002Faccount\u002Fapi-keys)                                                                                                                |\n| MODEL                        | ID of the model to use. Currently, only gpt-3.5-turbo and gpt-3.5-turbo-0301 are supported.                                                                                          |\n| TEMPERATURE                  | What sampling temperature to use, between 0 and 2. Higher values like 0.8 will make the output more random, while lower values like 0.2 will make it more focused and deterministic. |\n| CHAT_TRIGGER_RULE            | Private chat triggering rules.                                                                                                                                                       |\n| DISABLE_GROUP_MESSAGE        | Prohibited to use ChatGPT in group chat.                                                                                                                                             |\n| CHAT_PRIVATE_TRIGGER_KEYWORD | Keyword to trigger ChatGPT reply in WeChat private chat                                                                                                                              |\n| BLOCK_WORDS                  | Chat blocker words, (works for both private and group chats, Use, Split)                                                                                                             |\n| CHATGPT_BLOCK_WORDS          | The blocked words returned by ChatGPT(works for both private and group chats, Use, Split)                                                                                            |\n\n## 📝 Using Custom ChatGPT API\n\n> https:\u002F\u002Fgithub.com\u002Ffuergaosi233\u002Fopenai-proxy\n\n```shell\n# Clone the project\ngit clone https:\u002F\u002Fgithub.com\u002Ffuergaosi233\u002Fopenai-proxy\n# Install dependencies\nnpm install && npm install -g wrangler && npm run build\n# Deploy to CloudFlare Workers\nnpm run deploy\n# Custom domain (optional)\nAdd `Route` to `wrangler.toml`\nroutes = [\n    { pattern = \"Your Custom Domain\", custom_domain = true },\n]\n```\n\n## ⌨️ Commands\n> Enter in the WeChat chat box\n```shell\n\u002Fcmd help # Show help\n\u002Fcmd prompt \u003CPROMPT> # Set prompt\n\u002Fcmd clear # Clear all sessions since last boot\n```\n\n## ✨ Contributor\n\n\u003Ca href=\"https:\u002F\u002Fgithub.com\u002Ffuergaosi233\u002Fwechat-chatgpt\u002Fgraphs\u002Fcontributors\">\n  \u003Cimg src=\"https:\u002F\u002Fcontrib.rocks\u002Fimage?repo=fuergaosi233\u002Fwechat-chatgpt\" \u002F>\n\u003C\u002Fa>\n\n## 🤝 Contributing\n\nContributions, issues and feature requests are welcome!\u003Cbr \u002F>Feel free to\ncheck [issues page](https:\u002F\u002Fgithub.com\u002Ffuergaosi233\u002Fwechat-chatgpt\u002Fissues).\n\n## Show your support\n\nGive a ⭐️ if this project helped you!\n","wechat-chatgpt 项目通过 Wechaty 实现了在微信上使用 ChatGPT 的功能。它利用了 TypeScript 编程语言，并集成了官方的 OpenAI API，支持与 ChatGPT 的交互、对话管理和命令设置等核心功能。此外，该项目还提供了 Dockerfile 和多种部署选项（如 Railway, Fly.io, Docker, Docker Compose），便于用户根据需求选择合适的部署方式；同时支持 Dall·E 和 Whisper 等其他 OpenAI 服务。尽管此项目已被归档不再维护，但仍然适合需要在微信平台上集成先进自然语言处理能力的应用场景，比如客户服务自动化、智能问答系统等。",2,"2026-06-11 03:36:49","high_star"]