/cln-node-visualization

Core Lightning channel visualizer. Connect to your node, and see the channel graph. Used in workshops at Unconfiscatable, Bitcoin Atlantis, bitcoin++ Buenos Aires, and more. In conjunction with LNPlay (lnplay.guide).

Primary LanguageTypeScriptMIT LicenseMIT

CLN Lightning Channel Visualizer

This web app plots Lightning nodes and their channels onto a graph. You can switch between ws:// and secure wss:// via the Use TLS checkbox. You can view latest updates by clicking the draw button to redraw the graph with the latest data.

screenshot

Get started

  1. Install the dependencies
npm i
  1. Start the app in dev mode
npm run dev
  1. Open up http://localhost:5173 in your browser

Credits

This is based on boilerplate from https://github.com/aaronbarnardsound/create-coreln-app. This uses lnmessage https://github.com/aaronbarnardsound/lnmessage to communicate with lightning network nodes. This uses d3.js https://d3js.org/ to draw the graph. This uses Svelte Material UI https://sveltematerialui.com/ for ui components.