尚未检测到更新。GitHub 发布版本后会显示在这里。
个人 GitHub 账号下公开仓库的所有者可以登录并验证所有权,自行管理介绍,无需管理员批准。
登录并生成验证文件,在 30 分钟内将其提交到此仓库的默认分支。其他分支或分叉仓库中的文件无效。然后在下方检查文件,即可无需管理员批准直接管理项目。请保留文件以维持管理权限。
如需登录,将前往登录页面。登录后请回到此处,再次点击所选的验证按钮。
在项目文件夹中运行 /nomorevibe verify,即可验证所有权并自行管理介绍。
一分钟完成验证制作者的介绍仅有上面的一句话。 更多详情请阅读仓库 README。 仓库 README ↗
正在加载完整 README。
查看完整 README ↗The Cheers is a mobile-first web app for rating espresso martinis at bars and restaurants. Log each drink against a five-part rubric, record what went into the glass, pin the venue on a map, and let the leaderboard, history and stats tell you where to go next.
It is a Progressive Web App with no build step and no runtime dependencies: plain HTML, CSS and ES modules. Open it in a phone browser, "Add to Home Screen", and it works offline (map tiles and address search need a connection).
docs/GROUPS.md.npm start # serves http://localhost:8080 (zero dependencies)
Any static file server works too (python3 -m http.server, GitHub Pages, Netlify…).
Serve over HTTPS or localhost so geolocation and the service worker are allowed.
npm test # unit tests for scoring, ingredients, store and geo (node:test)
npm run e2e # Playwright browser tests: solo smoke test + two-phone group test
npm run icons # regenerate PNG icons from icons/icon.svg (needs Playwright)
The browser test stubs map tiles, place search and geolocation, so it runs offline and deterministically; it walks the whole app: load sample data, search/sort, map pins and "near me", rate a new venue with address lookup and ingredients, edit, delete, export, theme switch, and persistence across reload.
index.html app shell (header, view container, tab bar)
styles.css design tokens, components, map styling, light/dark themes
manifest.webmanifest PWA manifest
sw.js offline app-shell service worker
src/app.js router and all views
src/scoring.js rubric, overall score, aggregates, ranking (pure)
src/ingredients.js ingredient model and insights (pure)
src/store.js persistence, validation, import/export (pure, Storage-agnostic)
src/geo.js haversine, Web Mercator tile math, geocoding (pure)
src/places.js nearby-places discovery via OpenStreetMap Overpass (pure + fetch)
src/map.js dependency-free slippy map (tiles, pan, pinch, pins)
src/ui.js DOM/format helpers
src/sample-data.js demo venues and tastings
src/config.js Supabase URL + anon key (empty = solo mode)
src/cloud.js Supabase REST client over fetch (auth, tables, RPC, storage)
src/sync.js offline-first sync engine for groups
supabase/schema.sql database schema, security rules and functions
tests/fake-supabase.js in-memory Supabase stand-in used by the tests
tests/*.test.js unit tests
tests/e2e.smoke.js Playwright smoke test
scripts/serve.js static dev server
scripts/make-icons.js icon generator
docs/DESIGN.md design rationale, data model, scoring maths
docs/GROUPS.md group setup and how sync works
Map data and place listings © OpenStreetMap contributors. Please respect the
Overpass API usage guidance,
OSM tile usage policy and
Nominatim usage policy if you
deploy this for more than personal use; swap OSM_TILE_URL in src/map.js for your own
tile provider at scale.