Skip to content

leandrofranca/rpi-telegram-bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Raspberry Telegram Bot in Docker

This app runs a telegram bot in container to listen for messages.

Requirements

  • Docker (or anyone containerd)
  • Internet access (to pull messages from Telegram servers)

Usage

Building image

Simple run:

$ docker build -t rpi-telegram-bot .

Running

Justs acess How do I create a bot? in Telegram Documentation and follow steps. When you receive your TOKEN, just fill in TELEGRAM_TOKEN environment variable in Docker.

$ docker run -d -e "TELEGRAM_TOKEN=$YOUR_TELEGRAM_TOKEN" --restart unless-stopped --name rpi-telegram-bot rpi-telegram-bot

About

Container to run a Telegram Bot on Raspberry Pi

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published