{"id":15844444,"url":"https://github.com/afeiship/wechat-dev","last_synced_at":"2026-04-27T23:32:07.590Z","repository":{"id":96088585,"uuid":"87279229","full_name":"afeiship/wechat-dev","owner":"afeiship","description":"A mini wechat develop env based on ruby.","archived":false,"fork":false,"pushed_at":"2017-04-11T02:31:00.000Z","size":53,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-05-22T22:10:14.115Z","etag":null,"topics":["rails","ruby","wechat","weixin","wx"],"latest_commit_sha":null,"homepage":null,"language":"Ruby","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/afeiship.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":"2017-04-05T07:22:43.000Z","updated_at":"2019-10-28T09:24:37.000Z","dependencies_parsed_at":null,"dependency_job_id":"5f8a9d54-dd0d-44d8-82ab-c00f0bc847ca","html_url":"https://github.com/afeiship/wechat-dev","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/afeiship/wechat-dev","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/afeiship%2Fwechat-dev","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/afeiship%2Fwechat-dev/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/afeiship%2Fwechat-dev/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/afeiship%2Fwechat-dev/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/afeiship","download_url":"https://codeload.github.com/afeiship/wechat-dev/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/afeiship%2Fwechat-dev/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32360110,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-27T20:07:02.737Z","status":"ssl_error","status_checked_at":"2026-04-27T20:07:00.910Z","response_time":128,"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":["rails","ruby","wechat","weixin","wx"],"created_at":"2024-10-05T17:22:25.265Z","updated_at":"2026-04-27T23:32:07.567Z","avatar_url":"https://github.com/afeiship.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# wechat-dev\n\u003e A mini wechat develop env based on ruby.\n\n## run:\n```bash\nsudo rails s -p 80\nrails s -e production -p 80\n\n## dev:\nrails server -e development -b 0.0.0.0 -p 80\n\n# kill \nps aux | grep puma\n\n# RAILS_ENV=production rails s\n## visite: http://wechat-dev.com/apis/notify\n## token:weixintokentest1988\n## GET \"/apis/notify?signature=b27929f0a22280cd9844414284b2e23b27b8f92d\u0026echostr=2653441542986202611\u0026timestamp=1491399873\u0026nonce=1094555034\"\n```\n\n## test notify:\n```bash\nhttp://feiwx.api-check.com/apis/notify\n```\n\n\n## php version:\n```php\n//获得接口认证\n$timestamp = $_GET['timestamp'];\n$nonce = $_GET['nonce'];\n$token = 'weixin';\n$signature = $_GET['signature'];\n//将参数字典化排序\n$tmpArr = array($timestamp,$nonce,$token);\nsort($tmpArr);\n$judgeArr = implode('',$tmpArr);\n$judge = sha1($judgeArr);\n//判断是否符合\nif($judge == $signature)\n{\n    echo $_GET['echostr'];\n    exit;\n}\n```\n\n\n## resources:\n+ http://blog.csdn.net/lissdy/article/details/41849793\n+ http://www.voidcn.com/blog/lissdy/article/p-499037.html\n+ http://liuminhan.github.io/blog/2015/04/17/shi-yong-ruby-on-rails-jin-xing-wei-xin-gong-zhong-ping-tai-kai-fa-1/\n\n\n## problems:\n+ http://ask.csdn.net/questions/233403","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fafeiship%2Fwechat-dev","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fafeiship%2Fwechat-dev","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fafeiship%2Fwechat-dev/lists"}