Skip to content

kirosc/telegram-hketa

Repository files navigation

Telegram Bot to Check Hong Kong Public Transport ETA

Icon

GitHub Build Status FOSSA Status Monthly User @HK_ETA_BOT

Introduction

A Telegram bot to check the Hong Kong public transport's estimated time of arrival. Currently support metro, light rail, tram, green minibus and all franchised buses, including

  • MTR(港鐵)
  • LRT(輕鐵)
  • Tram(電車)
  • Citybus(城巴)
  • New World First Bus(新巴)
  • The Kowloon Motor Bus(九巴)
  • Long Win Bus(龍運巴士)
  • New Lantao Bus(新大嶼山巴士)
  • MTR Bus(港鐵巴士)
  • Green Minibus(專線小巴)

Use this bot @HK_ETA_BOT

Planned features

  • Error catching
  • Testing

Known bugs

  • Please let me know

Usage

Run locally

npm run dev:app

Run production

npm run build && npm run start

License

GPL-3.0 ©

Acknowledgement

  • telegraf - Modern Telegram Bot Framework for Node.js
  • telegraf-inline-menu - Easily create an inline menu for Telegram bot
  • telegraf-stateless-question - Create stateless questions to Telegram users working in privacy mode
  • axios - Promise based HTTP client for the browser and node.js
  • express - Fast, unopinionated, minimalist web framework for node.
  • DATA.GOV.HK - Public sector information.
  • Fly.io - Deploy App Servers close to Your Users