尚未检测到更新。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.