Cycle safely. Arrive dry.
BikeWise is an R package that helps cyclists decide when to leave. It plans a cycling route between two locations, checks the weather forecast at checkpoints along the way, and finds the earliest rain-free departure window within the next 24 hours.
Your personal rain tolerance (none / light / moderate / heavy) determines what counts as "dry enough" for your ride.
After selecting your start and destination, BikeWise gives one of:
- You're good to go! — the route looks dry right now
- Leave at HH:MM for a dry ride. — a dry window is coming; leave then
- No dry window today. Grab a raincoat — no dry window in today's forecast
- Built different. Just ride. — for users who cycle in any weather
No installation needed — BikeWise is live at:
https://sebkrbs.shinyapps.io/bikewise/
Create a personal account to save your locations and rain tolerance. Your profile is accessible from any device, anywhere — just log in and go.
# install.packages("devtools")
devtools::install_github("sebkrbs/BikeWise")Local mode — no account or internet setup needed, stores data in local CSV files:
library(BikeWise)
StartCycling()Online mode — stores data in Google Sheets, supports multiple devices.
Requires a one-time setup (see vignette("online-setup", package = "BikeWise")):
library(BikeWise)
StartCyclingOnline()BikeWise uses three free, open APIs — no keys required:
- Open-Meteo — 15-minute precipitation forecasts over a 24-hour window
- OSRM — cycling route geometry and travel time
- Nominatim — address geocoding via OpenStreetMap
An internet connection is required to fetch routes and weather data.