Sign inSign up

nielsdb97/update-checker

By nielsdb97

Updated 10 months ago

Check if updates are available for a certain URL

Image
0

50K+

nielsdb97/update-checker repository overview

Update checker

Prerequisites

Make sure to create a .env file containing the keys present in the .env.example file. An API token can be retrieved from Telegram itself following their steps. A chat ID can be retrieved by starting outputChatID.go in the setup folder and sending a message to your bot username:

go run setup/outputChatID.go

Deploying

Building Docker image

docker build -t update-checker .

Running Docker image

You can run the image directly:

docker run -it --rm --name update-checker update-checker

or you can run it by using docker compose:

docker-compose up

Development

To execute the application directly run:

go run updateChecker.go

Optionally an argument can be passed with a full path to a folder to write the hashes to:

go run updateChecker.go /var/update-checker

Tag summary

Content type

Image

Digest

sha256:c432ea6a2

Size

11.7 MB

Last updated

10 months ago

docker pull nielsdb97/update-checker