{"id":15091217,"url":"https://github.com/dev-openapi/wx-miniprogram","last_synced_at":"2026-05-15T17:41:09.970Z","repository":{"id":141681674,"uuid":"612544790","full_name":"dev-openapi/wx-miniprogram","owner":"dev-openapi","description":"一个用protobuf生成的微信小程序接口","archived":false,"fork":false,"pushed_at":"2023-07-14T13:32:17.000Z","size":107,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-09-03T17:25:05.725Z","etag":null,"topics":["go","miniprogram","open-api","protobuf","protobuf-go","wechat","wechat-mini-program","wechat-open-platform"],"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/dev-openapi.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":"2023-03-11T09:09:29.000Z","updated_at":"2023-07-14T13:32:21.000Z","dependencies_parsed_at":null,"dependency_job_id":"82a8a8a9-49c9-438d-84ea-7b7c03b0d727","html_url":"https://github.com/dev-openapi/wx-miniprogram","commit_stats":null,"previous_names":["g-openapi/wxmp","ga-openapi/wxmp","dev-openapi/wxmp","dev-openapi/wx-miniprogram","open-api-go/wxmp"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/dev-openapi/wx-miniprogram","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dev-openapi%2Fwx-miniprogram","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dev-openapi%2Fwx-miniprogram/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dev-openapi%2Fwx-miniprogram/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dev-openapi%2Fwx-miniprogram/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dev-openapi","download_url":"https://codeload.github.com/dev-openapi/wx-miniprogram/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dev-openapi%2Fwx-miniprogram/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33073446,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-15T11:35:32.926Z","status":"ssl_error","status_checked_at":"2026-05-15T11:35:31.362Z","response_time":103,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: 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":["go","miniprogram","open-api","protobuf","protobuf-go","wechat","wechat-mini-program","wechat-open-platform"],"created_at":"2024-09-25T10:36:33.493Z","updated_at":"2026-05-15T17:41:09.939Z","avatar_url":"https://github.com/dev-openapi.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# wx-miniprogram \n\n微信小程序接口，使用protobuf生成的。\n\n生成工具是[protoc-gen-go_api](https://github.com/dev-openapi/protoc-gen-go_api)\n\n\n## 如何使用\n\n在自己的项目中添加此包 github.com/dev-openapi/wx-miniprogram\n\n初始化包 `wxLoginService := miniprogram.NewLoginService()`\n\n然后根据自己的需要，用`wxLoginService`去调用想用的接口\n\n## 如何添加新接口\n\n首先要安装protoc,protoc-gen-go和protoc-gen-go_api。前面两个如何安装，请参考网上教程搜索\n\n```shell\ngo install github.com/dev-openapi/protoc-gen-go_api@latest\n```\n\n下载[protocol](https://github.com/dev-openapi/protocol)仓库\n\n下载本项目，与protocol是同一级目录\n\n然后根据文档在protocol项目中写好proto文件，再执行make wx-miniprogram会自动生成到本项目目录，最后提交两个项目即可\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdev-openapi%2Fwx-miniprogram","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdev-openapi%2Fwx-miniprogram","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdev-openapi%2Fwx-miniprogram/lists"}