marzig76 / fulmo

a minimalist c-lightning UI

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

fulmo

a minimalist c-lightning UI

Dependencies

You must have a bitcoin full node and c-lightning installed and running.

Make sure python, pip, and git are installed:

sudo apt-get install python python-pip python-dev build-essential git

Install the following python modules:

sudo pip install pylightning==0.0.6 Flask qrcode[pil]

Installation

Add this to your ~/.lightning/config file and restart your c-lightning node:

rpc-file=/tmp/lightning-rpc

Then run:

git clone https://github.com/marzig76/fulmo
cd fulmo
./fulmo

Then just open a web browser to http://localhost:5000

Notes

This will set up a web UI for your locally running c-lightning node. By default, it will use an unencrypted connection. If you want an encrypted connection with automatically generated self-signed certs, you can specify the --ssl command line argument: ./fulmo --ssl. Then use https when connecting.

The service binds to all local interfaces, so it will be accessable to your entire local network. This is ideal for running it on a raspberry pi, then accessing it from another device on your network like your laptop or smart phone.

This uses python2, so if you're having any errors, or if you know that your python command maps to python3, try installing the dependencies with pip2 instead of pip, and running with python2, instead of python.

About

a minimalist c-lightning UI

License:GNU General Public License v3.0


Languages

Language:JavaScript 55.4%Language:HTML 21.1%Language:Python 18.9%Language:CSS 3.5%Language:Shell 1.1%