git clone
the repo andcd
into the directory- run
yarn
to install the packages yarn dev
will open the app onlocalhost:5173
- after making edits run
yarn format
to format the files - run
yarn lint
before commiting any changes
- Create
.env
Copy.env.example
and save as.env
yarn build
NOTE: BTC Map uses the latest LTS version of node. If you have NVM, you can simply run nvm use
in the root directory of the repo to switch to the supported node version.
- Iconify: for general material icons
- vite-plugin-icons-spritesheet: for individual icons (i.e. apps) spritesheets are automatically generated
During development the spritsheets might not update. Use a private-tab to check the latest version.
yarn playwright test
Runs the end-to-end tests.
yarn playwright test --ui
Starts the interactive UI mode.
yarn playwright test --project=chromium
Runs the tests only on Desktop Chrome.
yarn playwright test example
Runs the tests in a specific file.
yarn 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