{"id":28445074,"url":"https://github.com/wechaty/go-wechaty-getting-started","last_synced_at":"2025-09-10T13:36:00.582Z","repository":{"id":39896393,"uuid":"263665688","full_name":"wechaty/go-wechaty-getting-started","owner":"wechaty","description":"Go Wechaty starter project template that works out-of-the-box","archived":false,"fork":false,"pushed_at":"2025-05-18T08:35:58.000Z","size":111,"stargazers_count":48,"open_issues_count":3,"forks_count":15,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-06-29T20:39:04.481Z","etag":null,"topics":["chatbot","getting-started","go","wechaty"],"latest_commit_sha":null,"homepage":"https://gitpod.io/#https://github.com/wechaty/go-wechaty-getting-started","language":"Makefile","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/wechaty.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":".github/CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-05-13T15:13:20.000Z","updated_at":"2025-03-23T19:58:23.000Z","dependencies_parsed_at":"2024-01-23T21:15:49.461Z","dependency_job_id":"cc9b93ae-8da5-472b-973c-922d5c4f8a41","html_url":"https://github.com/wechaty/go-wechaty-getting-started","commit_stats":{"total_commits":117,"total_committers":8,"mean_commits":14.625,"dds":0.6752136752136753,"last_synced_commit":"2d885e0823572f9da99ebe6785629c2ef2e8a0ec"},"previous_names":[],"tags_count":0,"template":true,"template_full_name":null,"purl":"pkg:github/wechaty/go-wechaty-getting-started","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wechaty%2Fgo-wechaty-getting-started","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wechaty%2Fgo-wechaty-getting-started/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wechaty%2Fgo-wechaty-getting-started/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wechaty%2Fgo-wechaty-getting-started/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/wechaty","download_url":"https://codeload.github.com/wechaty/go-wechaty-getting-started/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wechaty%2Fgo-wechaty-getting-started/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":274470670,"owners_count":25291610,"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","status":"online","status_checked_at":"2025-09-10T02:00:12.551Z","response_time":83,"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":["chatbot","getting-started","go","wechaty"],"created_at":"2025-06-06T10:11:15.459Z","updated_at":"2025-09-10T13:36:00.563Z","avatar_url":"https://github.com/wechaty.png","language":"Makefile","funding_links":[],"categories":[],"sub_categories":[],"readme":"# go-wechaty-getting-started ![Go Version](https://img.shields.io/github/go-mod/go-version/wechaty/go-wechaty) [![Go](https://github.com/wechaty/go-wechaty-getting-started/workflows/Go/badge.svg)](https://github.com/wechaty/go-wechaty-getting-started/actions?query=workflow%3AGo)\n\n[![Go Wechaty](https://wechaty.github.io/go-wechaty/images/go-wechaty.png)](https://github.com/wechaty/go-wechaty-getting-started)\n\n[![Gitpod Ready-to-Code](https://img.shields.io/badge/Gitpod-Ready--to--Code-blue?logo=gitpod)](https://gitpod.io/#https://github.com/wechaty/go-wechaty-getting-started) \n[![Go Playground](https://img.shields.io/badge/Go-Playground-7de)](https://play.golang.org/p/JGw_2TrVQeg)\n[![Wechaty in Go](https://img.shields.io/badge/Wechaty-Go-7de)](https://github.com/wechaty/go-wechaty)\n\nGo Wechaty Starter Project Template that Works Out-of-the-Box\n\n## Connecting Chatbots\n\n[![Powered by Wechaty](https://img.shields.io/badge/Powered%20By-Wechaty-brightgreen.svg)](https://github.com/Wechaty/wechaty)\n\nWechaty is a RPA SDK for Wechat **Individual** Account that can help you create a chatbot in 6 lines of Go.\n\n## The World's Shortest Go ChatBot: 7 lines of Code\n\n```go\npackage main\n\nimport (\n  \"fmt\"\n\n  \"github.com/wechaty/go-wechaty/wechaty\"\n)\n\nfunc main() {\n\t_ = wechaty.NewWechaty().\n\t\tOnScan(func(ctx *wechaty.Context, qrCode string, status schemas.ScanStatus, data string) {\n\t\t\tfmt.Printf(\"Scan QR Code to login: %s\\nhttps://wechaty.github.io/qrcode/%s\\n\", status, qrCode)\n\t\t}).\n\t\tOnLogin(func(ctx *wechaty.Context, user *user.ContactSelf) { fmt.Printf(\"User %s logined\\n\", user) }).\n\t\tOnMessage(func(ctx *wechaty.Context, message *user.Message) { fmt.Printf(\"Message: %s\\n\", message) }).\n\t\tStart()\n}\n```\n\n## Requirements\n\n1. Go 1.14+\n\n## Install\n\n```shell\nmake install\n```\n\n## Run\n\nGet a Token for your Bot first. Learn more from our [Wechaty Developers Program](https://github.com/wechaty/wechaty/wiki/Wechaty-Developer-Program)\n\n```sh\nexport WECHATY_PUPPET_SERVICE_TOKEN=your_token_at_here\n\nmake bot\n```\n\n## Wechaty Getting Started in Multiple Languages\n\n- [TypeScript Wechaty Getting Started](https://github.com/wechaty/wechaty-getting-started)\n- [Python Wechaty Getting Started](https://github.com/wechaty/python-wechaty-getting-started)\n- [Java Wechaty Getting Started](https://github.com/wechaty/java-wechaty-getting-started)\n- [Go Wechaty Getting Started](https://github.com/wechaty/go-wechaty-getting-started)\n\n## Badge\n\n[![Wechaty in Go](https://img.shields.io/badge/Wechaty-Go-7de)](https://github.com/wechaty/go-wechaty)\n\n```md\n[![Wechaty in Go](https://img.shields.io/badge/Wechaty-Go-7de)](https://github.com/wechaty/go-wechaty)\n```\n\n## Maintainers\n\n[@wechaty/go](https://github.com/orgs/wechaty/teams/go/members)\n\n## Copyright \u0026 License\n\n- Code \u0026 Docs © 2020 - now Wechaty Contributors \u003chttps://github.com/wechaty\u003e\n- Code released under the Apache-2.0 License\n- Docs released under Creative Commons\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwechaty%2Fgo-wechaty-getting-started","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwechaty%2Fgo-wechaty-getting-started","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwechaty%2Fgo-wechaty-getting-started/lists"}