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