Skip to content

yeschirag/textify

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

📝 Texitfy

Texitfy is a sleek and simple web app for extracting text from images using Optical Character Recognition (OCR). Powered by Python, Flask, and Tesseract OCR, it features a drag-and-drop UI, image preview, dark/light theme toggle, and download functionality.

🔗 Live Demo

Check out the live version of Textify here:
👉 https://textify-nx1d.onrender.com/


🚀 Features

  • 🌓 Light/Dark mode toggle
  • 🖼️ Image preview before upload
  • 🧠 Fast OCR using Tesseract
  • 🖱️ Drag & drop or file input
  • 📥 Download extracted text
  • 📱 Mobile-friendly and keyboard accessible

📦 Tech Stack

  • Frontend: HTML, CSS, JavaScript
  • Backend: Flask (Python)
  • OCR Engine: Tesseract OCR

Screenshots

Light mode Dark mode Image preview and text extraction

⚙️ Installation

1. Clone the Repository

git clone https://github.com/yeschirag/texitfy.git
cd texitfy

2. Create Virtual Environment & Install Dependencies

python -m venv venv
source venv/bin/activate  # For Windows: venv\Scripts\activate
pip install -r requirements.txt

3. Install Tesseract OCR

macOS

brew install tesseract

Ubuntu/Debian

sudo apt update
sudo apt install tesseract-ocr

Windows


▶️ Running the App

python app.py

Then open your browser and visit:
http://localhost:5000


🧪 Usage

  1. Upload or drag-and-drop an image file
  2. Click Extract Text
  3. View, copy, or download the extracted text

Supported file types: .png, .jpg, .jpeg, .webp, etc.


📁 Project Structure

texitfy/
├── app.py
├── requirements.txt
├── README.md
│
├── templates/
│   └── index.html
│
├── static/
│   ├── css/
│   │   └── styles.css
│   ├── js/
│   │   └── script.js
│   └── uploads/

🛠️ Customization Tips

  • Change styling in static/css/styles.css
  • Modify JS interactions in static/js/script.js
  • Edit Flask logic in app.py
  • Add more OCR languages or pre-processing techniques via Tesseract options

📃 License

This project is licensed under the MIT License.
See the LICENSE file for more information.


🙌 Contributing

Pull requests are welcome!

To contribute:

  1. Fork the repository
  2. Create a new branch: git checkout -b feature/your-feature-name
  3. Commit your changes: git commit -m 'Add your feature'
  4. Push to the branch: git push origin feature/your-feature-name
  5. Open a pull request

🙏 Acknowledgments


Made with ❤️ for simplicity.

About

Universal text extractor from any file format — Textify

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors