{"id":13827275,"url":"https://github.com/sundy-li/wechat_autojump_game","last_synced_at":"2025-08-12T23:07:53.392Z","repository":{"id":82322720,"uuid":"115780723","full_name":"sundy-li/wechat_autojump_game","owner":"sundy-li","description":"用Golang实现微信跳一跳游戏自动玩","archived":false,"fork":false,"pushed_at":"2018-01-04T04:34:11.000Z","size":329,"stargazers_count":149,"open_issues_count":6,"forks_count":44,"subscribers_count":12,"default_branch":"master","last_synced_at":"2025-04-25T07:35:25.963Z","etag":null,"topics":["golang","wechat"],"latest_commit_sha":null,"homepage":null,"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/sundy-li.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}},"created_at":"2017-12-30T07:15:30.000Z","updated_at":"2025-04-11T03:42:51.000Z","dependencies_parsed_at":null,"dependency_job_id":"92caedfd-d206-4e52-9518-ee5bfd5f6f8f","html_url":"https://github.com/sundy-li/wechat_autojump_game","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"purl":"pkg:github/sundy-li/wechat_autojump_game","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sundy-li%2Fwechat_autojump_game","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sundy-li%2Fwechat_autojump_game/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sundy-li%2Fwechat_autojump_game/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sundy-li%2Fwechat_autojump_game/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sundy-li","download_url":"https://codeload.github.com/sundy-li/wechat_autojump_game/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sundy-li%2Fwechat_autojump_game/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":270149345,"owners_count":24535728,"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-08-12T02:00:09.011Z","response_time":80,"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":["golang","wechat"],"created_at":"2024-08-04T09:01:53.178Z","updated_at":"2025-08-12T23:07:53.351Z","avatar_url":"https://github.com/sundy-li.png","language":"Go","funding_links":[],"categories":["Go"],"sub_categories":[],"readme":"# 全自动玩微信跳一跳\nGolang实现的自动玩微信跳一跳\n\n\n\n#### 准备条件\n- 需要安装adb驱动, 这里有一篇国外作者的[教程](https://www.xda-developers.com/install-adb-windows-macos-linux/)\n- 手机连接电脑后,进入设置-开发者选项-打开usb调试\n\n准备就绪后,在终端输入`adb devices`, 如果可以看到对应设备,表示adb驱动已经安装配置完毕\n\n\n#### 如何安装使用\n- 安装方法一:\n\n 一键下载安装,无需搭建环境,傻瓜化使用方法\n请在[release](https://github.com/sundy-li/wechat_autojump_game/releases) 页面下载对应操作系统的二进制压缩包,解压后,执行jump文件即可\n\n```\n $  ./jump \n```\n\n- 安装方法二: \n\n手动安装,开发调试\n```\n $ go get -u github.com/sundy-li/wechat_autojump_game\n $ cd $GOPATH/src/github.com/sundy-li/wechat_autojump_game/cmd\n $ go run main.go\n```\n\n\n#### 参数\n- `./jump -s 1.392`, 参数`s`表示距离速度值,不同分辨率可以适当调节\n- `./jump -m 2000`, 参数 `m` 表示休眠时间毫秒值\n\n#### 原理\n- 利用adb shell截图游戏屏幕\n- 读取截屏图片,获取当前位置,下一跳位置,计算跳动距离和触屏时间\n- 利用adb shell发送input swipe事件来跳跃\n\n#### 展示\n实验结果:![game](game.png)\n\n\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsundy-li%2Fwechat_autojump_game","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsundy-li%2Fwechat_autojump_game","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsundy-li%2Fwechat_autojump_game/lists"}