尚未检测到更新。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/.