Skip to content

thomassth/hk-independent-bus-eta

 
 

Repository files navigation

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

React Test

無廣告的巴士預報站整合了香港巴士(城巴新巴九巴嶼巴)、小巴及輕鐵港鐵的到站預報,介面清晣直接,力求讓用戶快速獲得所需資訊。

An ad-free bus ETA site for Hong Kong, with arrival times from KMB, CTB, NWFB, LNB, minibus, lightrail, and MTR, 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.

Note

The project is a React web app with Material-UI. You can clone the project and host it by your own, for personal use. 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

Note: It is assumed that you are running the scripts in a unix-like environment. Windows is not supported.

In the project directory, you can run:

yarn 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 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.

yarn predeploy

Build the app with SEO optimized pages.

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

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 89.5%
  • JavaScript 6.6%
  • HTML 2.5%
  • Other 1.4%