尚未偵測到更新。GitHub 發布版本後會顯示在這裡。
個人 GitHub 帳號下公開儲存庫的擁有者可以登入並驗證所有權,自行管理介紹,無需管理員核准。
登入並產生驗證檔案,在 30 分鐘內將其提交至此儲存庫的預設分支。其他分支或分叉儲存庫中的檔案無效。然後在下方檢查檔案,即可無需管理員核准直接管理專案。請保留檔案以維持管理權限。
如需登入,將前往登入頁面。登入後請回到此處,再次點擊所選的驗證按鈕。
在專案資料夾中執行 /nomorevibe verify,即可驗證所有權並自行管理介紹。
一分鐘完成驗證Navigate your GPX courses on Google Street View
翻譯準備中
取自儲存庫 README
正在載入完整 README。 以下為已儲存的摘錄。
Preview a cycling course in Google Street View before you ride it. Open a GPX
file and the screen splits: Street View on top, the course on a map below,
and an elevation profile at the bottom that doubles as a slider.
Move along the course any way you like:檢視完整 README ↗Preview a cycling course in Google Street View before you ride it. Open a GPX file and the screen splits: Street View on top, the course on a map below, and an elevation profile at the bottom that doubles as a slider.
Move along the course any way you like:
, and .) that follow the course, so they never take
a wrong turn at a junction. They follow Street View's arrows where those
point along the course, which keeps the imagery from one capture instead of
flickering between years.space), at ½×, 1× or 2×.It is a static site with no backend: the GPX never leaves the browser, and GitHub Pages hosts it for free.
Everything is driven by one number, s: metres along the course
(src/course.ts). The slider, step buttons and play mode
turn s into a point, find the nearest Street View panorama, and show it
facing along the course. Moves made inside Street View go the other way: the
new position is projected back onto the course to update s.
That projection is the subtle part. A course that uses a road twice
(out-and-back, laps) has two equally good matches for one position, so
Course.locate searches near the current s first and penalises segments
facing against the direction of travel. It only falls back to the whole
course when nothing nearby fits. The tests in
tests/course.test.ts cover these cases.
Google bills Street View per panorama object, not per image. The app
creates one StreetViewPanorama per page load and only ever re-points it with
setPano, so a ride, however long, is a single
Dynamic Street View
load, plus one Dynamic Maps load for the map. Looking panoramas up with
StreetViewService is not billed, which is what makes stepping and the
background coverage scan (grey stretches on the map and profile) free.
Google's monthly free allowance is far above what personal use needs.
Google's terms don't allow Street View imagery and a non-Google map on the same screen, so the map is Google's too.
https://<user>.github.io/*
and, for development, http://localhost:5173/*.A key in a browser app is always visible to visitors. The referrer restriction and quotas, not secrecy, are what protect it.
Visitors can also paste their own key under Settings. It is stored only in their browser and replaces the built-in one.
Requires Bun.
bun install
cp .env.example .env # then put your key in it
bun run dev # http://localhost:5173
bun run check # lint, typecheck, tests
bun run build # static site in dist/
GOOGLE_MAPS_API_KEY.
Without it, the site deploys and asks each visitor for a key.Every push to main runs the checks and publishes
https://<user>.github.io/<repo>/.
MIT. Google Maps and Street View content shown by the app is Google's and remains under the Google Maps Platform Terms.