LetterBytes: Converting paper letters into digital bytes!
LetterBytes is a handy tool designed to help you organize and digitalize all German letters that arrive in your mailbox. This program scans, translates, summarizes, and archives your letters, turning your paper piles into a well-organized digital archive.
- Scan: Instantly digitizes your letters.
- Translate: Converts German text to English.
- Summarize: Provides a concise summary and highlights important action items.
- Archive: Stores your scanned letters in a database, searchable by OCR.
- Fun: Makes your life easier and adds a bit of humor to your day!
- Go
- Environment variable
LETTERBYTES_SCANNER
set to your scanner's name - Google Cloud Translation API
- Tesseract OCR
- PostgreSQL (for storing BLOBs)
- Set the environment variable:
First, run the program to find available scanners:
❯ ./letterbytes
❌ environment variable LETTERBYTES_SCANNER not set
🚀 finding scanners...
possible values for env variable LETTERBYTES_SCANNER:
LETTERBYTES_SCANNER='escl:https://192.168.0.123:443'
LETTERBYTES_SCANNER='airscan:e0:Canon TS5300 series'
❯ ./letterbytes doc
Image scanned and saved to doc.png
Image scanned and saved to doc.tiff