yi-jiayu / bus-eta-bot

A practical Telegram bot for getting bus etas in Singapore. Succeeded by https://github.com/yi-jiayu/bete

Home Page:https://t.me/BusEtaBot

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

The code in this repository is no longer in production

Bus Eta Bot the Telegram bot is still around, but is now powered by a new backend which can be found at https://github.com/yi-jiayu/bete.

Bus Eta Bot

Weekly Users Build Status CircleCI codecov Go Report Card

A practical Telegram bot for getting bus etas in Singapore supporting refreshing, bus stop search and showing nearby bus stops.

Getting started

Telegram: @BusEtaBot

Features

Get etas by bus stop code

Etas by bus stop code

Get etas by bus stop code and service

Etas by bus stop code and service

Send a location to get nearby bus stops

Looking up nearby bus stops

Search bus stops by bus stop code, description or road name

Searching bus stops

Get nearby bus stops

Location-based inline query

Send etas as inline messages

Inline message

Updating bus stop data

From the scripts directory:

# remove datamall.sqlite if it exists
# rm datamall.sqlite
./create_db.sh
./create_bus_stops_json.py > ../data/bus_stops.json

About

A practical Telegram bot for getting bus etas in Singapore. Succeeded by https://github.com/yi-jiayu/bete

https://t.me/BusEtaBot

License:MIT License


Languages

Language:Go 96.0%Language:Python 2.7%Language:Shell 1.1%Language:HTML 0.2%