A simple Telegram bot that send you a screenshot when there is a new tweet with some specified hashtag.
First create a telegram bot. See the guide here
Second create the .env file using env.example as template
You can grab binaries in the releases section.
Put the .env file in the same directory with the binary and run the binary
-
Prerequisites
- Golang 1.15+
-
Clone the repo
git clone https://github.com/DipandaAser/tweetwatcher.git
cd tweetwatcher
- Get dependencies
go mod download
- Run
go run main.go
- Build the image
make docker-build
- Run the container
- In foreground
make docker-run
- In background
make docker-run-d