git clone
to clone the repo andcdinto the directory- Enable Corepack (if needed)
Ifpnpmcommand is not found, run:corepack enable pnpm install
to install the packagespnpm dev
will open the app on: http://localhost:5000
pnpm run format:fixpnpm run lintpnpm run checkpnpm run typecheckpnpm run test --run
- Create
.env
Copy.env.exampleand save as.env pnpm build
NOTE: BTC Map uses Node 22 LTS. If you have mise, run mise install in the repo root to switch to the correct version. This project uses Corepack (bundled with Node 22) to manage pnpm automatically.
- Iconify: for general material/fontawesome icons via
Icon.svelte - Custom icons (socials, apps, mobile-nav): imported as raw SVGs in
src/lib/icons/via wrapper components (IconSocials.svelte,IconApps.svelte,IconMobileNav.svelte)
pnpm playwright install pnpm playwright test
Runs the end-to-end tests.
pnpm playwright test --ui
Starts the interactive UI mode.
pnpm playwright test --project=chromium
Runs the tests only on Desktop Chrome.
pnpm playwright test example
Runs the tests in a specific file.
pnpm playwright test --debug
Runs the tests in debug mode.This website is a progressive web app, meaning you can install it on your mobile device and use it like a native application. Just look for the Add to home screen or Install option in your browser while visiting btcmap.org.
For information on how to embed the BTC Map web map onto your own website or application please reference our Wiki.
Thanks to:
Tagger profile badges by AndrejCibik
Satoshi nakamoto icons created by Vitaly Gorbachev - Flaticon
