Lightning Shell is a shell for Bitcoin nodes / personal servers.
Technically it’s a Docker container with ttyd and additional utilities.
charge-lnd- Simple policy based fee manager
suez- Tool for pretty printing and optimizing channels
igniter- Circular rebalancing by sending a payment back to yourself using a specific route
perfectly-balanced- Script to make your LND node perfectly balanced
btc2fiat- Bitcoin price expressed in fiat currency. As simple as that.
bc- An arbitrary precision calculator language
csview- A high performance CSV viewer
jq- JSON processor
sc-im- Spreadsheet program for your terminal
dog- A command-line DNS client
gping- Ping, but with a graph
links- Web browser
oha- HTTP load generator with TUI animation
The easiest way to install Lightning Shell is from your node’s app store.
At the opposite end of the spectrum you could simply copy-paste parts of the Dockerfile to build only the tools you want without actually installing Lightning Shell.
There are countless other ways to make use of it in between the two extremes because after all you can fork the repo, customize the Dockerfile, build it and run it yourself.
Running any of the included utilities will just work without you having to tell them how to connect to LND.
Your personal server OS passes the
LND_IP environment variable and mounts the
lnd directory under
/lnd when it launches the Lightning Shell Docker container.
There are some additional scripts in
~/.local/bin named the same as the included utilities, which take care of passing the necessary arguments to the respective utilities.