๐Ÿ“ฆ alexandear / final-surge-bot

A bot that displays today's Final Surge workout in Telegram.

โ˜… 1 stars โ‘‚ 0 forks ๐Ÿ‘ 1 watching โš–๏ธ The Unlicense
gopostgrestelegram-bot
๐Ÿ“ฅ Clone https://github.com/alexandear/final-surge-bot.git
HTTPS git clone https://github.com/alexandear/final-surge-bot.git
SSH git clone git@github.com:alexandear/final-surge-bot.git
CLI gh repo clone alexandear/final-surge-bot
dependabot[bot] dependabot[bot] Bump golang.org/x/crypto from 0.0.0-20200622213623-75b288015ac9 to 0.1.0 (#2) e2133d7 2 years ago ๐Ÿ“ History
๐Ÿ“‚ main View all commits โ†’
๐Ÿ“ bot
๐Ÿ“ web
๐Ÿ“„ .editorconfig
๐Ÿ“„ .gitattributes
๐Ÿ“„ .gitignore
๐Ÿ“„ .golangci.yml
๐Ÿ“„ go.mod
๐Ÿ“„ go.sum
๐Ÿ“„ LICENSE
๐Ÿ“„ main.go
๐Ÿ“„ Makefile
๐Ÿ“„ README.md
๐Ÿ“„ README.md

Final Surge Bot

Telegram bot to communicate with Final Surge platform.

Telegram Bot Screenshot

Live

Render

Development

Local

Start PostgreSQL:

docker run --rm --name pgtest -e POSTGRES_HOST_AUTH_METHOD=trust -p 5432:5432 postgres

Set environment:

PUBLIC_URL=https://final-surge-bot.herokuapp.com/;BOT_API_KEY=<BOT_API_KEY>;PORT=8080;DATABASE_URL=postgresql://postgres:@localhost:5432/postgres

Delete webhook:

curl https://api.telegram.org/bot<BOT_API_KEY>/deleteWebhook