Routing and geocoding for Indonesia, on your own machine.

A memory-mapped router and a single-file geocoder, both built from OpenStreetMap data for the archipelago. Two engines, one compose file, no database, no external service.

Open the live demo See what it takes to run

Measured on this deployment

Numbers below come from the running stack and the repository files, not from estimates. Date of measurement: 15 November 2026.

Measured values for the Nusapeta stack
WhatValueWhere it comes from
Graph size54,891,393 nodes, 112,340,071 edges/healthz on the demo
Idle memory, whole stack47 MiB across four processesnusapeta/stack README
Images36.8 MB router, 147.5 MB geocoderdocker images
End-to-end checks9 of 9 passingscripts/e2e.sh

Two engines, one compose file

Route

The national graph is read with mmap, so two profiles share the same pages and each router process idles near 17 MB. The on-disk format is .graph v5; the binary is nusa-serve, written in Go.

Place

One .idx file holds the whole geocoder index at format v1, built from the national PBF in 228 s. The binary is nusa-place, written in Rust.

Try it without an account

The demo runs the same compose file published here, behind a rate limit of 15 requests per minute per IP.

  • Search
    /place/search?q=monumen%20nasional Returns Monumen Nasional, Gambir, Jakarta Pusat.
    Open request
  • Reverse
    /place/reverse?lat=-6.1754&lon=106.8272 Returns Jakarta, Gambir, Jakarta Pusat.
    Open request
  • Route
    /route?from=-6.1754,106.8272&to=-6.2444,106.8006 Returns 10,724 m and 680.9 s for the car profile.
    Open request

Run it yourself

The compose bundle is nusapeta/stack. The bootstrap script downloads the published data release and checks its SHA256 before anything starts. The compressed national graph is about 552 MB.

cp .env.example .env
scripts/bootstrap.sh
docker compose up -d --wait
scripts/e2e.sh

What this does not claim

  1. Route accuracy has not passed our internal gate. The E1 gate failed: median difference against the reference is 0.23 %, the 95th percentile is 14.49 %. The gate stays open and these numbers stay published.
  2. place_id is not a Google Place ID. It identifies an OpenStreetMap feature in this index and means nothing outside it.
  3. Coverage is Indonesia. Routes above 100 km return 422 too_far.
  4. Version 0.1.0. The data formats are versioned (.graph v5, .idx v1); the HTTP API can change before 1.0.