Skip to content

paulyushonke/WorkPaw

Repository files navigation

WorkPaw OCR Bot 🐾

A friendly Telegram bot that helps you extract text from images and PDFs. Ask questions about your documents, and get answers right away! Not every file might work perfectly, but it does its best! Max file size is 20MB.

What Can It Do?

  • 📝 Extract text from PDFs, PNGs, and JPEGs
  • ❓ Ask questions about your documents
  • 🔗 Process files from URLs too
  • 🤖 Super easy to use with a simple menu

Tech Behind It

  • Bun
  • Grammy (Telegram Bot Framework)
  • ParseDog SDK
  • DrizzleORM
  • TypeScript

Quick Start

Prerequisites

  1. Clone it
git clone https://github.com/yourusername/workpaw-ocr-bot.git
cd workpaw-ocr-bot
  1. Install stuff
bun install
  1. Create .env and add your token
BOT_TOKEN=your_telegram_bot_token
NOTIFICATIONS_BOT_TOKEN=your_notifications_bot_token
  1. Run it!
bun start

How to Use

  1. Find the bot on Telegram
  2. Send any PDF or image
  3. Pick what you want:
    • Extract: Get all the text
    • Answer: Ask questions about your document

Want to Help?

Feel free to jump in! Open an issue or submit a PR if you want to help make this bot even better. No fancy rules - just be cool and write good code! 😎

Thanks to

About

WorkPaw is a friendly OCR bot on Telegram that helps you extract text from images and files quickly and accurately.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors