Skip to content

setaur/grab-text

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Grab Text: A Screenshot to Clipboard Shell Script

This POSIX shell script triggers a screenshot tool to select an area, OCRs the content, and finally, copies the result to the clipboard.

A sea shell looking through binoculars at text

Dependencies

Tesseract OCR is a must-have without alternatives.

Supported Screenshot tools:

Supported Clipboard tools:

Optional tools:

Installation

Download the script to any location in $PATH and chmod +x

With curl:

curl -L -o "$HOME/.local/bin/grab-text" https://raw.githubusercontent.com/benweidig/grab-text/main/grab-text
chmod +x "$HOME/.local/bin/grab-text"

With wget:

wget -O "$HOME/.local/bin/grab-text" https://raw.githubusercontent.com/benweidig/grab-text/main/grab-text
chmod +x "$HOME/.local/bin/grab-text"

License

MIT. See LICENSE

About

A Screenshot to Clipboard Shell Script

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • Shell 100.0%