尚未偵測到更新。GitHub 發布版本後會顯示在這裡。
個人 GitHub 帳號下公開儲存庫的擁有者可以登入並驗證所有權,自行管理介紹,無需管理員核准。
登入並產生驗證檔案,在 30 分鐘內將其提交至此儲存庫的預設分支。其他分支或分叉儲存庫中的檔案無效。然後在下方檢查檔案,即可無需管理員核准直接管理專案。請保留檔案以維持管理權限。
如需登入,將前往登入頁面。登入後請回到此處,再次點擊所選的驗證按鈕。
在專案資料夾中執行 /nomorevibe verify,即可驗證所有權並自行管理介紹。
一分鐘完成驗證製作者的介紹僅有上面的一句話。 更多詳情請閱讀儲存庫 README。 儲存庫 README ↗
正在載入完整 README。
檢視完整 README ↗Live: https://surf-windows.vercel.app · Subscribe: https://surf-windows.vercel.app/feed.ics
Built in one afternoon with Claude Code, with 56 offline tests. The spec is in CLAUDE.md, and every decision is logged in DECISIONS.md.
Good surf is a rare alignment: waves from distant storms have to arrive alongside the right tide, wind, daylight and a few rain-free days. Surf Windows finds the hours at Pleasure Point, Santa Cruz, when they all line up, and puts them on your calendar as a live feed that updates with the forecast, so you can plan meetings and dinners around good surf.
Good surf needs five things to line up at once, and each changes on its own clock:
| Condition | Why it matters | Changes over |
|---|---|---|
| Waves | Energy from storms far out at sea. Too small is flat, too big is dangerous. | Days |
| Tide | Too high and the waves don't break well at this spot. | Twice a day |
| Wind | Calm wind keeps waves smooth; wind blowing onshore makes them choppy. | Hours |
| Rain | Runoff carries bacteria into the water; health officials advise waiting 72 hours. | Days |
| Daylight | You need to see. | Every day |
Forecast apps show the conditions, but I still had to check every day and work out when I was free. Surf Windows turns the forecast into calendar time.
Open-Meteo (swells, wind, rain) ─┐
NOAA (tides) ────────────────────┼─> score hours -> merge windows -> page (/) + feed (/feed.ics)
astral (sunrise, sunset) ────────┘
Set in config.yaml. The Pleasure Point settings:
spot:
high_tide_ft: 4.2 # tide reaching this is too high
ideal_tide_ft: 3.7 # staying below this is ideal
preferences:
size: {knee: skip, waist: ok, chest: fav, head: fav, overhead: ok, way_over: skip}
warn_sizes: [overhead] # 5–7 ft is okay, with a big-wave warning
tide: {low: ok, mid: ok, high: skip}
wind: {glassy: fav, light: ok, windy: skip}
rain: {skip_after_hours: 72, threshold_in: 0.1}
daylight: {before_sunrise_min: 60, after_sunset_min: 60}
Sizes use Surfline-style feet: knee 1–2, waist 2–3, chest 3–4 (Surfline's "waist to shoulder"), head 4–6, overhead 5–7, and way over 6–8 and up, which is a no-go.
pip install -r requirements.txt
pytest # offline, against tests/fixtures/
python scripts/record_fixtures.py # refresh the fixtures from the live APIs
vercel dev
Weather data by Open-Meteo.com. Tide predictions from NOAA CO-OPS. Built with Claude Code.