Skip to content

teambtcmap/btcmap.org

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1,859 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

BTC Map Web App

Netlify Status

Getting started

  1. git clone
    to clone the repo and cd into the directory
  2. Enable Corepack (if needed)
    If pnpm command is not found, run: corepack enable
  3. pnpm install
    to install the packages
  4. pnpm dev
    will open the app on: http://localhost:5000

Check your changes before commit/pushing

  • pnpm run format:fix
  • pnpm run lint
  • pnpm run check
  • pnpm run typecheck
  • pnpm run test --run

Build project

  1. Create .env
    Copy .env.example and save as .env
  2. 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.

Icons

  • 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)

E2E tests

Install

  pnpm playwright install

Run tests

  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.

PWA

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.

Embedding

For information on how to embed the BTC Map web map onto your own website or application please reference our Wiki.


Attributions

Thanks to:

Base map tiles

Icons

Tagger profile badges by AndrejCibik

Satoshi nakamoto icons created by Vitaly Gorbachev - Flaticon


Untitled

About

Free and open source bitcoin map web application

Topics

Resources

License

Contributing

Security policy

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

Packages

 
 
 

Contributors