{"id":13465995,"url":"https://github.com/eatmoreapple/openwechat","last_synced_at":"2026-04-06T06:32:40.253Z","repository":{"id":45236662,"uuid":"329229346","full_name":"eatmoreapple/openwechat","owner":"eatmoreapple","description":"golang微信SDK","archived":false,"fork":false,"pushed_at":"2025-01-02T03:01:27.000Z","size":645,"stargazers_count":5478,"open_issues_count":137,"forks_count":1011,"subscribers_count":67,"default_branch":"master","last_synced_at":"2026-03-08T14:30:31.064Z","etag":null,"topics":["bot","go","golang","robot","wechat","wechat-client","wechat-sdk"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/eatmoreapple.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","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},"funding":{"github":null,"patreon":null,"open_collective":null,"ko_fi":null,"tidelift":null,"community_bridge":null,"liberapay":null,"issuehunt":null,"otechie":null,"custom":null}},"created_at":"2021-01-13T07:37:05.000Z","updated_at":"2026-03-07T04:54:33.000Z","dependencies_parsed_at":"2023-12-13T09:56:24.844Z","dependency_job_id":"75bd7269-b4ec-4e57-bcc0-2ea534363ea0","html_url":"https://github.com/eatmoreapple/openwechat","commit_stats":null,"previous_names":["ivy1996-encode/openwechat"],"tags_count":61,"template":false,"template_full_name":null,"purl":"pkg:github/eatmoreapple/openwechat","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eatmoreapple%2Fopenwechat","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eatmoreapple%2Fopenwechat/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eatmoreapple%2Fopenwechat/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eatmoreapple%2Fopenwechat/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/eatmoreapple","download_url":"https://codeload.github.com/eatmoreapple/openwechat/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eatmoreapple%2Fopenwechat/sbom","scorecard":{"id":364324,"data":{"date":"2025-08-11","repo":{"name":"github.com/eatmoreapple/openwechat","commit":"635e5561f3196cb6740f3ffcd36006fa84b61019"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":4,"checks":[{"name":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","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":"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":"Code-Review","score":2,"reason":"Found 8/30 approved changesets -- score normalized to 2","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":"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":"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":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/go.yml:1","Info: no jobLevel write permissions found"],"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":"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":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: Apache License 2.0: 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":"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":"Pinned-Dependencies","score":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/go.yml:16: update your workflow using https://app.stepsecurity.io/secureworkflow/eatmoreapple/openwechat/go.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/go.yml:19: update your workflow using https://app.stepsecurity.io/secureworkflow/eatmoreapple/openwechat/go.yml/master?enable=pin","Warn: downloadThenRun not pinned by hash: .github/workflows/go.yml:25","Info:   0 out of   2 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   1 downloadThenRun dependencies pinned"],"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":"Branch-Protection","score":-1,"reason":"internal error: error during branchesHandler.setup: internal error: githubv4.Query: Resource not accessible by integration","details":null,"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"}},{"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":"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":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 26 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}}]},"last_synced_at":"2025-08-18T11:31:00.030Z","repository_id":45236662,"created_at":"2025-08-18T11:31:00.031Z","updated_at":"2025-08-18T11:31:00.031Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31463014,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-05T21:22:52.476Z","status":"online","status_checked_at":"2026-04-06T02:00:07.287Z","response_time":112,"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","go","golang","robot","wechat","wechat-client","wechat-sdk"],"created_at":"2024-07-31T15:00:37.774Z","updated_at":"2026-04-06T06:32:40.230Z","avatar_url":"https://github.com/eatmoreapple.png","language":"Go","readme":"# openwechat\n\n[![Go Doc](https://pkg.go.dev/badge/github.com/eatMoreApple/openwechat)](https://godoc.org/github.com/eatMoreApple/openwechat)\n[![Release](https://img.shields.io/github/v/release/eatmoreapple/openwechat.svg?style=flat-square)](https://github.com/eatmoreapple/openwechat/releases)\n[![Go Report Card](https://goreportcard.com/badge/github.com/eatmoreapple/openwechat)](https://goreportcard.com/badge/github.com/eatmoreapple/openwechat)\n[![Stars](https://img.shields.io/github/stars/eatmoreapple/openwechat.svg?style=flat-square)](https://img.shields.io/github/stars/eatmoreapple/openwechat.svg?style=flat-square)\n[![Forks](https://img.shields.io/github/forks/eatmoreapple/openwechat.svg?style=flat-square)](https://img.shields.io/github/forks/eatmoreapple/openwechat.svg?style=flat-square)\n[![Sourcegraph](https://sourcegraph.com/github.com/eatmoreapple/openwechat/-/badge.svg)](https://sourcegraph.com/github.com/eatmoreapple/openwechat?badge)\n\n\u003e golang版个人微信号API, 突破登录限制，类似开发公众号一样，开发个人微信号\n\n\n微信机器人，利用微信号完成一些功能的定制化开发⭐\n\n* 模块简单易用，易于扩展\n* 支持定制化开发，如日志记录，自动回复\n* 突破登录限制\u0026#x1F4E3;\n* 无需重复扫码登录\n* 支持多个微信号同时登陆\n\n### 安装\n\n```shell\ngo get -u github.com/eatmoreapple/openwechat\n```\n\n### 快速开始\n\n```go\npackage main\n\nimport (\n\t\"fmt\"\n\t\"github.com/eatmoreapple/openwechat\"\n)\n\nfunc main() {\n\tbot := openwechat.DefaultBot(openwechat.Desktop) // 桌面模式\n\n\t// 注册消息处理函数\n\tbot.MessageHandler = func(msg *openwechat.Message) {\n\t\tif msg.IsText() \u0026\u0026 msg.Content == \"ping\" {\n\t\t\tmsg.ReplyText(\"pong\")\n\t\t}\n\t}\n\t// 注册登陆二维码回调\n\tbot.UUIDCallback = openwechat.PrintlnQrcodeUrl\n\n\t// 登陆\n\tif err := bot.Login(); err != nil {\n\t\tfmt.Println(err)\n\t\treturn\n\t}\n\n\t// 获取登陆的用户\n\tself, err := bot.GetCurrentUser()\n\tif err != nil {\n\t\tfmt.Println(err)\n\t\treturn\n\t}\n\n\t// 获取所有的好友\n\tfriends, err := self.Friends()\n\tfmt.Println(friends, err)\n\n\t// 获取所有的群组\n\tgroups, err := self.Groups()\n\tfmt.Println(groups, err)\n\n\t// 阻塞主goroutine, 直到发生异常或者用户主动退出\n\tbot.Block()\n}\n```\n\n### 支持功能\n\n* 消息回复、给指定对象（好友、群组）发送文本、图片、文件、emoji表情等消息\n* 热登陆（无需重复扫码登录）、自定义消息处理、文件下载、消息防撤回\n* 获取对象信息、设置好友备注、拉好友进群等\n* 更多功能请查看文档\n\n### 文档\n\n[点击查看](https://openwechat.readthedocs.io/zh/latest/)\n\n### 项目主页\n\n[https://github.com/eatmoreapple/openwechat](https://github.com/eatmoreapple/openwechat)\n\n## Thanks\n\n\u003ca href=\"https://www.jetbrains.com/?from=openwechat\"\u003e\u003cimg src=\"https://account.jetbrains.com/static/images/jetbrains-logo-inv.svg\" height=\"200\" alt=\"JetBrains\"/\u003e\u003c/a\u003e\n\n** 如果喜欢的话，可以请作者吃包辣条。谢谢支持 :smile: **\n\n\u003cimg width=\"210px\" height=\"210px\" src=\"https://github.com/eatmoreapple/eatmoreapple/blob/main/img/wechat_pay.jpg\" align=\"left\"\u003e\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n","funding_links":[],"categories":["Go","网络信息服务","Repositories","开发工具\u0026框架"],"sub_categories":["信息沟通"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Featmoreapple%2Fopenwechat","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Featmoreapple%2Fopenwechat","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Featmoreapple%2Fopenwechat/lists"}