No description
  • Go 95.6%
  • Dockerfile 4.4%
Find a file
2026-06-18 03:27:32 +04:00
.gitignore Initial commit 2026-06-14 16:41:37 +04:00
docker-compose.yml Initial commit 2026-06-14 16:41:37 +04:00
Dockerfile Initial commit 2026-06-14 16:41:37 +04:00
go.mod Initial commit 2026-06-14 16:41:37 +04:00
go.sum Initial commit 2026-06-14 16:41:37 +04:00
main.go Refactor notification logic 2026-06-18 03:25:15 +04:00
README.md Update TODO list 2026-06-18 03:27:32 +04:00

hip.hosting availability parser bot

hip.hosting has a very narrow window of available locations, so this bot tries to solve that problem.

The program makes an API request to https://api.hip.hosting/hiplet/rpc/new-options every minute and parses the JSON response to get available regions. If a user issued /subsribe to the bot, they will stop getting updates whenever there is at least 1 region available to prevent spam. If there were no available regions for at least 1 request then the next one that has them will also send an update to all subscribed users.

Don't forget to create a .env file containing the bot token if you want to set this bot up for yourself.

TG_BOT_TOKEN=0108010801:EXAMPLE_TOKEN

TODO:

  • Database support to store the account subscription status
  • Add a command to get the current availability status
  • Implement command hints for the Telegram bot
  • Refine update message handling (implement deletion of obsolete info)