raspiblitz-web icon indicating copy to clipboard operation
raspiblitz-web copied to clipboard

LightningCard: Show total channel balance as a bar

Open cstenglein opened this issue 3 years ago • 3 comments

Show some kind of progress bar how balanced the channels are in total.

E.g.

Local / remote 70k sat / 30k sat

<-------|--->

cstenglein avatar Nov 22 '21 13:11 cstenglein

Thunderhub example: image

Anyone knows any other examples?

escapedcat avatar Jul 16 '23 08:07 escapedcat

I played around some months ago with an implementation, will look if I have the code

EDIT: can't find it anymore :/

cstenglein avatar Jul 26 '23 19:07 cstenglein

At Alby we created a channel layout for a sideproject. This code might work. At least as a start.

escapedcat avatar Jul 28 '23 07:07 escapedcat