Metadata-Version: 2.0
Name: lightning-rest
Version: 0.2.1
Summary: Rest server for the `lightningd` RPC.
Home-page: https://github.com/hbasria/lightning-rest
Author: Hasan Basri
Author-email: hbasria@gmail.com
License: MIT
Description-Content-Type: UNKNOWN
Keywords: lightning rest api
Platform: UNKNOWN
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 2
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.3
Classifier: Programming Language :: Python :: 3.4
Classifier: Topic :: Software Development
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Requires-Dist: aiohttp-swagger (<=2.0,>=1.0.5)

# lightning-rest

Rest server for the `lightningd` daemon.

![screenshot](resources/snapshot_2018-02-28_093049.png)

## Setup

Installing lightning-rest is easy, just execute the following in a terminal:


```shell
pip install lightning-rest
```

Run your local app!
```shell
python -m lightning_rest.server 8000 ~/.lightning/lightning-rpc
```

Run as docker container
```shell
docker run -it --rm -p 8000:8000 -v /path/to/lightning-rpc:/tmp/lightning-rpc siriuslabs/lightning-rest 8000 /tmp/lightning-rpc
```

View the lightning-rest app at `localhost:8000`


## License: MIT

