amebalabs/TRex
关于
复制屏幕上的任意文字,不再重复输入。
设计与媒体可以做什么
- Text recognition (OCR)
- Read QR Codes and barcodes
- Handy macOS menu bar app, with option to hide it
- Configurable global shortcuts
实测星标增长
- 24小时
- -1
- 7天
- +3
- 15天
- +6
- 1个月
- +15
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
README.md
原文
TRex 🦖
TRex captures any text right into your Clipboard with magic of OCR.
But what is OCR anyway? Imagine you have a PDF file or a Web page where you can't select the text, image with text on it, or even a YouTube video. Forget retyping it manually; with TRex, you can extract text from anywhere, and it is as easy as taking a screenshot.
TRex lives in the menu bar and available right where you need it the most:

To use TRex:
- Invoke "Capture" either through the menu bar or with a global configurable shortcut
- Select an area of the screen you want to extract text from, just like taking a screenshot
- There is no third step - extracted text is in your clipboard
Demo:

Please note, text editing application on the right is not part of TRex, this is Tot. TRex is designed to be invisible and doesn't have any UI beyond the menu bar app and preferences.
Use cases
TRex can help you to copy text from:
- A PDF with non-selectable text
- A screenshot
- YouTube video
- Zoom call screen sharing
- ... and more!
If you can see it on your screen - TRex can copy it.
How to get TRex
App Store
Buy TRex from the App Store
GitHub
Download from GitHub Releases
Homebrew
Install from Homebrew
brew install --cask trex
Requires macOS Sonoma (14.0) or later.
Features
Every feature in TRex works offline, no internet is needed.
- Text recognition (OCR)
- Read QR Codes and barcodes
- Handy macOS menu bar app, with option to hide it
- Configurable global shortcuts
- Configurable recognition language
- Custom words list
- CLI tool
/Applications/TRex.app/Contents/MacOS/cli/trex - Automation actions
- Run a Shortcut from Shortcuts.app
- Open URLs found in QR codes
- Detect and open URLs found in captured text
- Trigger a user defined URL scheme (for integration with other apps)
- URL scheme support
trex://capturetrigger capture from screentrex://captureclipboardtrigger capture from clipboardtrex://captureautomationtrigger screen capture and run automationtrex://captureclipboardautomationtrigger capture from clipboard and run automationtrex://shortcut?name=set Shortcut assigned to "Run Shortcut" automation actiontrex://showPreferencesopen app preferences
Integrations
Alfred

Raycast
Download the TRex repository as a ZIP, then:
- Unzip the download.
- Open Raycast Settings → Script Commands.
- Click Add Script Directory and select
Resources/Raycast/TRex Commandsfrom the unzipped folder. - Search Raycast for “Capture Text” to run or assign shortcuts to the TRex commands.
You can also browse the command files or read Raycast's Script Commands guide.

Acknowledgements
Portions of this software utilize the following copyrighted material, the use of which is hereby acknowledged:
- LaunchAtLogin - Copyright (c) Sindre Sorhus [email protected] (sindresorhus.com)
- KeyboardShortcuts - Copyright (c) Sindre Sorhus [email protected] (sindresorhus.com)
More Apps
If you enjoy TRex you may like these as well:
探索相关项目
加载中…