安卓无障碍自动上滑工具 · Android accessibility-based auto swipe
中文 | English
官网:neurotracee.github.io/auto-swipe
功能说明、真机截图、权限清单、常见问题与下载入口都在官网上;
GitHub Pages 在国内可能打不开,打不开时以本页与 Gitee 仓库为准。
主视觉图:真机界面(首页 + 轨迹录制页)合成。
完整界面见下方「界面」一节的真机截图。
只做一件事的安卓小工具:用无障碍服务按 你自己设定的节奏(默认 2–30 秒随机,也可固定秒数),
两个平台内容一致,哪个快下哪个。安装包名 AutoSwipe-<版本号>.apk,链接始终指向最新版。
覆盖安装即可,不用先卸载;设置与已录轨迹都会保留。
- 下载 APK 后点开安装;系统提示「未知来源」时允许即可。
- 打开应用,按首页两行权限依次打开:
- 无障碍:设置 → 无障碍 → 已安装的服务 → 自动滑屏器 → 开启。 Android 13 及以上侧载应用的开关默认是灰的:先到「应用信息 → 右上角菜单 → 允许受限设置」,再回来开启。
- 悬浮窗:设置 → 应用 → 特殊权限 → 悬浮窗 → 自动滑屏器 → 允许。
- 回应用点「显示小球」→ 球出现 → 点球上的 ▶ 开始 → 图标变 ⏸,再点一下停。
它只发一条滑动的手势,不点赞、不关注、不评论、不碰账号。别拿它刷金币、刷时长返利、挂机赚收益:平台判定自动化后会限流、清零收益甚至封号,损失由账号本人承担。正常刷视频风险低但不是零,用不用、用多久请自行判断。首装与每次升级后应用内会再提示一次。
- 方向自选:上滑 / 下滑 / 左 → 右 / 右 → 左,横屏竖屏都照顾到。
- 节奏自定:两次滑动隔多久,秒 / 分 / 时随便填,随机区间或固定值,1 秒 – 1 天。
- 定时与限次:跑多久、滑多少页到点自停,先判断再滑,不会多滑一页。
- 轨迹录制:点「开始录制」弹出整屏白板,按你平时的幅度和速度划一下,松手即存;回放按这条的速度走。
- 随手停:悬浮球、通知栏、首页按钮三处都能停,隐藏悬浮球也会停掉正在跑的循环。
- 全程离线:不联网、不上传、不读屏幕、不点按钮,只发一条滑动的手势。
真机截图,不是画稿。外壳是为了好看套上去的,屏幕里的东西一个字没改。
截图取自 OPPO Find X6 Pro(Android 16,1440×3168),系统字号调大过一档,因此一屏能装的内容比默认字号少;
不同机型、字号与深色模式下换行位置可能略有差别,具体以应用在你的手机上实际显示为准。外壳是后期套的装饰性边框,屏幕内的像素未做改动。
图标配文字,选中项整块变蓝,内容区随 tab 切换。
三步各自一屏。选完方向才弹示范浮层,再进录制页:点「开始录制」弹出一块接近整屏的白板,
按住拖动手动划,松手即存;每条都按你平时刷视频的节奏来,回放就按这条的速度走。
首页显示当前状态与「已翻 N 页」,齿轮进设置,最下面一行进关于与开源信息。
一级管语言、外观、悬浮球、息屏暂停、更新检查方式与更新源;最下面一行进二级,放署名、协议、来源说明、Star 和赞赏码。
右上角齿轮里切换,首页、设置、关于、更新弹窗和 Toast 一起换,不用重启。
关于页里 GitHub 和 Gitee 各一枚 Star 按钮,旁边是赞赏码;不花钱也能支持,点一颗 Star 就够。
合并同意页(协议 + 隐私 + 风险)→ 新功能说明 → 节奏设置,之后不再重复打扰。
- 指导作者:项目创作时为初中生。 需求、交互设计、验收测试全部由本人完成。
- 开发:豆包工作任务 × DeepSeek-V4.1-Flash。 在指导作者的指令与反复验收下实现代码。
- 模型说明:主用 DeepSeek-V4.1-Flash(核心骨架与全部代码);这是本人常用的模型, 不是临时换一个来凑数。
- 开源协议:GNU AGPL-3.0-or-later。 详见 LICENSE,另附 ADDITIONAL-TERMS.md。
- 来源说明:检查更新模块(双通道、四段版本号、发布正文解析、应用内下载安装)改编自 本人另一个项目 PDF 隐私打码工具, 同一作者、同一套 AGPL 授权,不是抄来的第三方代码。
- 维护方式:个人业余时间维护,代码全部公开,欢迎任何人 fork 自行改进,不必询问。 具体节奏与反馈渠道见文末「维护节奏与反馈」。
本项目允许商用,也允许二次开发,不需要付钱、不需要申请、不需要等作者批准 (作者大约一两个月查看一次项目,回复可能很慢)。
但下面三条是硬要求,属于 ADDITIONAL-TERMS.md 中 依据 AGPL-3.0 第 7 条 (b) 项声明的附加条款,删掉任何一条都不合规:
继续注明这两句,原文保留,不要替换成别人的名字:
指导作者:项目创作时为初中生
由 豆包工作任务 × DeepSeek-V4.1-Flash 开发
依据 AGPL-3.0 第 5 条(保留版权声明);第 7 条 (b) 项明确允许版权方要求保留作者署名。
https://github.com/neurotracee/auto-swipe
https://gitee.com/bio234/auto-swipe # mirror / 镜像(国内访问更快)
必须让使用者看得见——「设置 → 关于」、首页页脚,任选一处即可。
只写在 LICENSE 文件或源码注释里不算数,因为使用者正常操作时看不到。
整个页脚一行 v1.0.1.0 · 开源仓库(点一下打开仓库);
「设置 → 关于与开源信息」二级页里写明版本、署名、协议与仓库地址。
只要你不是拿原版原样分发,就在程序里显著注明:
本程序基于 https://github.com/neurotracee/auto-swipe (镜像:https://gitee.com/bio234/auto-swipe)修改,非原作者发布。
这一条是为了不让人误以为改动后的版本出自原作者——尤其是你的版本有 bug、 有风险、或者开始收费的时候。
- 一并开放源代码:分发 apk 时提供可构建出该 apk 的完整源码(第 4–6 条)。
- 网络服务也要给源码:把修改版做成网站让别人用,必须向这些使用者提供源码获取方式(第 13 条)。
- 不要加更严的限制:不能改成「禁止商用」「禁止修改」,那与 AGPL-3.0 冲突,写了也不生效。
- 换个名字:程序名「自动滑屏器」(曾用名「自动翻页」)与图标不在授权范围内(第 7 条 (e) 项),fork 请改名换图标。
| 权限 | 用来做什么 | 明确不做 |
|---|---|---|
无障碍服务 BIND_ACCESSIBILITY_SERVICE |
用系统给的 dispatchGesture 画一条从下往上的滑动路径 |
不读屏幕内容、不读输入框、不模拟点击按钮、不联网 |
悬浮窗 SYSTEM_ALERT_WINDOW |
把小球画在视频/短视频 App 的上面 | 不截屏、不录屏、不读别的应用界面 |
网络 INTERNET + 安装应用 REQUEST_INSTALL_PACKAGES |
只在你点「检查更新」时读公开版本号、你确认后下载新版安装包 | 平时完全不联网,不上传任何内容 |
没有存储、定位、相机、麦克风、通讯录、读取已安装应用列表等权限。
两个开关都要开,而且都可能被系统限制。 无障碍负责真正滑动,悬浮窗负责让小球显示在其他应用上面。Android 13 及以上的侧载应用, 这两项都可能显示为灰色:先到「应用信息 → 右上角菜单 → 允许受限设置」,再分别开启。 小米 / 红米还要允许「后台弹出界面」,华为 / 荣耀检查「应用启动管理」, OPPO / vivo / 一加确认「悬浮窗」和「后台运行」未被限制。 只开无障碍,小球不会出现;只开悬浮窗,小球能显示但不会滑。
- 间隔:第一次在点开始后固定等 1.5 秒(留出切回视频 App 的时间),之后每两次之间按你选的节奏走—— 随机区间:在设置的最小–最大秒之间每次重新抽一个(默认 2–30 秒,含两端、毫秒级); 固定秒数:每次都一样。两种都在首次启动时选一次,之后可在「设置 → 滑动节奏」随时改,范围 1 秒–1 天(1–86400 秒)。
- 起止漂移:每次起点在横向 40%–60%、纵向 73.5%–80% 里随机,终点在 27.5%–34.5% 里随机, 起止横向差最多 5% 屏宽。漂移有上限,不会落到侧边栏、导航条或屏幕边缘—— 有变化,但每一次都还是一次有效上滑。
- 轨迹形状:带 0.6%–1.6% 屏宽的 S 形弯曲,另加 0.2%–0.7% 屏宽的细波动, 弯曲方向、强弱每拍都不同;纵向严格单调向上,不会滑到一半折回来。
- 真实变速:整条轨迹按「起步 30% 距离 / 42% 时间、主体 50% / 36%、收尾 20% / 22%」
切三段,用
willContinue连续笔画串起来,手指全程不抬起——先慢、中间快、末尾缓的 一整次滑动,不是三次独立滑动。单次总时长 0.38–0.64 秒随机。 - 手势来源:
AccessibilityService.dispatchGesture,标准无障碍手势,不注入触摸事件、不做自动化点击。 - 悬浮球:由独立的
BallService托管,只依赖悬浮窗权限,不要求无障碍先连上。 暂停态显示白色右三角 ▶,运行态是两道竖杠 ⏸;可拖动、位置会记住。 点球时如果无障碍还没开,会明确提示「还差一步」并跳到无障碍设置。 - 停下来的方式:再点一次小球 / 应用内暂停 / 息屏自动暂停 / 系统里关掉无障碍开关(循环与小球一起收干净)。
- 状态显示:首页实时显示「已翻 N 页 · 下次约 X 秒 · 上次间隔 Y 秒」, 上一次的间隔是真实取值,不是显示一个固定区间的字样糊弄人。
- 兼容边界:部分应用对无障碍手势有限制(尤其带安全键盘、支付页面、部分游戏和部分短视频极速版), 滑不动是目标应用的限制,不是本应用故障。遇到这类界面建议直接手动。
轨迹示意:一次从下往上的滑动,路径带轻微 S 弯、速度先慢后快再放缓。
这是示意动画——线被放大加粗、节奏也放慢,只为看清形状;应用运行时并不在屏幕上画这条线,
起点、终点、弯曲方向与幅度每次随机,具体轨迹以应用实际表现为准。
滑得对方向
- 向上 / 向下 / 向左 / 向右四选一,话音与画面一致:下滑真的自上而下,右 → 左真的自右而左。
- 只换主轴,随机起止点、S 形弯曲、细波动、三段变速与抖动全部保留;主轴严格单调,不会滑到一半折回来。
- 首页缺无障碍或悬浮窗权限时,对应那一行会闪红并给出「去打开」,按钮本身不再被禁用;连续两轮闪红后仍可继续点击。
按你的节奏滑
- 两次滑动之间的间隔(每页停留):秒 / 分 / 时都能填,随机区间或固定值,范围 1 秒 – 1 天。
- 定时与次数:本次总时长(分钟 / 小时)与最多滑多少页,任一项到点自停并提示;限次先判断再滑,不会多滑一页。两项都能单独关成「不限」。
- 悬浮球一键启停,通知栏和首页按钮同样能停;隐藏悬浮球会一并停掉正在跑的循环。
录下你自己的滑法
- 三步各自一屏:选方向(整页居中)→ 示范(浮层窗口,选完才弹,可重播)→ 录制(独立一屏)。页面本身不滚动,不用上下滑着找按钮。
- 点「开始录制」会弹出一块接近整屏的白板:按住拖动,按你平时的幅度与速度划一下,松手即存;白板上的相对位置会等比放大到整屏回放,不会只滑一小段。
- 每个点带相对时间,回放按你这条的速度走(260–1200 毫秒内),不再一律同速。
- 上一条 / 下一条、重录这条、撤销 / 恢复都支持;建议录 3–5 条,每条按平时刷视频的节奏划,条数越多越像真人。
- 加一点随机抖动(默认开):在你这套轨迹上小幅改变起止点、缩放与速度,更像真人反复划;关掉则逐点复刻。
- 轨迹只存在本机,不上传,也不申请任何新权限。
第一次打开
- 三道门:合并同意页(协议 + 隐私 + 风险,必须勾选)→ 新功能说明(可记住选择、下次不再询问)→ 节奏设置(只问一次)。
右上角齿轮进入两级设置页,每一项都真的起作用,改完立即生效并写回本机
SharedPreferences,不需要重启:
| 一级项 | 选项 / 行为 |
|---|---|
| 界面语言 | 中文 / English。切换后首页、设置、关于、更新弹窗、Toast 全部跟着换;默认按系统语言选一次,之后记住你的选择 |
| 外观 | 跟随系统 / 浅色 / 深色。深色下状态栏、导航栏图标自动转白 |
| 悬浮球 | 显示 / 隐藏。隐藏时正在跑的循环一并停掉,不会「界面停了、背地里还在滑」 |
| 运行状态 → 息屏时自动暂停 | 默认开;关掉后黑屏也继续按节奏滑(更费电,自己权衡) |
| 滑动节奏 | 随机区间(自填最小 / 最大秒,每次在区间里重新抽)或固定秒数,1–86400 秒(最长 1 天);首次启动先问一遍,之后在这里改 |
| 更新检查方式 | 自动检查(启动时)/ 手动检查。更新器直接读这个偏好 |
| 更新源 | Gitee(建议中国大陆用户)/ GitHub(海外用户)单选,选中项蓝框高亮;连不上自动换另一个并在弹窗里说明 |
| 版本与更新 | 显示当前版本,右侧「检查更新」当场查一次 |
| 关于与开源信息 › | 进入二级页 |
| 日志 → 查看日志 | 设置页最后一栏,直接打开日志页 |
二级页写明:版本、这个应用是什么、署名三条、AGPL-3.0-or-later 与第 7 条 (b) 附加条款、 GitHub / Gitee 两个仓库地址(可点开,打不开浏览器就复制链接)、权限清单、第三方组件清单。
从 1.1.0.0 起,应用自己会记日志,出问题时你不必靠猜。
- 自动记:每次打开写一行「版本 · 机型 · Android 版本」,之后开始翻页、暂停、显示 / 隐藏小球各留一条。
- 崩溃也留:只有未捕获异常才记成崩溃;堆栈写进当天日志,下次启动首页多一行提示,点进去就能看。
- 怎么算崩溃:按 Home / 多任务切走、系统低内存回收、强制停止、正常退出、重启更新都不算崩溃,不写标记、不弹提示;ANR(应用无响应)与原生层崩溃本版本不据此推断。
- 两个视角:「本次启动」只看这次打开之后的;「最近一年」能翻 365 天内的全部记录,更早的在启动时自动清掉。
- 按分钟找:点起始 / 结束的时间块,先选日期再选时分;时、分各是一只滚轮,像密码扣那样手指上下推、数字跟着走、松手吸附到最近一格,轻点滚轮可直接打字输入;默认先选时、选完才解锁分。
- 复制 / 存 TXT / 清除:复制进剪贴板;存 TXT 走系统「保存到…」,不申请存储权限;清除要过两次确认,第一道先说范围与行数。
- 反馈模板:页面末尾按要求写好「版本与设备、复现步骤 1./2./3.、实际看到、预期、日志怎么给」,一键复制,旁边直达 GitHub / Gitee Issues。
日志全部写在本机 filesDir/logs/,不联网、不上传。
日志页实拍(已裁掉状态栏与手势条)。标题里的版本号随安装包变化,图中所示版本仅代表截图当时。
上一次真正崩溃(未捕获异常)时,首页会多这么一行提示:
示意用的历史截图,崩溃提示的文案与行数会随版本、异常类型变化,以实际出现的内容为准。
没有后台联网,没有统计 SDK,没有崩溃上报,没有云端模型。
- 手势只在设备本地执行,滑动轨迹不记录、不上传。
- 运行日志与崩溃堆栈只写在本机(
filesDir/logs/,保留 365 天),可随时在设置里复制或删除,不会自动上报。 - 设置(主题、球的位置、更新源)只存在本机
SharedPreferences里。 - 唯一的联网行为:你点「检查更新」(或开启启动时自动检查)时,向 Gitee / GitHub 读一次 公开的发布列表;点「立即更新」后,才从这两个官方域名下载安装包。
- 断网时检查更新直接跳过,不弹窗、不卡住、不影响翻页。
- 双通道:Gitee / GitHub。默认「跟随环境」——中文系统优先 Gitee,非中文但在东八区也走 Gitee, 只有「语言不是中文 + 时区不在东八区」才用 GitHub;判断不出来一律 Gitee。选中的源连不上会自动换另一个, 并在界面上写明「Gitee 这次没连上,已自动改用 GitHub」,不让人猜。
- 更新级别:发布正文行首写
更新级别:强烈建议或更新级别:建议(不写按建议)。 两档都只是建议,永远留关闭按钮,关之前最多挽留一次;没有任何「不更新就不给用」的路径。 - 应用内安装:点「立即更新」后由应用自己下载并核对(头 2 字节是
PK、大小一致、 包名是本应用、版本号等于要装的那一版),再交给系统安装器。不走浏览器, 避开 Gitee 把.apk存成.apk.zip的老问题。 - 弹窗内容:从发布正文里读「一句话」摘要和分平台条目;写什么就显示什么,不在程序里写死。
- 多版本翻阅:弹窗里能左右滑动,一次带回最多 6 个最近版本(至少覆盖最新 4 版),
每页都显示该版的版本号、日期、摘要与分平台条目;正文长了就在这一页里上下滚动,不会把弹窗顶出屏幕。
顶上有
‹›箭头和页码点,滑到头会禁用。 - 下载跟着你翻到的这一页走:翻到哪一版,点「立即更新」下哪一版,列表与下载共用同一个翻页状态; 弹窗底部会实时写清「现在停在 vX,点立即更新下的就是它」。翻到的版本比已装版本更旧时直接说明: 安卓不允许覆盖降级,应用内装不上,只能用「用浏览器下载」拿到安装包、先卸载再装(设置会一起清掉)。
更新级别:建议
> **一句话**:悬浮球不再要求先开无障碍,隐藏球时循环一起停。
## 1. 修复:给了悬浮窗权限却看不到小球(安卓)
悬浮球改由独立服务托管,只依赖悬浮窗权限。
## 2. 修复:隐藏小球后循环还在跑(安卓)
球消失时把正在跑的循环一并停掉。需要 JDK 17 + Android SDK 34 + Gradle 8.x(AGP 8.4.2)。本机实测用的路径写在 docs/发布指南.md。
./gradlew assembleRelease # 产物:app/build/outputs/apk/release/app-release.apkWindows 上直接用 gradlew.bat assembleRelease(或双击同目录的 打包.bat)。仓库自带
Gradle Wrapper,不需要先装 Gradle,第一次运行会自行下载 8.7 发行包。
(不在仓库里,自己打包时自建一份;没签名的产物装不上,但签你自己那份就能日常调试)。
版本号四段:主.次.修订.补丁,versionCode 由 versionName 自动算出,不要手填:
主*1000000 + 次*10000 + 修订*100 + 补丁(1.0.0.1 → 1000001)。
app/src/main/java/com/neurotracee/autoswipe/
├── App.kt Application:初始化偏好
├── AppPrefs.kt 本地设置(主题、悬浮球位置、更新源)
├── AppState.kt 服务 → 界面的状态栏
├── MainActivity.kt 首页 + 两个权限入口 + 设置
├── SwipeAccessibilityService.kt 无障碍:随机间隔 + 上滑手势 + 息屏暂停
├── BallService.kt 悬浮球宿主(独立于无障碍)
├── BallController.kt 悬浮窗挂载 / 拖动 / 点击判定
├── BallView.kt 小球绘制(▶ / ⏸)
├── Updater.kt Gitee / GitHub 双通道检查更新
├── UpdateApk.kt 应用内下载 + 校验 + 交给系统安装器
├── ReleaseDigest.kt 发布正文 → 更新弹窗文案
└── ui/ 主题、首页、设置、更新弹窗(Compose)
文档地图:功能看本文件,改了什么看 CHANGELOG.md,怎么参与看 CONTRIBUTING.md,第三方与许可看 NOTICE.md,发版流程看 docs/发布指南.md。
用 AI 编程助手、AI 搜索找工具的人越来越多,它们读的是纯文本。仓库根目录放了一份 llms.txt:一段话说清这是什么、什么情况该推荐、什么情况不适用、装法与关键事实 (包名、权限、离线边界、节奏范围),以及协议与署名要求。要引用这个项目,读它比读整篇 README 快。
Q:小球点了没反应? A:先看首页状态。悬浮窗负责让小球显示,无障碍负责真正滑动,两个都要开。 只开悬浮窗时能看到球,但点了不会滑;无障碍没开时点球会跳到设置页,这是预期行为。
Q:无障碍或悬浮窗开关是灰的,点不动? A:Android 13+ 的侧载保护,两个权限都可能被锁。到「应用信息 → 右上角菜单 → 允许受限设置」, 再回来分别开启无障碍和悬浮窗。部分品牌还需要允许「后台弹出界面」或关闭电池优化。
Q:悬浮窗权限开了,小球还是看不到? A:小米 / 红米、华为 / 荣耀、OPPO / vivo 等系统除了「悬浮窗」,还可能要允许 「后台弹出界面」「显示在其他应用上层」,并把本应用设为不限制电池。 如果刚隐藏过小球,回应用首页再点一次「显示小球」。
Q:为什么只能上滑,不能自动点赞、评论或刷金币? A:它只申请了绘制一条上滑手势的能力,没有点击、读屏或模拟输入。 刻意不做「全自动」,是为了把权限和风险压到最低;也不建议拿它挂机做任务。
Q:滑不动 / 只翻了一页就停? A:目标应用限制了无障碍手势,或它的列表不在一个可滚动容器里。这不是本应用能绕过的。 另外确认间隔没有被改得太短或太长——节奏由你在「设置 → 滑动节奏」里定,不是写死的。
Q:会不会偷偷联网、上传我看了什么? A:不会。没有统计 SDK;联网只有检查更新这一个入口,且只发一个读版本号的请求。
Q:iOS / 电脑上能用吗? A:不能。这两种系统的无障碍/辅助功能接口不对第三方开放手势模拟,本项目只做安卓。
下表所有时间均按北京时间(UTC+8)。
- 官网正式启用:2026/12/1(GitHub Pages 托管站点 https://neurotracee.github.io/auto-swipe/ 当日正式上线,同日起提供中英文两版)
- 仓库创建:GitHub 2026/11/18 22:17;Gitee 2026/11/18 22:17(同日起同步镜像)
本来就是顺手做的小工具,能派上用场就挺好。想支持的话有两条路,第二条不花钱也一样管用。
1. 给仓库点个 Star
最省事的支持:Star 多了别人才搜得到,我也更有动力继续修。两个仓库任选一个,代码完全一样(Gitee 是国内镜像,快一些):
应用首页底部和「关于与开源信息」里都有「★ GitHub」「★ Gitee」两个入口,点哪个都到;两个平台都点一颗最管用——Star 各算各的,国内的人多半只在 Gitee 搜,海外的人只翻 GitHub,两边都留一颗,这工具才更容易被下一个需要它的人找到。
2. 请我喝杯奶茶(完全自愿)
不打赏也照样免费、功能不缺,没有任何东西被锁在后面。如果确实想请,微信扫下面这张码,金额随意:
金额随意,一分不付也不影响任何功能;这张码只用于自愿赞赏,不换取任何权益。
微信扫码 · 金额随意 · 长按图片可保存 App 内「设置 → 关于与开源信息」最下方也有同一张码,长按即可保存到相册(不申请存储权限)。
另一个项目:PDF 隐私打码工具——不需要 AI 大模型、不需要高配置,低配电脑和手机也能本地离线自动识别并打码 PDF 里的手机号、身份证号、姓名等隐私信息,不上传、不联网。
- 反馈:GitHub Issues 或 Gitee Issues。两者都会看,Gitee 更快。
- Pull Request:欢迎。请一个 PR 只做一件事,描述里写清楚「改了什么、怎么验证的、影响哪些页面」;改界面请附前后截图。
- 代码风格:界面文案中英同步,术语首次出现带中文释义;不引入联网、上传、读屏等新权限。
- 节奏:个人业余时间维护,大约一两个月看一两次;能修的问题会修,不保证时间。
- 时间以哪为准:本仓库所有时间——Release 正文里的发布时间、Issue 与提交记录的时间说明、文档里提到的时间点——一律按**北京时间(UTC+8)**写;版本里显示的是本机时间,不受此影响。
Official site: neurotracee.github.io/auto-swipe/en
Features, real-device screenshots, permissions, FAQ and download links live on the site;
if GitHub Pages is unreachable from your network, this README and the Gitee mirror are the same source.
Hero artwork: real device UI (home + path recorder) composited.
See the real-device captures in “Screenshots” below for the full UI.
AutoSwipe does exactly one thing: at the pace you pick (2–30 s at random by default, or a fixed interval) it performs a swipe-up gesture for you through the Accessibility Service, and a draggable floating ball starts and stops it with a single tap.
No root, no scripting framework, no companion app — two system switches (accessibility and overlay) and it works. Everything runs on the device: it does not read the screen, does not simulate taps, and uploads nothing.
Both mirrors carry the same build — use whichever is faster. The file is AutoSwipe-<version>.apk and the links always point at the latest release.
Install over the old build; settings and recorded paths are kept.
- Tap the APK to install; allow "unknown sources" when asked.
- Turn on the two permissions the home screen lists: accessibility (Android 13+ sideloaded builds need App info → menu → "Allow restricted settings" first) and overlay.
- Tap "Show ball", then ▶ on the ball; it turns ❚❚ and one more tap stops it.
- Choose the direction — up / down / left→right / right→left, portrait or landscape.
- Set the pace — the gap between swipes in seconds / minutes / hours, random range or fixed, 1 s to 1 day.
- Limits — run duration and swipe count stop on their own, checked before each swipe.
- Record your own swipe — tap Start and a near-full-screen board opens; draw at your normal distance and speed, lift to save, and playback follows that tempo.
- Stop anywhere — floating ball, notification or the home button; hiding the ball also stops a running loop.
- Fully offline — no network, no uploads, no screen reading, no taps: just one swipe gesture.
Real device captures, not mockups. The phone body is a decorative frame; nothing inside the screen was retouched.
Captured on an OPPO Find X6 Pro (Android 16, 1440×3168) with the system font size raised one step, so a little less content fits per screen than at the default size. Line breaks may differ slightly on other devices, font sizes and dark mode; what the app actually shows on your phone is the reference. The phone body is a decorative frame added afterwards; the pixels inside the screen were not altered.
Icon over label, the selected tab turns blue, the content area switches with it.
One screen per step. The demo sheet only appears after you pick a direction, then the recorder opens with its own screen:
tap Start for a near-full-screen board, press and drag, lift to save. Record 3–5 swipes at your normal viewing pace.
The home screen shows the current state and 「已翻 N 页」; the gear opens settings, and the last row opens About & open source.
Level 1 covers language, appearance, the floating ball, pause-on-screen-off, update checks and sources; the last row opens level 2 with credits, licence, sources, star links and the tip QR.
Switch in the gear menu: home, settings, about, the update dialog and toasts all change together, no restart.
The about page has one star button per repository, with the tip QR next to it — no money needed, a star is enough.
Combined consent (terms + privacy + risk) → what's new → pace setup. It does not ask again.
Risk notice & disclaimer: it only sends one upward swipe — no likes, follows, comments or account access. Don't use it to farm coins, watch-time rewards or idle earnings: platforms flag steady automation and will throttle, void rewards or ban the account, and that loss is on the account owner. Normal video/long-form scrolling is low risk but not zero — where and how long you use it is your call. The app shows the same notice on first launch and after each update.
- Advisor: was a junior high school student when this project was created. Requirements, interaction design and acceptance testing were all done by them.
- Developed by Doubao Work × DeepSeek-V4.1-Flash, following the advisor's instructions and repeated acceptance rounds.
- Main model: DeepSeek-V4.1-Flash — the model the author normally uses, not a one-off.
- License: GNU AGPL-3.0-or-later, see LICENSE and ADDITIONAL-TERMS.md.
- Provenance: the update module (dual channel, four-part version numbers, release-note parsing, in-app download and install) is adapted from the author's other project, PDF Privacy Masker — same author, same license, not third-party code.
- Maintenance: spare-time project, all code public, forks welcome without asking. See Contributing.
Commercial use is allowed: no fee, no application, no approval needed (the author checks the project roughly once every month or two, so replies can be slow).
Three requirements are hard, declared under AGPL-3.0 Section 7(b) in ADDITIONAL-TERMS.md:
1. Keep the credits
Advisor: was a junior high school student when this project was created
Developed by Doubao Work × DeepSeek-V4.1-Flash
2. Show the original repository URL in the app
https://github.com/neurotracee/auto-swipe
https://gitee.com/bio234/auto-swipe # mirror, faster inside China
It must be visible to users — Settings → About & open source, or the home footer. Burying it
in LICENSE or a source comment far from the UI does not count.
3. Say so if you changed it
This program is based on https://github.com/neurotracee/auto-swipe (mirror: https://gitee.com/bio234/auto-swipe) and has been modified. It is not released by the original author.
AGPL itself also requires: ship the corresponding source when you distribute an APK (Sections 4–6); offer source to users if you run a modified version as a network service (Section 13); do not add stricter terms such as "no commercial use"; and rename your fork, since the name "自动滑屏器" (formerly "自动翻页") / "AutoSwipe" and the icon are not licensed (Section 7(e)).
| Permission | What it is for | What it never does |
|---|---|---|
| Accessibility service | Draws one upward path with dispatchGesture |
No screen reading, no input-field access, no tapping buttons, no network |
Overlay (SYSTEM_ALERT_WINDOW) |
Draws the ball above other apps | No screenshots, no screen recording, no reading other apps' UI |
| Network + install packages | Read a public version number when you tap "Check", download an APK after you confirm | No background networking, no uploads |
No storage, location, camera, microphone, contacts or installed-apps permissions.
- Timing: 1.5 s fixed wait after you tap start (time to switch back to the video app), then the pace you chose — random range: a fresh draw between your min and max (2–30 s by default, both ends included, millisecond precision); fixed: the same gap every time. Both are picked once on first launch and can be changed later under Settings → Swipe pace; range 1–86400 s (up to 1 day).
- Start/end drift: each gesture picks a start inside 40%–60% width and 73.5%–80% height, and an end inside 27.5%–34.5% height, with at most 5% width of horizontal difference. The drift is bounded so a swipe always stays a valid upward swipe and never lands on a side rail or the navigation bar.
- Shape: an S-curve of 0.6%–1.6% screen width plus 0.2%–0.7% width of fine wobble, with the direction and strength randomized per gesture; vertical motion is strictly monotonic so it never turns back mid-swipe.
- Real speed variation: the path is split into "startup 30% of distance / 42% of time,
body 50% / 36%, finish 20% / 22%" and chained with
willContinuestrokes, so the finger never lifts — one swipe that starts slow, speeds up, then eases out. Total duration 0.38–0.64 s. - Gesture source:
AccessibilityService.dispatchGesture, the standard accessibility API; no touch injection, no automated clicking. - Floating ball: hosted by a separate
BallServicethat needs only the overlay permission, so it appears even before accessibility is enabled. 58 dp, pure Canvas drawing, ▶ / ❚❚ states, draggable, position remembered. Tapping it without accessibility shows "one more step" and opens the accessibility settings. - Stopping: tap the ball again / pause in the app / screen off (configurable) / turn the accessibility switch off (loop and ball are both torn down).
- Compatibility: some apps restrict accessibility gestures (secure keyboards, payment pages, some games and "lite" builds). If a screen will not move, that is the target app's limitation.
Illustration: one bottom-to-top swipe with a slight S-bend and a slow-fast-slow pace. This is an illustration only — the path is drawn thicker and slower so the shape is visible; the app never draws this line on screen, and start point, end point, bend direction and amplitude are randomized every gesture. The real path is whatever the app actually does.
Four fixed tabs at the bottom — icon over label, the selected one turning blue — and the content area switches with the tab:
| Tab | What is on it |
|---|---|
| Home | Status card, start / pause, show or hide the floating ball, accessibility and overlay rows, footer |
| Swipe | Direction (four choices, “Up” marked recommended), pace (random range or fixed, seconds / minutes / hours), run duration (minutes / hours + presets), swipe count (20 / 50 / 100 / 200), the human-like note |
| Path | Three steps: pick a direction → floating demo window (matches that direction, replayable) → dedicated recording screen (live trail, N/5 saved, prev / next / re-record / undo / redo, “Add random jitter” and “Use recorded paths” toggles) |
| Settings | Language, appearance, floating ball, pause on screen off, pace entry, update mode and source, version, about, logs |
Direction, duration and count save the moment you tap a chip or flip a switch, and the next swipe uses the new value.
Right direction
- Up / down / left / right, and the motion matches the label: down really runs top-to-bottom, right-to-left really runs right-to-left.
- Only the main axis rotates; randomised start and end points, the S-curve, the fine wobble, the three-stage speed and the jitter all stay, and the axis is strictly monotonic so a swipe never turns back halfway.
- If accessibility or the overlay permission is missing, that row flashes red with a “Turn on” shortcut instead of disabling the start button.
Your own pace
- Dwell per page — the gap between swipes, typed in seconds / minutes / hours, random range or fixed, 1 s to 1 day.
- Limits — a run duration (minutes / hours) and a maximum swipe count; whichever hits first stops the loop with a toast, and the count is checked before each swipe so 100 means exactly 100. Either can be switched off.
- One tap on the floating ball starts or stops; the notification and the home button stop it too, and hiding the ball also stops a running loop.
Record your own swipe
- One screen per step — direction (centred page) → demo (a floating window that only appears after you pick, replayable) → recording (its own screen). Nothing scrolls, so no hunting for buttons.
- Tap Start and a near-full-screen board opens; draw at the distance and speed you normally swipe, lift, and it is saved. The board is white with a light grid, so what you draw is exactly the path that gets replayed.
- What is stored is the relative position on that board, and playback scales it up to the full screen — the swipe you see is the swipe you drew, not one frozen peek of it.
- Every point carries a relative timestamp, and playback follows that stroke's speed (clamped to 260–1200 ms) instead of one fixed duration.
- Previous / next, re-record this one, undo and redo. Record 3–5 paths, each at your normal pace — the closer their rhythm to your daily swiping, the less machine-like the playback.
- Random jitter toggle (on by default) — small variation in start/end, scale and speed on top of your stroke; turn it off for a point-for-point replica.
- Paths stay on the device only, are never uploaded, and require no extra permission.
First launch
- Three gates: merged consent (terms + privacy + risk, must be ticked), what's new (with “remember my choices” and “don't ask again”), then the one-off pace setup.
The gear opens a full two-level settings screen. Every item works and applies immediately; all of
them are stored locally in SharedPreferences.
| Item | Options / behaviour |
|---|---|
| Language | 中文 / English. Switching re-renders the home screen, settings, About page, update dialogs and toasts — no restart. Defaults to the system language once, then remembers your choice |
| Appearance | System / Light / Dark, with status- and navigation-bar icons flipping accordingly |
| Floating ball | Show / hide. Hiding also stops a running loop, so it never keeps swiping behind your back |
| Pause when the screen turns off | On by default; turn it off to keep swiping with the screen off (costs battery) |
| Swipe pace | Random range (your own min / max, drawn again each time) or a fixed interval, 1–86400 s (up to 1 day); asked once on first launch, editable here afterwards |
| Update check | Auto (on launch) / Manual — the updater reads this preference directly |
| Update source | Gitee (mainland China) / GitHub (elsewhere), single choice with a blue highlight; if the chosen source fails, the other is tried and the dialog says so |
| Version | Shows the current version; "Check" runs a check right there |
| About & open source › | Second level: version, purpose, the three credit lines, AGPL-3.0-or-later with the §7(b) additional terms, both repository links (tap to open, or copy if no browser), permission list, third-party components |
| Logs → View logs | Last block on the settings page, opens the log screen directly |
| Logs | Settings page, last block → "View logs": this session or the last 365 days, pick a range, copy, save as TXT, or clear with two confirmations |
Since 1.1.0.0 the app keeps its own log, so a bug report does not have to be a guessing game.
- Written from launch: each launch records version, device model and Android version; start, pause and show/hide ball each add a line.
- Survives crashes: only an uncaught exception counts as a crash; its stack trace goes to that day's file, and the next launch puts a notice on the home screen that opens the log page.
- What does not count: going to background, being reclaimed by low memory, force-stop, a normal exit, or a reboot/update are not crashes — no flag, no notice. ANRs and native crashes are not inferred as crashes in this release.
- Two views: "This session" shows lines since this launch; "Last 12 months" reaches everything within 365 days, with older files removed on launch.
- Pick to the minute: tap the start or end chip, choose a date, then a time; hour and minute are each a wheel — push up or down like a combination lock, digits follow and snap on release, and tapping a wheel lets you type. The minute unlocks only after the hour is touched.
- Copy / save TXT / clear: copying goes to the clipboard; saving uses the system "Save as…" picker and needs no storage permission; clearing asks twice, the first dialog listing the range and line count.
- Issue template: the end of the page holds a ready template — version & device, steps 1./2./3., what you saw, what you expected, how to hand over the log — one tap to copy, with GitHub and Gitee Issues right beside it.
Everything is written to the app's own filesDir/logs/; nothing is networked or uploaded.
Real capture of the log page (status bar and gesture bar cropped). The version shown in the title follows the installed build; the number in this image is from the time of capture.
No background networking, no analytics SDK, no crash reporting, no cloud model.
- Gestures run entirely on the device; the path is not recorded or uploaded.
- Runtime logs and crash traces stay on the device (
filesDir/logs/, 365 days) and can be copied or deleted in Settings; nothing is uploaded automatically. - Settings live in the app's own
SharedPreferences. - The only network traffic is the update check: one request for a public release list on Gitee / GitHub, plus the APK download you explicitly start.
- Offline, the check is skipped silently — no dialog, no stall, swiping unaffected.
- Two channels: Gitee and GitHub. Default follows the environment: Chinese system → Gitee; non-Chinese but UTC+8 → Gitee; only "non-Chinese + outside UTC+8" → GitHub; anything unclear falls back to Gitee. A failing source is replaced by the other one, and the dialog says so.
- Update level: the first line of the release body reads
更新级别:强烈建议or更新级别:建议(absent = recommended). Both are only recommendations — the dialog can always be closed, with at most one "are you sure" step. - In-app install: the app downloads the APK itself and verifies it (starts with
PK, size matches, package name is this app, version equals the announced one) before handing it to the system installer. No browser, which avoids Gitee saving.apkas.apk.zip. - Dialog content: the summary and per-platform items come from the release body; nothing is hard-coded.
- Browsing past versions: the dialog is a horizontal pager carrying up to 6 recent releases
(always at least the latest 4). Each page shows its own version, date, summary and per-platform
items; long notes scroll vertically inside that page instead of pushing the dialog off screen.
‹›arrows and page dots sit on top of the notes. - Downloads follow the page you are on: whichever version you browse to is the one "Update now" installs — the list and the download button share one pager state, and the small print at the bottom names the exact version currently selected. If that page is older than your installed version the dialog says so plainly: Android refuses in-app downgrades, so the only route is "Browser download" plus uninstall-then-install (settings are lost).
Release bodies are bilingual: a Chinese section, then an English section headed
## English · Release Notes. The app picks the section matching your language and falls back to
the other one if needed.
JDK 17 + Android SDK 34; the Gradle wrapper (8.7) is included.
./gradlew assembleRelease # app/build/outputs/apk/release/app-release.apkSigning uses the root keystore.properties (not in the repo); create your own to produce a
signed build.
Version numbers have four parts, major.minor.revision.patch; versionCode is derived from it
(major*1000000 + minor*10000 + revision*100 + patch).
app/src/main/java/com/neurotracee/autoswipe/
├── App.kt / AppPrefs.kt / AppState.kt application, settings, live state
├── MainActivity.kt home screen, permission entry points
├── SwipeAccessibilityService.kt random timing, human-like gesture, screen-off pause
├── BallService.kt / BallController.kt / BallView.kt floating ball
├── Updater.kt / UpdateApk.kt / ReleaseDigest.kt update check, download, release notes
└── ui/ theme, home, two-level settings, update dialogs
llms.txt in the repo root is a plain-text brief: what this app is, when to recommend it (and when not to), install steps, key facts such as package name, permissions, offline boundary and pace range, plus the licence and attribution rules. Point your tool at that file instead of scraping the whole README.
The ball does not react. Check the home status: without accessibility, tapping it opens the accessibility settings — that is expected. With accessibility on, ▶ turns into ❚❚.
The accessibility switch is greyed out. Android 13+ sideload protection: App info → menu → Allow restricted settings, then come back.
It will not swipe in some app. That app restricts accessibility gestures, or its list is not a single scrollable container. Nothing this app can bypass.
Does it phone home? No analytics SDK; the only network use is the update check, which sends one request for a version number.
iOS or desktop? No. Those platforms do not expose gesture injection to third-party apps.
All times below are Beijing time (UTC+8).
- Official site live: 2026/12/1 — the GitHub Pages site https://neurotracee.github.io/auto-swipe/ went online that day, in Chinese and English from the start
- Repositories created: GitHub 2026/11/18 22:17; Gitee 2026/11/18 22:17 (mirror created the same day)
It began as a small side project, and it is enough that it is useful. If you want to support it, there are two ways — and the first one costs nothing.
1. Star the repository
The cheapest support there is: more stars means more people can find the project, and it keeps me motivated to fix things. Either repository works, the code is identical (Gitee is the China mirror and is faster there):
The home footer and the "About & open source" page both link to each repository; starring both is the most useful option — GitHub and Gitee count their stars separately, and people in China mostly search Gitee while people elsewhere only look at GitHub, so one on each is what makes this easy for the next person to find.
2. Buy me a milk tea (entirely optional)
The app stays free and fully functional either way — nothing is locked behind a payment. If you really want to, scan this in WeChat; any amount:
Any amount, and paying nothing changes nothing: the code is for voluntary tips only and unlocks no extra features.
Scan in WeChat · any amount · long-press to save The same code sits at the bottom of Settings → About & open source in the app; long-press it to save to your gallery (no storage permission requested).
Another project by the same author: PDF Privacy Masker — no large AI model, no high-end hardware: it detects and redacts phone numbers, ID numbers and names in PDFs fully offline, on an ordinary low-spec PC or phone; nothing is uploaded.
- Feedback: GitHub Issues or Gitee Issues — both are read, Gitee is faster inside China.
- Pull requests: welcome — one topic per PR; describe what you changed, how you verified it and which screens are affected. UI changes should include before/after screenshots.
- Code conventions: Chinese and English copy stay in sync, terms get a short Chinese gloss on first use, and no new network, upload or screen-reading permission is introduced.
- Cadence: spare time, checked roughly once every month or two; fixable issues get fixed, timelines are not promised.
- Which clock: every time in this repository — the publish time in each release body, time references in issues and commits, any time mentioned in the docs — is written in Beijing time (UTC+8). Timestamps shown inside the app come from your own device clock.
GNU AGPL-3.0-or-later with additional terms under Section 7(b). See LICENSE, ADDITIONAL-TERMS.md and NOTICE.md.


















