garage44.eu/jeroen/cartopolis

logclone: git clone https://garage44.eu/jeroen/cartopolis.git

README.md

Cartopolis

A shared, walkable 3D copy of the real world, built from open public data. Rust + Bevy. Runs on the desktop, in the browser and on Android, and you can host your own.

cartopolis.org (WebGPU) · desktop releases (x86_64 needs AVX2 + FMA) · Android APK

Six screens of the app: a building card, local chat, a private chat's map, map layers, route planning, the globe

Use it

Nothing to install for the web: open cartopolis.org in a browser with WebGPU.

  • Desktop: download from releases. Linux: unpack cartopolis-linux-x86_64.tar.gz and run ./run.sh. Windows: unpack the zip and run cartopolis.exe. Needs a GPU driver; x86_64 needs AVX2 + FMA.
  • Android: install the APK from cartopolis.org/apk.

The app starts with the map. To meet people, choose ☰ ▸ Sign in…: it signs in to cartopolis.org, or to your own server if you type its address under Server.

Host your own server

A server is one program, cartopolis-server: the shared world, accounts and chat, the website, and the map data and place search for its area. You need a Linux machine with systemd and a domain name pointed at it. Install Caddy first for HTTPS; the installer then sets it up too.

curl -fsSL https://cartopolis.org/server/install.sh | sh

It asks for the server's address and an admin account, starts the server and adds the address to Caddy. Open https://maps.example.org, or sign in from the app with maps.example.org as the server. The map data for your area is made from the website: sign in as the admin and open Admin ▸ Data.

Updates are offered on the server's Admin page: it looks for a new release every six hours, and shows only one signed by the Cartopolis maintainer. An admin installs it with one click; the server tests it on a copy of its database, keeps the previous version and database, and goes back to them by itself when the new one does not start.

The download is also at cartopolis.org/server; unpacked, ./install.sh does the same. To build it from source: deploy/build/server-package.sh. The server guide has the settings and how the hosted server is set up.

Build it yourself

Install Git LFS before cloning: fonts, icons and test fixtures are compiled in, and without LFS the build embeds pointer files and fails at runtime. Then cargo run -p cartopolis runs the app. Rust, a C compiler and a GPU driver are needed; Linux links with clang + lld. The development guide covers the dev loop, tests, the web and Android builds, the code map and CI.

Where it works

The map, sky, weather, routing and shared world work anywhere on Earth. Register detail is available for the Netherlands only: measured buildings and their records, relief, street objects, aerial photography and transit. Elsewhere the ground is flat and buildings come from OpenStreetMap.

Docs

Licence

Code is MIT OR Apache-2.0 (LICENSE). Data, models and the font carry their own terms. LICENSE-THIRD-PARTY.md is the canonical list; the credits below mirror it, so add new sources there.

Credits