Guide·Achat
Ce produit est-il fait pour vous ? Guide·Achat analyse les smartphones et PC portables selon votre profil, vos usages et vos priorités.
翻译准备中
尚未检测到更新。GitHub 发布版本后会显示在这里。
个人 GitHub 账号下公开仓库的所有者可以登录并验证所有权,自行管理介绍,无需管理员批准。
登录并生成验证文件,在 30 分钟内将其提交到此仓库的默认分支。其他分支或分叉仓库中的文件无效。然后在下方检查文件,即可无需管理员批准直接管理项目。请保留文件以维持管理权限。
如需登录,将前往登录页面。登录后请回到此处,再次点击所选的验证按钮。
在项目文件夹中运行 /nomorevibe verify,即可验证所有权并自行管理介绍。
一分钟完成验证Free and open source bitcoin map web application
翻译准备中
取自仓库 README
正在加载完整 README。
查看完整 README ↗git clonecd into the directorypnpm is not found — or pnpm --version reports < 10 — run mise install (see note below) or use one of the standalone installation methodspnpm installpnpm devpnpm run format:fixpnpm run lintpnpm run checkpnpm run typecheckpnpm run test --runTo test the frontend against a local btcmap-api instance:
cd btcmap-api && cargo run (binds to 127.0.0.1:8000).env — pick one:
VITE_API_BASE_URL=/btcmap-api-proxy — routes through the Vite dev proxy (avoids CORS; works for client-side calls and SSR load functions that use SvelteKit's event.fetch)VITE_API_BASE_URL=http://127.0.0.1:8000 — direct; works everywhere including SSR axios calls, but requires the API to send CORS headerspnpm devRemove or comment out the env var to switch back to the production API.
Note: The add-location form submits through /api/submit-place, which calls btcmap-api's submit_place RPC and needs BTCMAP_IMPORT_TOKEN. The RPC target follows VITE_API_BASE_URL (the endpoint uses SvelteKit's event fetch, so the dev-proxy path works server-side too).
.env.env.example and save as .envpnpm buildNOTE: BTC Map requires Node.js ≥ 24 (Node 24 LTS). If you have mise, run mise install in the repo root to get the correct Node and pnpm versions. Any pnpm ≥ 10 works: pnpm reads the packageManager pin in package.json and switches to that exact version automatically, so Corepack is not needed locally (pnpm no longer recommends it). Netlify builds are the exception: Netlify still provisions pnpm via Corepack from that same packageManager field — so keep the field pinned to an exact version, and see the comment in netlify.toml for the Node-version floor this implies.
Icon.sveltesrc/lib/icons/ via wrapper components (IconSocials.svelte, IconApps.svelte, IconMobileNav.svelte)src/lib/icons/generated/iconData.json rather than fetched at runtime (the live API is only a fallback). After adding an <Icon icon="…"> usage, changing the note picker's icons (NOTE_ICONS in src/lib/noteIcons.ts) or bumping an @iconify-json/* package, run pnpm icons:generate and commit the result: the format-and-lint CI job fails on a stale bundle. When the places API gains a new tag or category, run pnpm icons:refresh first to update the pin vocabulary (scripts/pin-icons.json). Never hand-edit the generated file pnpm playwright install
.env.example ships SERVER_CRYPTO_KEY and SERVER_INIT_VECTOR empty, which leaves /captcha broken and every captcha-gated form control disabled — specs that interact with those controls fail. Generate throwaway keys once (this is what CI does):
echo "SERVER_CRYPTO_KEY=$(openssl rand -hex 32)" >> .env
echo "SERVER_INIT_VECTOR=$(openssl rand -hex 16)" >> .env
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