ShizuStore

HyperCopy

1812z

v1.8 · GitHub

Download APK
Productivity Android 13+ 1 month ago Proprietary
42 ShizuStore
4k GitHub
187 Stars
3 MB Size

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.

HyperIsland Icon

HyperCopy

复制后直达目标 App 的 Android 链接跳转增强模块

GitHub Release Downloads Platform LSPosed Shizuku Build

English | 简体中文


✨ 功能介绍

📋 复制直达

监听复制内容,命中规则后快速跳转到目标 App,节省手动打开、搜索、粘贴的时间。

☁️ 云规则

内置云规则页,可在线获取规则,支持搜索、下载与一键配置。

🔔 实时通知

复制命中规则后可通过安卓实时通知确认跳转,也可选择小米超级岛样式提示。

🔐 LSPosed / Shizuku 支持

支持免 Root 的 Shizuku 方案,也支持 Root / LSPosed 监听剪贴板变化。

📱 分身应用

检测到应用存在分身时,支持弹窗询问并选择需要打开的应用实例。

⚙️ 系统服务

适配系统链接调用服务,支持快速配置默认链接调用方式。


使用说明

  1. 安装 HyperCopy。
  2. 按使用环境选择监听方案:LSPosed 或 Shizuku。
  3. 在“云规则”页下载常用应用规则,或在“规则”页手动添加规则。
  4. 复制链接、地址、快递单号或指定文本。
  5. 命中规则后,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。

Made with ❤️ for Android users

Star History

Close

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 logcat through 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 start through Shizuku to gain focus and read the new clipboard text, and identifies the source app with dumpsys window.
  • Open links in target apps: opens the matched app, browser or system link target with am start through 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-selection and pm path through 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_process through Shizuku while posting the jump notification.

Android APIs or commands used

  • logcat
  • am start
  • dumpsys window
  • pm get-app-links
  • pm set-app-links-user-selection
  • pm set-app-links-allowed
  • pm list users
  • cmd user list
  • pm path
  • app_process
  • android.os.ServiceManager.getService
  • android.net.IConnectivityManager$Stub.asInterface
  • ConnectivityManager.setFirewallChainEnabled
  • ConnectivityManager.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.

Close

Changelog

What's new for version v1.8

更新日志

  • 新增规则详情页面一键分享到云规则
  • 优化 UI
  • 修复空匹配参数
Close

Permissions

10 permissions requested

  • android.permission.INTERNET
  • android.permission.READ_LOGS
  • android.permission.QUERY_ALL_PACKAGES
  • android.permission.POST_NOTIFICATIONS
  • android.permission.POST_PROMOTED_NOTIFICATIONS
  • android.permission.FOREGROUND_SERVICE
  • android.permission.FOREGROUND_SERVICE_SPECIAL_USE
  • io.github.hypercopy.permission.CLEAR_CLIPBOARD
  • io.github.hypercopy.DYNAMIC_RECEIVER_NOT_EXPORTED_PERMISSION
  • moe.shizuku.manager.permission.API_V23
Close