nguhmap/README.md
2025-09-15 15:44:59 +02:00

727 B
Raw Blame History

Ŋəmap

To setup dependencies:

# Grab the latest jxl base map, its path is hereafter `themap`
bun install
bun devscripts/generate_tiles.ts themap threadcount
# This will take a while and a lot ram of per thread. If threadcount is not set, default is 8 (uses ~20GB of ram in my tests)

To start a development server:

bun dev

To run for production:

bun devscripts/optimise_assets.ts threadcount
# Will take a bit once again, but not as much ram, set threadcount to around the number of CPU threads you have, if not set default is 16 threads
bun build
bun start

This project was created using bun init in bun v1.2.21. Bun is a fast all-in-one JavaScript runtime.