Open Source Routing Machine (OSRM)
★ 8.3kA 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 yetNew this week
Read recap →Weekly Recap — Nov 13, 2026 – Nov 20, 2026Nov 20, 2026
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.
HostingerSponsored
One click
Hostinger template, runs in your own Hostinger account.
About 5 minutes to running
netcupBest match
Full control
A small server, then Docker Compose.
About 20 minutes with Docker
Hetzner
Full control
A small server, then Docker Compose.
About 20 minutes with Docker
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
Tags
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
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
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
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
Related Software
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
MapTiler Server
Host OpenStreetMap vector tiles, satellite imagery, own geodata and data from PostGIS database.
Maps and GPSSelf Hosting SolutionsDatabase Management+1
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
Geo2tz
99
A self-hosted service that returns the timezone for given latitude and longitude coordinates.
Maps and GPSPermissive LicenseSelf Hosting Solutions
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
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
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
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
Posio
703
A multiplayer geography game built with Django, HTMX, Leaflet, and Django Channels.
GamesPermissive LicenseMaps and GPS+1
FossFLOW
20.5k
FossFLOW is an open-source progressive web app for creating isometric diagrams in the browser.
Diagramming ToolsPermissive LicenseSelf Hosting Solutions+1
