Skip to content

Cir0X/PiCamBot

Repository files navigation

Pi Camera Telegram Bot

Just a simple Telegram Bot, which takes pictures with the Camera Module V2 and sends them to you

How to start

First talk to the @BotFather to get a token.

Make that token available as environment variable

export TELEGRAM_PICAM_BOT_TOKEN="<your_token>"

Precompiled

Grab the jar:

wget https://github.com/Cir0X/PiCamBot/releases/download/1.0-SNAPSHOT/PiCamBot-1.0-SNAPSHOT-all.jar

and then execute it with:

java -jar PiCamBot-1.0-SNAPSHOT-all.jar

Compile it yourself

Clone the repo and run it with

./gradlew run

or create a Shadow jar

./gradlew shadowJar
# => build/libs/PiCamBot-1.0-SNAPSHOT-all.jar

Tested on a Pi3 with the NoIR Camera Module V2

Acknowledgments