# Project-OSRM/osrm-backend

Open Source Routing Machine - C++ backend

Repository: https://github.com/Project-OSRM/osrm-backend
Canonical: https://ross.abutalabs.com/products/osrm-backend
Homepage: https://discord.gg/CpWzBC9G7Z
Language: C++
License: BSD-2-Clause
License Family: permissive
Topics: osrm, cpp, c-plus-plus, routing, routing-engine, map-matching, traveling-salesman, openstreetmap, osm, isochrones, cpp17
Last push: 2026-08-24T19:53:37+00:00

## Health v2 (maintenance only)
Score: 98/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 99, release rhythm 95, longevity 100
- inputs: {"age_days": 5459, "days_push": 9, "days_rel": 32, "gap_med": 3.5, "n_releases_24m": 15}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 8013, forks 3960 (observed 2026-08-28T04:10:11.749713+00:00)

## What it is
OSRM is a high-performance C++ routing engine built on OpenStreetMap data, exposing services via HTTP API, C++ library, and Node.js wrapper. It provides routing, distance matrices, map matching, TSP trips, and vector tile generation.

## Use cases
- compute fastest driving routes between coordinates
- snap GPS traces to the road network
- build a distance/duration matrix for many locations
- solve traveling salesman routes with a greedy heuristic
- self-host a routing API on OpenStreetMap data
- find nearest road segment to a coordinate

## When to choose
- you need fast, self-hosted routing on OSM data
- you need map matching or travel-time matrices at scale
- you want an alternative to commercial routing APIs

## When to avoid
- you need turn-by-turn navigation UX out of the box (pair with a frontend)
- you need real-time traffic-aware routing
- you only need simple geocoding without routing

## Facets
- artifact type: service
- maturity: active
- function: routing, http-server, api-framework, geospatial, search-engine
- domain: apis, developer-tools
- platform: windows, cpp, self-hosted
- tags: openstreetmap, routing-engine, map-matching, isochrones, traveling-salesman, navigation, contraction-hierarchies, maps, geospatial, linux, macos, docker, nodejs

## Member repositories
- Project-OSRM/osrm-backend (main) score 98

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:10:11.749713+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T17:32:05.559325+00:00, confidence not recorded.
  - readme: https://github.com/Project-OSRM/osrm-backend (fetched 2026-08-28T04:10:11.749713+00:00, sha f4ffdf3face8)
  - homepage: https://discord.gg/CpWzBC9G7Z (fetched 2026-08-29T08:29:20.052655+00:00, sha 667dc4b1bf61)
- Data as of 2026-08-30T08:39:29.467469+00:00.
