{"id":24564743,"url":"https://github.com/abzico/wxbotserv","last_synced_at":"2026-05-11T16:37:33.840Z","repository":{"id":57400491,"uuid":"110835153","full_name":"abzico/wxbotserv","owner":"abzico","description":"WeChat bot for normal user account that runs on server-side. Yes, server-side.","archived":false,"fork":false,"pushed_at":"2017-11-26T16:12:16.000Z","size":76,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2026-05-02T09:30:55.652Z","etag":null,"topics":["bot","china","javascript","js","node","nodejs","serv","server","wechat","wechat-bot","wx"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","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/abzico.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-11-15T13:12:42.000Z","updated_at":"2019-08-09T10:35:37.000Z","dependencies_parsed_at":"2022-09-05T03:01:28.560Z","dependency_job_id":null,"html_url":"https://github.com/abzico/wxbotserv","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/abzico/wxbotserv","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abzico%2Fwxbotserv","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abzico%2Fwxbotserv/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abzico%2Fwxbotserv/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abzico%2Fwxbotserv/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/abzico","download_url":"https://codeload.github.com/abzico/wxbotserv/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abzico%2Fwxbotserv/sbom","scorecard":{"id":162104,"data":{"date":"2025-08-11","repo":{"name":"github.com/abzico/wxbotserv","commit":"79c750dd5cdf6e7b592ba90a382f2ee543951616"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3,"checks":[{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"SAST","score":0,"reason":"no SAST tool detected","details":["Warn: no pull requests merged into dev branch"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Code-Review","score":0,"reason":"Found 0/30 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: MIT License: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}}]},"last_synced_at":"2025-08-16T13:46:26.606Z","repository_id":57400491,"created_at":"2025-08-16T13:46:26.606Z","updated_at":"2025-08-16T13:46:26.606Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32903758,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-10T13:40:02.631Z","status":"online","status_checked_at":"2026-05-11T02:00:05.975Z","response_time":120,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["bot","china","javascript","js","node","nodejs","serv","server","wechat","wechat-bot","wx"],"created_at":"2025-01-23T11:29:25.036Z","updated_at":"2026-05-11T16:37:33.822Z","avatar_url":"https://github.com/abzico.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# wxbotserv\n\nAn automated Wechat bot to reply message for normal user account that run on server-side. Yes, you heard it right, on server-side.\n\n# How-To\n\n## Environment variables\n\nUse environment variables to customize how the bot will work.\n\n* `SLACK_WEBHOOK_URL=\u003cyour slack webhook url\u003e`\n\n\tBot will send QRCode image to Slack. Then you can use WeChat to scan in order to log in immediately. Please note that you cannot send image to WeChat and extract QRCode from there. __It needs actual scan.__\n\n## Start the Bot!\n\nInstall the bot via `npm install wxbotserv` (Required node version 6+).\n\nImport the bot, and start it as follows\n\n```javascript\nconst wxbotserv = require('wxbotserv');\nwxbotserv(function(msgObj) {\n\tif (msgObj.message === 'hello world') {\n\t\treturn 'hello world to you too!';\n\t}\n\telse {\n\t\treturn 'Please say hello world to me...';\n\t}\n});\n```\n\nOr you could specify `options` object with following format\n\n```javascript\n{\n\tprocessMsgDelay: \u003cnumber\u003e, // delay between each processing message\n\tdebugLog: \u003cboolean\u003e // whether or not to print out debugging log to console\n}\n```\n\nas follows\n\n```javascript\nlet options = { processMsgDelay: 150, debugLog: false };\n\nwxbotserv(function(msgObj) {\n\t// ...\n}, options);\n```\n\n# Project Status\n\n- [x] notify QR Code image to Slack channel\n- [ ] notify QR Code image to WeChat Official / Subscription account that has permission to send template message\n- [x] support plain text message as response back from bot\n- [ ] support more type of message (image, etc) as response back from bot \n- [x] list contacts especially to get WeChat user's ID and name\n- [ ] set to listen to new messages to only target users (so bot won't get rid of all your message notifications if not necessary)\n- [x] listen to new unmuted message\n- [x] listen to new muted messages\n\n# License\n\n[MIT](https://github.com/haxpor/wxbotserv/blob/master/LICENSE), Wasin Thonkaew, [abzi.co](https://abzi.co)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fabzico%2Fwxbotserv","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fabzico%2Fwxbotserv","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fabzico%2Fwxbotserv/lists"}