Open Source Routing Machine (OSRM)

Open Source Routing Machine (OSRM) is a high-performance C++ routing engine that computes shortest and fastest paths over OpenStreetMap road data and serves…

  • Development
Open Source Routing Machine (OSRM) is a high-performance C++ routing engine that computes shortest and fastest paths over OpenStreetMap road data and serves Nearest, Route, Table, Match, Trip, and Tile operations over an HTTP API with C++ and Node.js bindings for developers and homelabbers needing fast self-hosted routing, distance matrices, and routing map tiles.

Platform availability

Available on 1 of 10 platforms

  • Unraid (not listed)
  • TrueNAS (not listed)
  • Umbrel (not listed)
  • ZimaOS (not listed)
  • Proxmox (not listed)
  • Helm (not listed)
  • Mac (not listed)
  • Windows (not listed)
  • Linux (not listed)
  • Any server

Health score?A 0-100 score computed nightly from four factors: maintained (40%: recent commits and steady activity), popular (25%: GitHub stars, log scale), easy to install (20%: platforms, install notes, setup guides, Docker image) and light to run (15%: minimum RAM, ARM support). When the source code has been checked, a fifth factor, security check (20%: automated scan for committed secrets, unsafe desktop-app settings, known-vulnerable dependencies and project hygiene; any serious finding caps it at 20), is added. Factors without data are left out and the rest are rescaled.

68/100 Good

Maintained
100last commit 5 days ago
Popular
788,231 GitHub stars
Easy to install
251 install platform, install notes
Light to run
10140 GB minimum RAM
Security check
81no serious findings, CI, tests, OpenSSF Scorecard 5.2/10

Availability: platform listings confirmed today

GitHub stars
8,231
Open issues
394
Last commit
2026-11-16
Latest release
v26.11.0
License
BSD-2-Clause
Activity
rising

Checked 3 days ago - source: GitHub (Project-OSRM/osrm-backend)

Resources & Compatibility

Minimum requirements: 140 GB RAM.

Checked 3 days ago - source: Docker Hub image tags and published docs

First-install notes

  • Docker install A container image for osrm-backend is published on Docker Hub (osrm/osrm-backend); before the engine can serve routes, your OpenStreetMap extract must be pre-processed for it. source

Fetched 3 days ago - each note links to its source

Alternatives

No alternatives collected yet.

Common questions

Do I need to prepare OpenStreetMap data before OSRM can serve routes?

Yes. The OpenStreetMap extract must be pre-processed before the engine can serve routes.

Which OSRM pre-processing pipeline should I use?

Use Multi-Level Dijkstra by default. Contraction Hierarchies are still better for very large distance matrices.

Can OSRM route for bicycles and pedestrians?

OSRM supports car, bicycle, and walk modes. The profiles can be customized.

Can OSRM generate map tiles for routing frontends?

The Tile operation generates Mapbox Vector Tiles with internal routing metadata.

Does OSRM account for turn restrictions?

Yes, OSRM includes proper turn restrictions.

Answers sourced from project-osrm.org, github.com, hub.docker.com, sumguy.com

Community

Collected 3 days ago - public community threads