尚未偵測到更新。GitHub 發布版本後會顯示在這裡。
個人 GitHub 帳號下公開儲存庫的擁有者可以登入並驗證所有權,自行管理介紹,無需管理員核准。
登入並產生驗證檔案,在 30 分鐘內將其提交至此儲存庫的預設分支。其他分支或分叉儲存庫中的檔案無效。然後在下方檢查檔案,即可無需管理員核准直接管理專案。請保留檔案以維持管理權限。
如需登入,將前往登入頁面。登入後請回到此處,再次點擊所選的驗證按鈕。
在專案資料夾中執行 /nomorevibe verify,即可驗證所有權並自行管理介紹。
一分鐘完成驗證正在載入完整 README。 以下為已儲存的摘錄。
Wine analytics dashboard for Monte Xanic winery. Tracks berry chemistry (Brix, pH, tANT, TA), wine phenolics, extraction rates, vintage comparisons, and field measurements across 17 grape varieties and 12 vineyard origins in Baja California, Mexico.檢視完整 README ↗Wine analytics dashboard for Monte Xanic winery. Tracks berry chemistry (Brix, pH, tANT, TA), wine phenolics, extraction rates, vintage comparisons, and field measurements across 17 grape varieties and 12 vineyard origins in Baja California, Mexico.
| Layer | Technology |
|---|---|
| Frontend | Vanilla JavaScript (ES6), no framework |
| Charts | Chart.js 4.4.1 (CDN) |
| Data Parsing | SheetJS 0.18.5 (CDN) |
| Database | Supabase (PostgreSQL) |
| Weather | Open-Meteo Archive API |
| Hosting | Vercel (auto-deploy) |
| Auth | HMAC session tokens + bcryptjs |
| AI Assistant | Claude (Anthropic) claude-sonnet-4-6 via /api/mona proxy |
index.html Single-page app
js/ Frontend modules (14 files)
app.js App lifecycle, routing, refresh
auth.js Login/logout, token management
config.js Colors, mappings, normalization
dataLoader.js Supabase queries, data transformation
filters.js Filter state, chip UI
charts.js All Chart.js rendering
tables.js Table rendering, sorting
kpis.js KPI calculations
weather.js Open-Meteo API, meteorology cache
upload.js File parsing, server upload
mediciones.js Mediciones form, table, charts
maps.js SVG vineyard map
explorer.js Dynamic chart builder
events.js Event delegation (CSP-safe)
api/ Vercel serverless functions
login.js Authentication
verify.js Token validation
logout.js Token revocation
config.js Supabase credentials (auth-gated)
upload.js Data insertion (auth-gated)
lib/verifyToken.js Shared HMAC verification
lib/rateLimit.js In-memory rate limiter
ping.js Daily Supabase keep-alive (Vercel cron)
migrations-status.js Migration drift diff for lab banner
row.js Generic row edit/delete (lab role)
css/styles.css All styling, dark/light themes
sql/ Database migrations
tests/ Unit tests (47 tests, 5 suites)
docs/ Detailed documentation
npm install
npm start # http://localhost:8080 (static only)
npx vercel dev # With API endpoints (requires .env.local)
npm test # Run unit tests
Create .env.local with:
SUPABASE_URL=...
SUPABASE_ANON_KEY=...
SUPABASE_SERVICE_KEY=...
SESSION_SECRET=...
AUTH_USERNAME=...
AUTH_PASSWORD_HASH=...
LAB_USERNAME=...
LAB_PASSWORD_HASH=...
CRON_SECRET=...
CRON_SECRET gates /api/ping, the daily Supabase keep-alive endpoint invoked by Vercel cron. Production-scope only — not needed in .env.local for local dev. Generate with openssl rand -hex 32.
See docs/Operations.md for full setup instructions.
Detailed docs are in docs/:
| Doc | Content |
|---|---|
| Architecture | System design, data flows, auth flow |
| Frontend Architecture | Module responsibilities, state ownership |
| Database | All table schemas with types and constraints |
| API | Endpoint contracts, request/response shapes |
| Data Dictionary | Chemistry terms, units, naming conventions |
| Data Validation | Upload parsing, normalization, filtering rules |
| Security | Auth model, CSP, rate limiting, known limitations |
| Operations | Setup, deployment, environment variables |
| Test Coverage | Test suite details and coverage gaps |
| Domain Model | Entity relationships, identifier formats |
| Roadmap |
All planned phases (1-7) are complete. See docs/Roadmap.md for details.
| Completed phases, deferred work, future improvements |
| Development Rules | Single-console development workflow |