Skip to content

About

A mobile-first “should we go now?” app for NL kitesurfers: it shows nearby spots, a clear go/no-go score per spot and time window, and lets users set alerts for “sendable” conditions.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

SendWindow 🪁

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.

Features

  • 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.

Tech Stack

  • 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.

Privacy

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.

Getting Started

Prerequisites

  • Node.js (v20.19+ or v22.12+)
  • npm

Installation

git clone https://github.com/your-username/sendwindow.git
cd sendwindow
npm install

Development

Start the local development server:

npm run dev

Visit http://localhost:5173.

Production Build

Create a production-ready build:

npm run build

The output will be in the dist/ directory.

Testing

  • npm run build — type-check + production build sanity check.

Deployment

This is a Single Page Application (SPA). For deployment:

  1. Build the app (npm run build).
  2. Serve the dist folder using any static file server (NGINX, Apache, Vercel, Netlify).
  3. Important: Configure your server to redirect 404s to index.html to support client-side routing.

See instructions_for_deployment.md for a detailed NGINX configuration guide.

License

MIT

About

A mobile-first “should we go now?” app for NL kitesurfers: it shows nearby spots, a clear go/no-go score per spot and time window, and lets users set alerts for “sendable” conditions.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages