Home

Awesome

lemmy-ocr-bot

A bot for lemmy, the fediverse link aggregator, that converts images with text into text.

Setup

Install the bot's dependencies with the javascript package manager of your choice.

Create a file called .env in the same directory as bot.ts. There are 4 environment variables that need to be set:

When the bot is setup, it can be started by running npm start.

Usage

To use the bot, mention the bot in a reply to a post or comment. It will scan any images for text and respond to you with the text. Alternatively, if you create a post or comment that includes both a mention to the OCR bot and images, the OCR bot will respond with the scans.