Open Source Routing Machine (OSRM)
High performance routing engine designed to run on OpenStreetMap data and offering an HTTP API, C++ library interface, and Nodejs wrapper.
- GitHub stars
- 8,135
- License
- BSD-2-Clause
- Latest release
- v26.10.0
1 October 2026 - Last commit
- 12 October 2026
- Runs on
- C++
Commits per month, last 12 months
328 commits
Replaces
Paid products Open Source Routing Machine (OSRM) can stand in for.
How to self-host Open Source Routing Machine (OSRM)
Open Source Routing Machine (OSRM) runs on C++. The project's own install guide is the place to start; most people put it on a small server with Docker and a reverse proxy for HTTPS.
- Get a server: a home server, a VPS, or a managed app host.
- Install it the way the project's docs describe, usually with Docker Compose.
- Put it behind HTTPS and set up backups before you add real data.
- Update it regularly. Watch the project's releases.
Similar apps
- Dawarich
Visualize your location history, track your movements, and analyze your travel patterns with complete privacy and control (alternative to Google Timeline a.k.a. Google Location History).
- GraphHopper
Fast routing library and server using OpenStreetMap.
- Nominatim
Server application for geocoding (address -> coordinates) and reverse geocoding (coordinates -> address) on OpenStreetMap data.
- wanderer
Trail database where you can upload your recorded tracks or create new ones and add various metadata to build an easily searchable catalogue.
- AdventureLog
Travel tracker and trip planner.
- TileServer GL
Vector and raster maps with GL styles. Server side rendering by Mapbox GL Native. Map tile server for Mapbox GL JS, Android, iOS, Leaflet, OpenLayers, GIS via WMTS, etc.
Questions
Is Open Source Routing Machine (OSRM) free?
Yes. Open Source Routing Machine (OSRM) is open source under the BSD-2-Clause license, so you can use it without paying for a license. You pay only for the server it runs on.
Can I self-host Open Source Routing Machine (OSRM)?
Yes. Open Source Routing Machine (OSRM) runs on C++. Follow the install guide in the project's documentation, or use a host that installs it for you.
What does Open Source Routing Machine (OSRM) replace?
People use Open Source Routing Machine (OSRM) instead of Mapbox.
Is Open Source Routing Machine (OSRM) still maintained?
The last change to Open Source Routing Machine (OSRM)'s code was on 12 October 2026, with 328 commits in the last 12 months.
Topics
App data from awesome-selfhosted (CC BY-SA 3.0), stars and activity from GitHub.