Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

RunRoutes

Roundtrip running route planner. Set a start point, target distance, and optional waypoints — get a circular route on runnable roads.

Prerequisites

  • Go 1.22+
  • Docker (for OSRM)

Setup

1. Start OSRM (Bavaria)

Downloads OSM data, extracts with a custom running profile, and starts the routing server on port 5001.

./tools/setup-osrm.sh

First run downloads ~600MB and takes a few minutes to extract. Subsequent runs start instantly.

2. Run the server

cp .env.example .env
go run ./cmd/server

Open http://localhost:8080

Configuration

Variable Default Description
OSRM_BASE_URL http://localhost:5001 OSRM server URL
LISTEN_ADDR :8080 Server listen address

About

simple local roundtrip creator

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages