Just a simple Telegram Bot, which takes pictures with the Camera Module V2 and sends them to you
First talk to the @BotFather to get a token.
Make that token available as environment variable
export TELEGRAM_PICAM_BOT_TOKEN="<your_token>"Grab the jar:
wget https://github.com/Cir0X/PiCamBot/releases/download/1.0-SNAPSHOT/PiCamBot-1.0-SNAPSHOT-all.jarand then execute it with:
java -jar PiCamBot-1.0-SNAPSHOT-all.jarClone the repo and run it with
./gradlew runor create a Shadow jar
./gradlew shadowJar
# => build/libs/PiCamBot-1.0-SNAPSHOT-all.jarTested on a Pi3 with the NoIR Camera Module V2
