Skip to content

hkbus/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, LWB, CTB, NLB, green minibus, light rail, and MTR, with a clutter-free UI that lets you get what you need, fast.

常見問題 FAQ

常見問題 FAQ

資料來源 Data Sources

本網站一切到站預報資料均來自資料一站通空間數據共享平台及相關機構,路線及收費資料來自HK Bus Crawling

ETA data is from DATA.GOV.HK, Common Data Spatial Infrastructure 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:5173 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 production-build

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 listed below (ordered by alphabetical order):

LOOHP

chakflying

chengkeith

cswbrian

evnchn

hk-ng

kkoyung

lifehome

louiscklaw

lzwn128

sdip15fa

skpracta

thomassth

maruk0chan