headwaymaps/headway

Self-hostable maps stack, powered by OpenStreetMap.

Rust

3,006

1,316 commits

updated Oct 9, 2026

See the code

README

Headway

GitHub Actions status badge License badge GitHub last commit badge GitHub commit activity badge

World map image

Headway is a maps stack in a box that makes it easy to take your location data into your own hands. With just a few commands you can bring up your own fully functional maps server. This includes a frontend, basemap, geocoder and routing engine. Choose one of the 200+ predefined cities or provide your own OpenStreetMap extract covering any area: from a neighborhood to the whole planet.

See BUILD.md for more information about the build process.

Status

Headway is currently capable of showing a map, searching for points of interest and addresses within an OpenStreetMap extract and providing directions between any two places within that extract. Supported modes include driving, cycling and walking. Transit directions are a work-in-progress.

System Requirements

Headway has been confirmed working on amd64 machines running Linux and macOS. The machine used for generation of the data files needs to have at least 8GB of memory, potentially more for larger areas. The requirements for running an instance of the stack are lower though. Expect to need around 4GB for a medium sized metro area. Additionally, you should expect to need 50GB-100GB of disk space during the build process.

Development

.githooks/pre-commit runs the formatting, linting and test checks. Run it by hand, or automatically before each commit by setting this once per clone:

git config core.hooksPath .githooks

License

Headway is available freely under the terms of the Apache License, version 2.0. Please consider opening a PR for any enhancements or bugfixes!

directions
geocoding
geospatial
maps
navigation
openstreetmap
routing

headwaymaps/headway

Self-hostable maps stack, powered by OpenStreetMap.

Rust

3,006

1,316 commits

updated Oct 9, 2026

See the code

README

Headway

GitHub Actions status badge License badge GitHub last commit badge GitHub commit activity badge

World map image

Headway is a maps stack in a box that makes it easy to take your location data into your own hands. With just a few commands you can bring up your own fully functional maps server. This includes a frontend, basemap, geocoder and routing engine. Choose one of the 200+ predefined cities or provide your own OpenStreetMap extract covering any area: from a neighborhood to the whole planet.

See BUILD.md for more information about the build process.

Status

Headway is currently capable of showing a map, searching for points of interest and addresses within an OpenStreetMap extract and providing directions between any two places within that extract. Supported modes include driving, cycling and walking. Transit directions are a work-in-progress.

System Requirements

Headway has been confirmed working on amd64 machines running Linux and macOS. The machine used for generation of the data files needs to have at least 8GB of memory, potentially more for larger areas. The requirements for running an instance of the stack are lower though. Expect to need around 4GB for a medium sized metro area. Additionally, you should expect to need 50GB-100GB of disk space during the build process.

Development

.githooks/pre-commit runs the formatting, linting and test checks. Run it by hand, or automatically before each commit by setting this once per clone:

git config core.hooksPath .githooks

License

Headway is available freely under the terms of the Apache License, version 2.0. Please consider opening a PR for any enhancements or bugfixes!

directions
geocoding
geospatial
maps
navigation
openstreetmap
routing

Significant stargazers

(top 24 of 44)

Renée

499 followers · starred Sep 2025

Josh Baker

4,705 followers · starred Sep 2022

Peter Goldstein

153 followers · starred Jul 2026

Boris Verkhovskiy

130 followers · starred Sep 2023