尚未检测到更新。GitHub 发布版本后会显示在这里。
个人 GitHub 账号下公开仓库的所有者可以登录并验证所有权,自行管理介绍,无需管理员批准。
登录并生成验证文件,在 30 分钟内将其提交到此仓库的默认分支。其他分支或分叉仓库中的文件无效。然后在下方检查文件,即可无需管理员批准直接管理项目。请保留文件以维持管理权限。
如需登录,将前往登录页面。登录后请回到此处,再次点击所选的验证按钮。
在项目文件夹中运行 /nomorevibe verify,即可验证所有权并自行管理介绍。
一分钟完成验证正在加载完整 README。 以下为已保存的摘录。
Live map of MBTA, Amtrak, Metro-North, LIRR, NJ Transit, Metra, CTrail, and MARC trains, with MyTrips trip logs and public profiles. It is a static site on GitHub Pages. Train data comes through the railroadradar-proxy Cloudflare Worker, and accounts and trip logs live in Firebase.
Then open http://localhost:8000.
GitHub Pages publishes main as it is whenever it changes.
mytrips/index.html is a symlink to index.html. MyTrips is the same page, switched on by the URL, so edit index.html only.查看完整 README ↗Live map of MBTA, Amtrak, Metro-North, LIRR, NJ Transit, Metra, CTrail, and MARC trains, with MyTrips trip logs and public profiles. It is a static site on GitHub Pages. Train data comes through the railroadradar-proxy Cloudflare Worker, and accounts and trip logs live in Firebase.
python3 -m http.server 8000
Then open http://localhost:8000. This uses the real database. To test with test accounts and a local database instead, see dev/README.md.
Every pull request runs three checks: every script parses and every ?v= hash matches its file, every page loads without errors at desktop and phone width with recorded train data, and the Firestore rules allow and deny what they should. To run them yourself (Node 22, plus Java for the rules check):
npm --prefix tests ci && npm --prefix tests exec -- playwright install chromium
npm --prefix tests test
npm --prefix tests run static (or smoke, rules) runs one check. SITE_DIR=/path/to/folder tests another folder. npm --prefix tests run record saves fresh responses from the live Worker for the smoke check to replay.
After changing a file that a page loads with ?v=, set that ?v= to the value the static check prints.
GitHub Pages publishes main as it is whenever it changes.
mytrips/index.html is a symlink to index.html. MyTrips is the same page, switched on by the URL, so edit index.html only.
firestore.rules, storage.rules, and workers/ aren't part of the website. Rules changes go live from the Firebase console. workers/railroadradar-proxy.js is the Worker's full source, and a change to it goes live when the whole file is pasted into the railroadradar-proxy Worker.