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.

BSD-2-ClauseEveryday & more
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.

  1. Get a server: a home server, a VPS, or a managed app host.
  2. Install it the way the project's docs describe, usually with Docker Compose.
  3. Put it behind HTTPS and set up backups before you add real data.
  4. Update it regularly. Watch the project's releases.

New to self-hosting? Start with the beginner's guide.

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

    10.7k stars
  • GraphHopper

    Fast routing library and server using OpenStreetMap.

    6.7k stars
  • Nominatim

    Server application for geocoding (address -> coordinates) and reverse geocoding (coordinates -> address) on OpenStreetMap data.

    4.5k stars
  • wanderer

    Trail database where you can upload your recorded tracks or create new ones and add various metadata to build an easily searchable catalogue.

    4k stars
  • AdventureLog

    Travel tracker and trip planner.

    3.8k stars
  • 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.

    2.9k stars

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

Maps and Global Positioning System (GPS)

App data from awesome-selfhosted (CC BY-SA 3.0), stars and activity from GitHub.