尚未检测到更新。GitHub 发布版本后会显示在这里。
个人 GitHub 账号下公开仓库的所有者可以登录并验证所有权,自行管理介绍,无需管理员批准。
登录并生成验证文件,在 30 分钟内将其提交到此仓库的默认分支。其他分支或分叉仓库中的文件无效。然后在下方检查文件,即可无需管理员批准直接管理项目。请保留文件以维持管理权限。
如需登录,将前往登录页面。登录后请回到此处,再次点击所选的验证按钮。
在项目文件夹中运行 /nomorevibe verify,即可验证所有权并自行管理介绍。
一分钟完成验证正在加载完整 README。 以下为已保存的摘录。
An interactive Taipei YouBike 2.0 real-time station map built with Leaflet. The page reads Taipei City's public live YouBike data and shows available bikes, return slots, high-level KPIs, a station list, and filtering tools.查看完整 README ↗An interactive Taipei YouBike 2.0 real-time station map built with Leaflet. The page reads Taipei City's public live YouBike data and shows available bikes, return slots, high-level KPIs, a station list, and filtering tools.
/ focuses search, Esc clears it, R refreshesprefers-reduced-motion by disabling animationsThis is a static frontend project with no package installation required. Because it uses ES modules, run it through a local HTTP server instead of opening it directly with file://.
python3 -m http.server 8000
Then open:
http://127.0.0.1:8000/
.
├── README.md
├── README.zh-TW.md
├── LICENSE
├── index.html # Page structure
├── youbike-map.css # Visual styles and responsive layout
├── youbike-map.js # App entry point, initialization, and event binding
├── youbike-config.js # API URL, refresh interval, and initial map settings
├── youbike-state.js # Shared application state
├── youbike-utils.js # Data cleanup, number conversion, HTML escaping, debounce
├── youbike-dom.js # DOM references, loading state, and error state
├── youbike-map-view.js # Leaflet map, layers, markers, popups, location, theme
└── youbike-stations.js # Station loading, filtering, list rendering, KPIs, refresh
Live station data comes from Taipei City's public YouBike 2.0 JSON endpoint:
https://tcgbusfs.blob.core.windows.net/dotapp/youbike/v2/youbike_immediate.json
Map rendering uses:
youbike-map.js is the entry point and the best place to start when tracing event flow.youbike-map-view.js.youbike-stations.js.youbike-config.js.youbike-map.css.