HyperCopy
v1.8 · GitHub
More about this app
Clipboard-to-app jump tool watching copied links and opening them directly in the right app via Shizuku or LSPosed monitoring.
✨ 功能介绍
📋 复制直达监听复制内容,命中规则后快速跳转到目标 App,节省手动打开、搜索、粘贴的时间。 |
☁️ 云规则内置云规则页,可在线获取规则,支持搜索、下载与一键配置。 |
🔔 实时通知复制命中规则后可通过安卓实时通知确认跳转,也可选择小米超级岛样式提示。 |
🔐 LSPosed / Shizuku 支持支持免 Root 的 Shizuku 方案,也支持 Root / LSPosed 监听剪贴板变化。 |
📱 分身应用检测到应用存在分身时,支持弹窗询问并选择需要打开的应用实例。 |
⚙️ 系统服务适配系统链接调用服务,支持快速配置默认链接调用方式。 |
使用说明
- 安装 HyperCopy。
- 按使用环境选择监听方案:
LSPosed或Shizuku。 - 在“云规则”页下载常用应用规则,或在“规则”页手动添加规则。
- 复制链接、地址、快递单号或指定文本。
- 命中规则后,HyperCopy 会按设置直接跳转或弹出确认通知。
规则能力
规则保存在应用私有目录的 rules.json 中,核心字段包括:
{
"name": "bilibili",
"category": "link",
"enabled": true,
"actionMode": "direct_open",
"matchRegex": ".*bilibili\\.com.*|.*b23\\.tv.*",
"target": {
"type": "url",
"template": "",
"packageName": "tv.danmaku.bili"
}
}
支持的模板变量:
${p1}、${p2}:parameterRegex按顺序提取的捕获组。${r1}、${r1_1}:extractionRegexes提取到的捕获组。${input}:完整复制内容。${url:input}:从完整复制内容中提取第一个 URL。${redirectUrl}:跳转后解析得到的重定向 URL。${raw:变量名}:原样插入参数,不做 URL 编码。
构建
确保已安装 Android Studio、JDK 17 和 Android SDK,然后运行:
gradle assembleRelease
Star History
许可证
许可证文件待补充。欢迎 Issue 与 PR。
How Shizuku is used
Can watch copied links via `logcat`, open them via `am start`, manage app links via `pm` commands and aid notifications via `app_process` through Shizuku.
This is an AI-assisted analysis of Shizuku-related usages in the app's public source code. It is best effort, so it may not catch every single usage.
How this app uses Shizuku
HyperCopy uses Shizuku to watch the clipboard in the background and open copied links in the right app.
- Detect copied links: watches system log output for clipboard service entries by running
logcatthrough Shizuku, so a copy made in another app triggers a jump check without manual paste. - Read clipboard in background: briefly brings its own helper screen to the foreground with
am startthrough Shizuku to gain focus and read the new clipboard text, and identifies the source app withdumpsys window. - Open links in target apps: opens the matched app, browser or system link target with
am startthrough Shizuku, including opening into another user profile for cloned apps. - Manage system link defaults: lists Android users and verified app link domains and turns link handling on or off with
pm list users,cmd user list,pm get-app-links,pm set-app-links-allowed,pm set-app-links-user-selectionandpm paththrough Shizuku, and opens system links the same way. - Clear clipboard after jump: reuses the same foreground launch through Shizuku to replace the clipboard with empty text when clearing after a jump is enabled.
- Keep jump alerts visible: on Xiaomi devices in Super Island mode, briefly pauses network for the system assistant app by running a helper with
app_processthrough Shizuku while posting the jump notification.
Android APIs or commands used
logcatam startdumpsys windowpm get-app-linkspm set-app-links-user-selectionpm set-app-links-allowedpm list userscmd user listpm pathapp_processandroid.os.ServiceManager.getServiceandroid.net.IConnectivityManager$Stub.asInterfaceConnectivityManager.setFirewallChainEnabledConnectivityManager.setUidFirewallRule
Notable details
If Shizuku is unavailable, clipboard watching can use direct log reading when the read logs permission is granted, app opening falls back to a normal launch, and notifications post directly without the temporary network pause.
Changelog
What's new for version v1.8
更新日志
- 新增规则详情页面一键分享到云规则
- 优化 UI
- 修复空匹配参数
Permissions
10 permissions requested