{"id":20065627,"url":"https://github.com/binatify/wechat","last_synced_at":"2025-06-18T19:38:25.834Z","repository":{"id":125435879,"uuid":"116620100","full_name":"binatify/wechat","owner":"binatify","description":"A new WeChat robot with golang","archived":false,"fork":false,"pushed_at":"2019-05-04T11:38:16.000Z","size":13,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-12T23:09:04.345Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Go","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/binatify.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":"2018-01-08T02:39:26.000Z","updated_at":"2022-01-19T01:42:27.000Z","dependencies_parsed_at":null,"dependency_job_id":"7f66b8f6-2db7-4e85-8866-fbff262aca93","html_url":"https://github.com/binatify/wechat","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/binatify%2Fwechat","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/binatify%2Fwechat/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/binatify%2Fwechat/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/binatify%2Fwechat/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/binatify","download_url":"https://codeload.github.com/binatify/wechat/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241494141,"owners_count":19971870,"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":"2024-11-13T13:51:28.572Z","updated_at":"2025-03-02T10:43:46.798Z","avatar_url":"https://github.com/binatify.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# wechat\n\nA new WeChat robot with golang.\n\n\n### Usage\n\nNew client with message handler example:\n\n```\npackage main\n\nimport (\n\t\"github.com/binatify/wechat/client\"\n\t\"github.com/binatify/wechat/config\"\n\t\"github.com/sirupsen/logrus\"\n\t\"os\"\n)\n\nfunc main() {\n\tlogrus.SetOutput(os.Stdout)\n\tlogger := logrus.WithField(\"reqID\", \"reqID\")\n\n\tc := client.New(\u0026config.Config{\n\t\tDuration: 6,\n\t}, logger).Start()\n\n\tc.Listen(func(msg interface{}) {\n\t\tcontent := msg.(map[string]interface{})[\"Content\"].(string)\n\t\tlogger.Println(content)\n\t})\n\n}\n```\n\n![screen shot 2018-01-08 at 6 26 04 pm](https://user-images.githubusercontent.com/1459834/34666894-7f92a87a-f4a1-11e7-9dc0-0d49de6d9eb1.png)\n\n\n### Features\n\n- [x] Auto login with qrcode. \n- [x] Message linsten.\n- [ ] Messge send.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbinatify%2Fwechat","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbinatify%2Fwechat","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbinatify%2Fwechat/lists"}