Skip to content

flytassel/GlowPane

Repository files navigation

莹窗 (LucidPane)

English Version | 中文版


中文版

莹窗 (LucidPane) 是一款仿 FV 悬浮球风格的 Android 文字选取与分词工具。它通过悬浮球准星精确定位屏幕文字,并提供强大的分词、复制与分享功能。

✨ 主要功能

  • 精准选字:拖动悬浮球,使用左上角的准星精确定位屏幕上的任何文字。
  • 实时高亮:在拖动过程中,系统会实时检测准星下的文字并以黄色方框高亮显示边界。
  • 智能分词:松手后弹出分词面板,支持中英文混合拆分。
    • 中文按单字拆分。
    • 英文按单词拆分。
    • 换行识别:自动识别文本中的换行符并以 符号可视化展示。
  • 便捷交互
    • 点击面板中的词块即可选中/取消选中。
    • 支持一键复制选中的文字(若未选则复制全部)。
    • 支持调用系统分享功能发送选中的文字。
  • 性能优化:内置节流机制,确保在复杂的屏幕内容下拖拽依然流畅不卡顿。

🚀 快速开始

  1. 授予权限
    • 悬浮窗权限:用于显示悬浮球和高亮框。
    • 无障碍服务 (Accessibility Service):用于读取屏幕文字内容。
  2. 使用方法
    • 打开应用并点击“打开悬浮窗设置”和“打开无障碍设置”完成授权。
    • 点击“强制显示悬浮窗”启动工具。
    • 长按并拖动悬浮球,将准星对准目标文字。
    • 看到黄色高亮框后松手,在弹出的面板中进行编辑。

English Version

LucidPane (莹窗) is an Android text selection and tokenization tool inspired by the FV Floating Ball. It uses a precision crosshair to locate text on the screen and provides powerful word-splitting, copying, and sharing capabilities.

✨ Key Features

  • Precision Selection: Drag the floating ball and use the top-left crosshair to accurately target any text on your screen.
  • Real-time Highlighting: As you drag, the app detects text under the crosshair and highlights it with a yellow bounding box in real-time.
  • Smart Tokenization: Releasing the ball pops up a tokenization panel that supports mixed Chinese and English text.
    • Chinese characters are split individually.
    • English text is split by words.
    • Newline Awareness: Automatically identifies newlines and visualizes them with the symbol.
  • Easy Interaction:
    • Tap individual word chips to select or deselect them.
    • One-tap to copy selected text (or copy all if none selected).
    • Quickly share selected text via the system share sheet.
  • Performance Optimized: Built-in throttling ensures smooth dragging even on content-heavy screens.

🚀 Getting Started

  1. Grant Permissions:
    • Overlay Permission: Required to display the floating ball and highlight box.
    • Accessibility Service: Required to read text content from the screen.
  2. Usage:
    • Open the app and follow the prompts to enable Overlay and Accessibility settings.
    • Click "Force Show Floating Ball" to start the tool.
    • Long-press and drag the floating ball, aiming the crosshair at the desired text.
    • Release when you see the yellow highlight box, then use the popup panel to manage the text.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages