Hostinger Black Friday deal: VPS hosting up to 70% off
Ad

Try describing what you need:

Open Source Routing Machine (OSRM) logo

Open Source Routing Machine (OSRM)

★ 8.3k

A self-hosted alternative to Google Maps

BSD 2-Clause "Simplified" LicenseOpen Source — No PaywallDocker · Source25+ active committers (12mo)

About

Open Source Routing Machine (OSRM) is a high-performance routing engine built in C++ for working with OpenStreetMap data. It is intended for developers and operators who need routing, navigation, and...

Community Ratings

No ratings yet

Features

  • nearest-match snapping
  • route calculation
  • route matrix/table computation
  • GPS trace matching
  • traveling salesman trip solving
  • Mapbox Vector Tile generation
  • HTTP API
  • C++ library interface
  • Node.js wrapper
  • user-facing frontend demo

Details

Last Updated
Nov 26, 2026
Created
Sep 22, 2011
Install Methods
dockersource
Requirements
OpenStreetMap dataDocker (for the recommended setup)Ubuntu 22.04 build dependencies: build-essential, git, cmake, pkg-config, libbz2-dev, libxml2-dev, libzip-dev, libboost-all-dev, lua5.2, liblua5.2-dev, libtbb-devNode.js toolchain for the Node.js bindingsmodern libstdc++ toolchain (>= GLIBCXX_3.4.26) for pre-built Node binaries
Default Port
5000HTTP API
API
REST
Runtime / Stack
C++
Privacy & Independence
No Cloud RequiredOffline Capable
Deployment

Deployment: no container deployment found

Run Open Source Routing Machine (OSRM) yourself

Pick how much you want to manage.

3 more ways to host

Some links earn us a commission. netcup pays us one and is our preferred VPS host. Hostinger is a paid sponsor and is listed first.

Is this your project? Sponsor a listing

Track your self-hosted stack

Bookmark software to try, rate tools you've used, and keep your collection in one place.

Metadata extracted from README on Mar 25, 2026

Alternatives to Open Source Routing Machine (OSRM)

GraphHopper logo

GraphHopper

6.8k
GraphHopper is a fast, memory-efficient routing engine for calculating routes, turn-by-turn instructions, road attributes, snapping to roads, and isochrones.
Maps and GPSTrip PlanningPermissive License
Details
OpenRouteService logo

OpenRouteService

2.0k
Openrouteservice is a customizable Java-based routing service that provides directions, isochrones, matrix calculations, snapping, and graph export from OpenStreetMap data.
Maps and GPSTrip PlanningCopyleft License
Details
OpenTripPlanner logo

OpenTripPlanner

2.8k
OpenTripPlanner is an open source multi-modal trip planner for public transportation, walking, bicycling, and mobility services.
Maps and GPSTrip PlanningSelf Hosting Solutions+1
Details

Related Software

Nominatim logo

Nominatim

4.6k
Nominatim is a geocoding and reverse geocoding tool for searching OpenStreetMap data by name and address.
Maps and GPSSelf Hosting SolutionsCopyleft License
Details
MapTiler Server logo

MapTiler Server

Host OpenStreetMap vector tiles, satellite imagery, own geodata and data from PostGIS database.
Maps and GPSSelf Hosting SolutionsDatabase Management+1
Details
TileServer GL logo

TileServer GL

2.9k
TileServer GL serves vector and raster maps with GL styles and renders map tiles server-side using MapLibre GL Native.
Maps and GPSWeb ServersPermissive License
Details
Geo2tz logo

Geo2tz

99
A self-hosted service that returns the timezone for given latitude and longitude coordinates.
Maps and GPSPermissive LicenseSelf Hosting Solutions
Details
FitTrackee logo

FitTrackee

1.2k
A simple self-hosted workout and activity tracker for recording outdoor activities from files on your own server.
Health & FitnessCopyleft LicenseMaps and GPS+2
Details
Workout Tracker logo

Workout Tracker

1.3k
A self-hosted workout tracking web application for personal or family use, focused on running and other GPX-based activities.
Health & FitnessMaps and GPSSelf Hosting Solutions+1
10 Containers
Details
Geo Activity Playground logo

Geo Activity Playground

101
Geo Activity Playground is a self-hosted web app for viewing recorded outdoor activities and generating insights from local activity data.
Maps and GPSHealth & FitnessAnalytics Tools+2
Single Container
Details
Endurain logo

Endurain

1.9k
Endurain is a self-hosted fitness tracking service for managing workout and activity data with privacy and customization in mind.
Health & FitnessSelf Hosting SolutionsMaps and GPS+2
Fully FOSS
Details
Posio logo

Posio

703
A multiplayer geography game built with Django, HTMX, Leaflet, and Django Channels.
GamesPermissive LicenseMaps and GPS+1
Details
FossFLOW logo

FossFLOW

20.5k
FossFLOW is an open-source progressive web app for creating isometric diagrams in the browser.
Diagramming ToolsPermissive LicenseSelf Hosting Solutions+1
Details