A smart, modern kitesurf forecast application for the Netherlands. SendWindow calculates the best "window" to send it, based on real-time wind data and spot specificities.
- Smart Scoring: Automatically rates spots (Green/Yellow/Red) based on wind speed, gusts, and direction relative to the spot's safe wind angles.
- Real-time Forecasts: Powered by Open-Meteo for accurate, hyper-local wind data.
- Spot Filtering: Filter by radius, seasonality (Open Now), level (Beginner Friendly), and water type (Shallow).
- Duo Mode 🤝: Planning a session with a buddy? Input two locations to find the fairest "compromise" spot that works for both of you.
- Driving Travel Times 🚗: Estimates real driving duration using OSRM, cached for instant results.
- Live Webcams 📷: View live feeds directly from spot cards like Zandvoort and Scheveningen.
- Visual Themes: Beautiful, AI-generated themes for North Sea, Inland, and Action spots.
- Locally Persisted: Remembers your location and filter preferences.
- Privacy Focused: No visitor analytics, tracking cookies, or server-side search history.
- Frontend: React (v18), TypeScript, Vite
- State/Data: TansStack Query (React Query) for caching and state management.
- Maps: Leaflet & React-Leaflet.
- Styling: Custom CSS variables, responsive implementation.
- Routing: OSRM (Open Source Routing Machine) public API for driving times.
- Data Source: NKV (Nederlandse Kitesurf Vereniging) public spot data.
SendWindow does not collect visitor analytics, store search history, or set tracking cookies. Location and filter preferences are stored locally in the user's browser.
- Node.js (v20.19+ or v22.12+)
- npm
git clone https://github.com/your-username/sendwindow.git
cd sendwindow
npm installStart the local development server:
npm run devVisit http://localhost:5173.
Create a production-ready build:
npm run buildThe output will be in the dist/ directory.
npm run build— type-check + production build sanity check.
This is a Single Page Application (SPA). For deployment:
- Build the app (
npm run build). - Serve the
distfolder using any static file server (NGINX, Apache, Vercel, Netlify). - Important: Configure your server to redirect 404s to
index.htmlto support client-side routing.
See instructions_for_deployment.md for a detailed NGINX configuration guide.
MIT