Skip to content
Programming-The-Next-Step-2026Public

About

A decision-support tool for students to optimize study time vs. cycling commute window. BikeWise pings weather data along your cycling route to determine if you should stay and "lock in" for another study session or "pedal now" to beat the rain.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

41 Commits

Folders and files

Repository files navigation

BikeWise

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.

Recommendations

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

Use BikeWise online

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.

Installation

# install.packages("devtools")
devtools::install_github("sebkrbs/BikeWise")

Quickstart

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()

APIs

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.

About

A decision-support tool for students to optimize study time vs. cycling commute window. BikeWise pings weather data along your cycling route to determine if you should stay and "lock in" for another study session or "pedal now" to beat the rain.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages