Skip to content

LINE bot providing Taiwan Railway Timetable Information

License

Notifications You must be signed in to change notification settings

ktshen/transport-linebot

Repository files navigation

Triple T

火車時刻小幫手

alt text alt text alt text

Purpose

You are able to search TRA and THSR timetable on Line.

To use this service, click the button or scan the QR Code below to join in right now!

加入好友

QR Code

(Service is not available after June 23th, 2018)

Demo

demo1

demo2

demo3

demo4

Development

Setup

  1. Duplicate ".env.example" file and rename it to ".env"
  2. Fill up the variable in .env file
  3. Create a file name "ptx_keys.txt" and add ID Key pair on every two line (if more than one pair)

Run

Using Docker

docker-compose build
docker-compose up

Testing

  • In ".env", set POSTGRES_DB=testing
  • Run test in docker container
docker-compose -f testing-compose.yml build
docker-compose -f testing-compose.yml up
  • When the test is finished, <ctrl+c> to close it

License

MIT

About

LINE bot providing Taiwan Railway Timetable Information

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published