Select any region on your screen and instantly extract text like code snippets or simple CAPTCHA — fully offline.
MonteCapcho was built to reduce the pain of copying code from tutorials and quickly capture text from anywhere on your screen. Built with Rust, Iced, and Tesseract OCR. Works on both Wayland and X11.
- Draw & extract — select a region and get text in one step
- Fully offline — nothing leaves your machine
- Wayland & X11 support — uses
grim + slurpormaim + slopdepending on your session - Simple GUI — editable text area, capture button, one-click clipboard copy
- CLI mode — pipe-friendly, scriptable terminal interface
- High-accuracy mode
- Code-aware OCR
- Image preprocessing pipeline
- Improved dark-background OCR
yay -S montecapchoOr build manually from the PKGBUILD:
git clone https://aur.archlinux.org/montecapcho.git
cd montecapcho
makepkg -siRequirements: Rust 1.82+, Tesseract, Leptonica
git clone https://github.com/Top-g-hash/Monte-Capcho
cd Monte-Capcho
cargo build --release
./target/release/MonteCapchoAUR installations handle these automatically. If building from source, install them manually.
| Package | Purpose |
|---|---|
tesseract |
OCR engine |
leptonica |
Image processing library |
copyq |
Clipboard persistence |
Note:
copyqis not installed by default on most distros. Without it, copy-to-clipboard will not work.
# Arch
sudo pacman -S copyq
# Debian / Ubuntu
sudo apt install copyq| Package | Purpose |
|---|---|
grim |
Screenshot tool |
slurp |
Region selection |
| Package | Purpose |
|---|---|
maim |
Screenshot tool |
slop |
Region selection |
MonteCapchoThe GUI includes an editable text area, a capture button, and a copy button.
| Shortcut | Action |
|---|---|
Ctrl+S |
Capture region and extract text |
Ctrl+C |
Copy extracted text to clipboard |
Capture and print text to stdout:
MonteCapcho --captureCapture and copy directly to the clipboard:
MonteCapcho --capture --copy| Flag | Description |
|---|---|
-c, --capture |
Perform screenshot and OCR |
-p, --copy |
Copy output text to the clipboard |
src/ Application source code
fonts/ Embedded font assets
assets/ Icons and .desktop file
Cargo.toml Rust project config
build.rs Build script for font embedding
Licensed under the MIT License.
- Iced — GUI framework
- Tesseract OCR — text recognition engine
- CopyQ — clipboard management
- clap — CLI argument parsing
Contributions are welcome — bugs, features, and improvements alike.
- Fork the repo
- Create a branch:
git checkout -b feature/my-feature - Commit your changes
- Open a pull request
Report issues at github.com/Top-g-hash/Monte-Capcho/issues

