Hk independent bus eta
獨立無廣告巴士預報 App
無廣告的巴士預報站整合了香港巴士(九巴、龍運、城巴、嶼巴、港鐵巴士)、綠色小巴、輕鐵及港鐵的到站預報,介面清晣直接,力求讓用戶快速獲得所需資訊。 The project is written primarily in TypeScript, distributed under the GNU General Public License v3.0 license, first published in 2021. Key topics include: bus, bus-eta, eta, hk, hkbus.
香港 - 獨立巴士預報 HK Bus ETA
無廣告的巴士預報站整合了香港巴士(九巴、龍運、城巴、嶼巴、港鐵巴士)、綠色小巴、輕鐵及港鐵的到站預報,介面清晣直接,力求讓用戶快速獲得所需資訊。
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
資料來源 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.
Setup a Development Environment locally
To run this project, you need nodejs and yarn.
Go ahead to https://nodejs.org to download and install nodejs on your system.
Once you have nodejs installed, you can run:
npm install -g yarn
which would install yarn in your system.
Install Dependency
If you have yarn installed, go to the project directory, run the following command:
yarn install
This command downloads all the dependencies required to run this app and save them in the node_modules sub-directory.
You only need to do this once, unless the project has been updated and the required dependencies have changed.
Start the app
With the dependencies downloaded, in the project directory, you can run:
yarn start
This runs the app in development mode.
Open https://localhost:443 (or simply https://localhost) to view it in your browser.
The page will reload if you make edits.
You will also see lint errors in the console.
Build the app
In the project directory, you can run:
yarn build
This command 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):
Contributors
Showing top 12 contributors by commit count.
