https://github.com/flofriday/tugitlabbot
https://github.com/flofriday/tugitlabbot
gitlab telegram-bot tuwien
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/flofriday/tugitlabbot
- Owner: flofriday
- License: mit
- Created: 2020-09-19T08:52:59.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2020-09-24T11:05:52.000Z (almost 6 years ago)
- Last Synced: 2025-01-24T16:38:15.157Z (over 1 year ago)
- Topics: gitlab, telegram-bot, tuwien
- Language: Go
- Homepage:
- Size: 4.35 MB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# tugitlabbot
A Telegrambot to notify about changes on the TU Wien GitLab repository.

**Try it out:** [https://t.me/tuGitlabBot](https://t.me/tuGitlabBot)
## Run the bot (native)
1) Install golang
2) Run `go build`
3) Run `TELEGRAM_TOKEN=XXXX ./gitlabbot`
Where XXXX is the Token for the Telegrambot
## Run the bot with docker
1) Install docker
2) Build and start the docker container
```
docker build -t tugitlabbot-template .
docker run -e TELEGRAM_TOKEN=XXXX --rm --name tugitlabbot-container tugitlabbot-template
```
Where XXXX is the Token for the Telegrambot
**Note**: Those commands will run the bot in a docker container, however all state will be lost, when you shut down the container. To prevent this you can use docker volumes:
```
docker volume create tugitlabbot-volume
docker build -t tugitlabbot-template .
docker run --env TELEGRAM_TOKEN=XXXX \
--mount type=volume,source=tugitlabbot-volume,target=/app/data \
--name tugitlabbot-container tugitlabbot-template \
```