Intuitive text extraction tool (OCR) for GNOME.
Quickly extract text from almost any source: youtube, screencasts, PDFs, webpages, photos, etc. Grab the image and get the text.
The Frog could help you to deal with QR codes helping you to get them decoded!
A modern Rust rewrite of Frog, the screenshot and OCR tool for GNOME. Frog aims to provide a fast, reliable, and user-friendly way to capture screenshots and extract text using OCR (Optical Character Recognition).
- Screenshot Capture: Easily capture screenshots of your screen or specific regions.
- OCR Support: Extract text from images using modern OCR engines.
- GNOME Integration: Seamless integration with the GNOME desktop environment.
- User-Friendly Interface: Intuitive and easy-to-use interface.
To build and install Frog from source, follow these steps:
-
Clone the Repository:
git clone https://github.com/tenderowl/Frog.git cd Frog -
Install Dependencies: Ensure you have the following dependencies installed:
- Rust (latest stable version)
- Cargo (Rust's package manager)
- Meson (build system)
- Ninja (build tool)
- GTK 4 (for the GUI)
- libadwaita (for GNOME integration)
On Debian/Ubuntu-based systems, you can install these dependencies with:
sudo apt-get install rustc cargo meson ninja-build libgtk-4-dev libadwaita-1-dev
-
Build and Install:
meson setup builddir --prefix=/usr cd builddir ninja sudo ninja install
Once installed, you can launch Frog from your application menu or by running:
frog- Capture a Screenshot: Use the screenshot tool to capture the desired region.
- Extract Text: Use the OCR tool to extract text from the captured image.
- Copy or Save: Copy the extracted text to your clipboard or save it to a file.
To start developing Frog, follow these steps:
-
Clone the Repository:
git clone https://github.com/tenderowl/Frog.git cd Frog -
Install Development Dependencies: Ensure you have the following dependencies installed:
- Rust (latest stable version)
- Cargo (Rust's package manager)
- Meson (build system)
- Ninja (build tool)
- GTK 4 (for the GUI)
- libadwaita (for GNOME integration)
On Debian/Ubuntu-based systems, you can install these dependencies with:
sudo apt-get install rustc cargo meson ninja-build libgtk-4-dev libadwaita-1-dev
-
Build the Project:
meson setup builddir --prefix=/usr cd builddir ninja -
Run the Application:
ninja run
We welcome contributions from the community! If you'd like to contribute to Frog, please follow these guidelines:
- Fork the Repository: Fork the Frog repository on GitHub.
- Create a Branch: Create a new branch for your feature or bug fix.
- Make Changes: Make your changes and commit them with clear, descriptive messages.
- Submit a Pull Request: Submit a pull request to the main repository.
- Follow the Rust style guidelines.
- Use clear and descriptive variable and function names.
- Write comments to explain complex logic.
- Ensure your code is well-tested.
If you encounter any bugs or issues, please report them on the GitHub Issues page. Include as much detail as possible, such as:
- Steps to reproduce the issue
- Expected behavior
- Actual behavior
- Screenshots or logs (if applicable)
Frog is licensed under the MIT License. See the COPYING file for more details.
For questions, suggestions, or feedback, please open an issue on the GitHub Issues page.
Happy coding! 🐸🚀
