Send a picture to a Telegram bot and get it described by moondream2 via ollama.
git clone [email protected]:ssebastianoo/moondream2-telegram.git
cd moondream2-telegram
bun i # or npm i
cp .example.env .env
Set TELEGRAM_TOKEN
in .env
to your Telegram bot token.
Pull the model
ollama pull moondream
Run the bot
bun main.js