尚未偵測到更新。GitHub 發布版本後會顯示在這裡。
個人 GitHub 帳號下公開儲存庫的擁有者可以登入並驗證所有權,自行管理介紹,無需管理員核准。
登入並產生驗證檔案,在 30 分鐘內將其提交至此儲存庫的預設分支。其他分支或分叉儲存庫中的檔案無效。然後在下方檢查檔案,即可無需管理員核准直接管理專案。請保留檔案以維持管理權限。
如需登入,將前往登入頁面。登入後請回到此處,再次點擊所選的驗證按鈕。
在專案資料夾中執行 /nomorevibe verify,即可驗證所有權並自行管理介紹。
一分鐘完成驗證Real-time Lightning Network analytics
翻譯準備中
取自儲存庫 README
正在載入完整 README。
檢視完整 README ↗An editorial atlas of the Bitcoin Lightning Network.
A live, open dashboard tracking capacity, nodes, channels and onchain activity across Lightning. No accounts, no API keys. Anonymous page-view counts via Vercel Analytics.
Live at ln.fyi.
/grades.revalidate)Lightning data comes from the emzy.de mempool mirror first. The public mempool.space instance still answers, but its Lightning snapshots lag by days, so it is only used when emzy stalls or returns 429. Set
MEMPOOL_PROVIDERSto change the order.
npm install
npm run dev
Open http://localhost:3000.
| Command | Action |
|---|---|
npm run dev | Start the dev server |
npm run build | Production build |
npm run start | Serve the production build |
| Variable | Default | Purpose |
|---|---|---|
MEMPOOL_PROVIDERS | emzy, then mempool.space | Comma-separated Lightning API bases, tried in order |
NEXT_PUBLIC_MEMPOOL_BASE | unset | Legacy single base. A public instance stays primary and the other public instance is kept as backup. A custom URL is used alone. |
GOOGLE_SITE_VERIFICATION | unset | Google Search Console token. Emitted as google-site-verification only when set. |
BING_SITE_VERIFICATION | unset | Bing Webmaster token. Emitted as msvalidate.01 only when set. |
src/
app/
page.tsx # Network overview (/)
nodes/ # Node directory + profiles
about/ # About page
layout.tsx # Root shell, fonts, metadata
components/ # Panel, chart, stat, shell, hero-number, live-tick
lib/
api.ts # mempool Lightning API client + formatters
All data fetches are server-side with Next.js cache revalidation.
The network overview stays on a short window (about 2–10 minutes). Node
profile pages and their Open Graph images revalidate once a day when the
primary directory answers. Each upstream call has a 4 second budget and
fails over to the next provider after about 2 seconds, so a hung host cannot
hold the render. The node document is loaded once per request and shared
with generateMetadata. The top 20 nodes by capacity are prerendered.
Node grades read one daily snapshot of the primary ranking lists (capacity, connectivity, age) and the network median. That snapshot does not fail over to mempool.space, whose Lightning data lags, and it does not add a per-node fetch. A fee sample from channels the profile already loaded is shown beside the grade and is not part of the number.
A profile is cached as missing only when the pubkey is impossible, the
upstream API returns 404, or mempool's node route answers
500 {"error":"Failed to get node"} and node search on that host agrees the
key is absent. If the primary is down and a previous good profile exists, that
page stays up. A pubkey that has never been cached renders a short-lived
unavailable page (about a minute) instead of a 500. Backup-provider data is
kept for about 10 minutes so the primary is tried again soon. There is no
client-side polling.
This is a personal project, but issues and PRs are welcome — especially for data-quality fixes, accessibility, and new editorial views of the network.
Public domain.