/hk-independent-bus-eta

獨立無廣告巴士預報 App

Primary LanguageTypeScriptGNU General Public License v3.0GPL-3.0

香港 - 獨立巴士預報 HK Bus ETA

React Test

無廣告的巴士預報站整合了九巴、新巴、城巴和新大嶼山巴士的到站預報,介面清晣直接,力求讓用戶快速獲得所需資訊。

An ad-free bus ETA site for Hong Kong, with arrival times from KMB, NWFB and LNB. With a clutter-free UI that lets you get what you need, fast.

資料來源 Data Sources

本網站一切到站預報資料均來自資料一站通及相關機構,路線及收費資料來自HK Bus Crawling

ETA data is from DATA.GOV.HK and respective providers. Route and fare data from HK Bus Crawling.

新巴城巴新大嶼巴士的資料來源和九巴的資料來源分別採用不同格式,本 app 就不同 api 的處理主要集中於 data-api/ 內。

Note: KMB ETA data is diffrerent from the others, proccessing methods can be found at data-api/.

Note

The project is a React web app with Material-UI. You can clone the project and host it by your own. Please note that there are specific setups for package.json (i.e., homepage) and Google Analytics Measure ID in public/index.html.

Docker

See docker.md for more information about using docker for deployment / development.

Available Scripts

In the project directory, you can run:

yarn run start

Runs the app in development mode.
Open http://localhost:3000 to view it in your browser.

The page will reload if you make edits.
You will also see lint errors in the console.

yarn run build

Builds the app for production to the build folder.
It correctly bundles React in production mode and optimizes the build for the best performance.

The build is minified and the filenames include the hashes.
Your app is ready to be deployed!

See the section about deployment for more information.

Contributors

Project owner chunlaw is the initiator of the whole project. Everyone is welcome to contribute. Other contributors are:

lzwn128 cswbrian thomassth hk-ng sdip15fa thomassth skpracta