尚未偵測到更新。GitHub 發布版本後會顯示在這裡。
個人 GitHub 帳號下公開儲存庫的擁有者可以登入並驗證所有權,自行管理介紹,無需管理員核准。
登入並產生驗證檔案,在 30 分鐘內將其提交至此儲存庫的預設分支。其他分支或分叉儲存庫中的檔案無效。然後在下方檢查檔案,即可無需管理員核准直接管理專案。請保留檔案以維持管理權限。
如需登入,將前往登入頁面。登入後請回到此處,再次點擊所選的驗證按鈕。
在專案資料夾中執行 /nomorevibe verify,即可驗證所有權並自行管理介紹。
一分鐘完成驗證正在載入完整 README。 以下為已儲存的摘錄。
A minimalist weather app in plain HTML/CSS/JS — no frameworks, no build tools, no API key. Uses the Open-Meteo API for geocoding and forecasts, and OpenStreetMap Nominatim to name your current location.檢視完整 README ↗A minimalist weather app in plain HTML/CSS/JS — no frameworks, no build tools, no API key. Uses the Open-Meteo API for geocoding and forecasts, and OpenStreetMap Nominatim to name your current location.
localStorage), accessible from a star button/dropdown next to the search bar, with a blurred backdrop while it's open and up/down buttons to reorder them?lat=...&lon=...&name=...&country=...) — the address bar always reflects the current city, and a share button next to the city name copies/shares the linklocalStoragelocalStorage (defaults to English on first visit)No build step or dependencies to install. Since the files use fetch and relative paths, they need to be served over HTTP (opening index.html directly via file:// can fail due to CORS in some browsers). Any static server works, for example:
python3 -m http.server 8000
then open http://localhost:8000 in your browser.
index.html page structure
css/style.css styles
js/app.js logic: geocoding, weather fetch, render, state
sw.js service worker (caches the app shell)
manifest.json PWA manifest
icons/ PWA icons
test/ automated tests (see Testing below)
The app itself still has no dependencies, but the test suite runs on Node's built-in test runner (Node 18+):
npm test
Since js/app.js is a plain script with no exports (by design — no build
step, no modules), tests work by giving it a fake document/window/
localStorage/fetch (see test/dom-stub.js) and asserting on what it
renders, the same way a real browser tab would host it. No network calls are
made — test/fixtures.js has canned Open-Meteo/Nominatim-shaped responses.
Published on Vercel as a static site, imported directly from this repo (no custom build command or output directory — Vercel serves index.html from the root as-is). Every push to main deploys automatically to https://climoscope-drab.vercel.app/.