summaryrefslogtreecommitdiff
path: root/README.txt
blob: 544866ee577856ce3c9b5b72879b49d152e7e97b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
Flatbot is a Telegram notification tool for rightmove.co.uk URLs.


RUN

$ export FLATBOT_TELEGRAM_BOT_API_TOKEN=<...>
$ export FLATBOT_TELEGRAM_CHAT_ID=<...>
$ go build
$ ./flatbot -dry-run -once <URL>
$ ./flatbot <URL>


DECRYPT SECRETS

$ . <(gpg --decrypt --quiet misc/telegram-secrets.sh.asc)


TEST

$ go test
$ python3 -m http.server testdata
$ ./flatbot -dry-run -once http://localhost:8000/2025-02-19-basic.html