Bygga
Type the product name from the box. Bygga shows every assembly step in 3D, with the parts, screws and tools for each one, and reads it out loud.
翻译准备中
尚未检测到更新。GitHub 发布版本后会显示在这里。
个人 GitHub 账号下公开仓库的所有者可以登录并验证所有权,自行管理介绍,无需管理员批准。
登录并生成验证文件,在 30 分钟内将其提交到此仓库的默认分支。其他分支或分叉仓库中的文件无效。然后在下方检查文件,即可无需管理员批准直接管理项目。请保留文件以维持管理权限。
如需登录,将前往登录页面。登录后请回到此处,再次点击所选的验证按钮。
在项目文件夹中运行 /nomorevibe verify,即可验证所有权并自行管理介绍。
一分钟完成验证A 3D, orbitable map of Amsterdam's GVB metro with real trains on real track geometry, in real time.
翻译准备中
取自仓库 README
正在加载完整 README。
查看完整 README ↗Live site: amsterdammetro.nl — a 3D, orbitable map of Amsterdam's GVB metro with real trains on real track geometry, in real time.
Built in the spirit of londonunderground.live 🇬🇧 — but for Amsterdam 🇳🇱, with five map styles 🌗 and a full travel-info page 🧭 next to the live map.
A second page at amsterdammetro.nl/reisinfo, loaded only when you open it, so the map stays lean:
scripts/seed-accessibility.sh adds OpenStreetMap's tag as a hint for checking. The data is checked regularly: see docs/step-free-stations.md/reisinfo?station=Noord&van=Noord&naar=Gein), kept only in your browser/, F, P, ?, Esc). Letter keys can be switched off for speech-input users (WCAG 2.1.4)Amsterdam's metro fleet — like London's — publishes no GPS positions. So instead of tracking trains directly, this app derives their position the same way londonunderground.live does for the Underground:
tripUpdates.pb (polled every ~30s) gives live per-station arrival/departure predictions for every active trip
vehiclePositions.pb (every 20s) has no GPS for the metro, but names the stop each train was last reported at or heading toalerts.pb (every 2 min) carries GVB's KV15 service messagesWhy a train sits where it does, and what that does and doesn't claim: docs/position-model.md.
| Layer | Tech |
|---|---|
| Backend | 🐍 FastAPI (Python) — GTFS ingest, realtime poller, position solver |
| Frontend | ⚛️ React + TypeScript + Vite |
| Map & 3D | 🗺️ MapLibre + deck.gl (MapboxOverlay, PathLayer, TripsLayer) |
| Data | 🚏 OVapi / openOV (free, fair use) |
| Tiles | 🌍 OpenFreeMap (Liberty, Bright, Positron, Dark, Fiord) |
| Tests | 🧪 pytest (synthetic GTFS, no network) · Vitest + Testing Library · GitHub Actions |
# Backend (Python 3.12+); on Windows use .venv/Scripts/ instead of .venv/bin/
cd backend
python -m venv .venv && .venv/bin/pip install -r requirements.txt
.venv/bin/python -m uvicorn app.main:app --port 8020
# Frontend
cd frontend
npm install
npm run dev # → http://localhost:5183 (proxies /api to :8020)
Tests (also run on every pull request by GitHub Actions):
cd backend && .venv/bin/pip install -r requirements-dev.txt && .venv/bin/python -m pytest
cd frontend && npm test
Production preview locally (optional):
cd frontend
cp .env.production.example .env.production.local
# edit VITE_API_URL if your backend runs elsewhere
npm run build && npm run preview
Production domain: https://amsterdammetro.nl (API: https://api.amsterdammetro.nl).
| Doc | Contents |
|---|---|
| docs/domain.md | DNS, registrar, env vars |
| docs/render-deploy-plan.md | Render deploy steps |
| docs/translate-proxy.md | Plan: the site through Google Translate's website proxy (all languages) |
| docs/costs-and-specs.md | RAM, bandwidth, pricing |
| docs/legal-compliance.md | Legal / attribution checklist |
| docs/position-model.md | How train positions are derived |
| docs/step-free-stations.md | Step-free station data: the rule, sources, regular checks and log |
| docs/privacy-policy.md | Privacy policy (also at /privacy) |
First backend start downloads the national GTFS zip (~240MB, cached) and extracts the GVB metro subset — a few MB, refreshed daily.
No API keys, no paid services required:
| Item | Cost |
|---|---|
| Transit data (OVapi / NDOV) | Free |
| Map tiles (OpenFreeMap) | Free |
| Small VPS to host backend + frontend | ~€5–10/month |
Full breakdown (RAM, bandwidth, Render tiers): docs/costs-and-specs.md.
Full attribution: docs/attribution.md (also shown in the app sidebar).
MIT — see LICENSE.