{"id":37985162,"url":"https://github.com/fastwego/miniprogram","last_synced_at":"2026-01-16T18:38:29.042Z","repository":{"id":43196546,"uuid":"284262090","full_name":"fastwego/miniprogram","owner":"fastwego","description":"[微信小程序/小游戏] A fast wechat miniprogram/minigame development sdk written in Golang","archived":false,"fork":false,"pushed_at":"2023-04-07T14:47:58.000Z","size":201,"stargazers_count":78,"open_issues_count":2,"forks_count":19,"subscribers_count":7,"default_branch":"master","last_synced_at":"2024-06-18T21:47:28.146Z","etag":null,"topics":["fastwego","minigame","miniprogram","wechat","weixin"],"latest_commit_sha":null,"homepage":"https://fastwego.dev","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/fastwego.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":["https://public.zsxq.com/groups/48415121824218.html","https://pic2.zhimg.com/80/v2-6b84f07b309b6e1ad1b3141c3e9d34dc_1440w.png"]}},"created_at":"2020-08-01T13:08:57.000Z","updated_at":"2024-06-18T08:34:10.000Z","dependencies_parsed_at":"2024-06-18T21:33:50.009Z","dependency_job_id":"414014e8-c7fa-46d1-8188-64d0e87a7756","html_url":"https://github.com/fastwego/miniprogram","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/fastwego/miniprogram","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fastwego%2Fminiprogram","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fastwego%2Fminiprogram/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fastwego%2Fminiprogram/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fastwego%2Fminiprogram/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fastwego","download_url":"https://codeload.github.com/fastwego/miniprogram/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fastwego%2Fminiprogram/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28481019,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-16T11:59:17.896Z","status":"ssl_error","status_checked_at":"2026-01-16T11:55:55.838Z","response_time":107,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["fastwego","minigame","miniprogram","wechat","weixin"],"created_at":"2026-01-16T18:38:28.954Z","updated_at":"2026-01-16T18:38:29.030Z","avatar_url":"https://github.com/fastwego.png","language":"Go","funding_links":["https://public.zsxq.com/groups/48415121824218.html","https://pic2.zhimg.com/80/v2-6b84f07b309b6e1ad1b3141c3e9d34dc_1440w.png"],"categories":[],"sub_categories":[],"readme":"# fastwego/miniprogram\n\nA fast [wechat miniprogram/minigame](https://developers.weixin.qq.com/miniprogram/dev/framework/) development sdk written in Golang\n\n[![GoDoc](https://pkg.go.dev/badge/github.com/fastwego/miniprogram?status.svg)](https://pkg.go.dev/github.com/fastwego/miniprogram?tab=doc)\n[![Go Report Card](https://goreportcard.com/badge/github.com/fastwego/miniprogram)](https://goreportcard.com/report/github.com/fastwego/miniprogram)\n\n## 快速开始 \u0026 demo\n\n```shell script\ngo get github.com/fastwego/miniprogram\n```\n\n```go\n// 创建小程序/小游戏实例\napp := miniprogram.New(miniprogram.Config{\n    Appid:  \"APPID\",\n    Secret: \"SECRET\",\n})\n\nvar payload = []byte(`{\n  \"begin_date\" : \"20170313\",\n  \"end_date\" : \"20170313\"\n}`)\n\n// 调用 api\nresp, err := datacube.GetDailyRetain(app, payload)\nfmt.Println(string(resp),err)\n```\n\n\n完整演示项目：\n\n[https://github.com/fastwego/miniprogram-demo](https://github.com/fastwego/miniprogram-demo)\n\n接口列表：\n\n- 小程序 [doc/apilist.md](doc/apilist.md)\n- 小游戏 [minigame/doc/apilist.md](minigame/doc/apilist.md)\n- 开放平台 [wxopen/doc/apilist.md](wxopen/doc/apilist.md)\n\n## 架构设计\n\n![sdk](./doc/img/sdk.jpg)\n\n## 框架特点\n\n### 快速\n\n「快」作为框架设计的核心理念，体现在方方面面：\n\n- 使用 Go 语言，开发快、编译快、部署快、运行快，轻松服务海量用户\n- 丰富的[文档](https://pkg.go.dev/github.com/fastwego/miniprogram) 和 [演示代码](https://github.com/fastwego/miniprogram-demo) ，快速上手，5 分钟即可搭建一套完整的微信服务\n- 独立清晰的模块划分，快速熟悉整个框架，没有意外，一切都是你期望的样子\n- 甚至连框架自身的大部分代码也是自动生成的，维护更新快到超乎想象\n\n### 符合直觉\n\n作为第三方开发框架，尽可能贴合官方文档和设计，不引入新的概念，不给开发者添加学习负担\n\n### 官方文档就是最好的文档\n\n每个接口的注释都附带官方文档的链接，让你随时翻阅，省时省心\n\n### 完备的单元测试\n\n100% 覆盖每一个接口，让你每一次调用都信心满满\n\n### 详细的日志\n\n每个关键环节都为你完整记录，Debug 倍轻松，你可以自由定义日志输出，甚至可以关闭日志\n\n\n### 支持服务集群\n\n单台服务器支撑不住访问流量/想提高服务可用性？\n\n只需 [设置 GetAccessTokenFunc 方法](https://pkg.go.dev/github.com/fastwego/miniprogram/?tab=doc#example-Miniprogram.SetGetAccessTokenHandler) ，从中控服务获取 AccessToken，即可解决多实例刷新冲突/覆盖的问题\n\n### 活跃的开发者社区\n\nFastWeGo 是一套完整的微信开发框架，包括公众号、开放平台、微信支付、企业微信、小程序、小游戏等微信服务，拥有庞大的开发者用户群体\n\n你遇到的所有问题几乎都可以在社区找到解决方案\n\n\n## 参与贡献\n\n欢迎提交 pr/issue 或者 文档，一起让微信开发更快更好！\n\nFaster we go together!\n\n[加入开发者交流群](https://github.com/fastwego/fastwego.dev#%E5%BC%80%E5%8F%91%E8%80%85%E4%BA%A4%E6%B5%81%E7%BE%A4)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffastwego%2Fminiprogram","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffastwego%2Fminiprogram","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffastwego%2Fminiprogram/lists"}