File tree Expand file tree Collapse file tree 5 files changed +20
-1553
lines changed
Expand file tree Collapse file tree 5 files changed +20
-1553
lines changed Original file line number Diff line number Diff line change @@ -10,11 +10,15 @@ Related info about backup solutions: https://github.com/ElementsProject/lightnin
1010
1111## Installation
1212
13- There are some Python dependencies. You can install them using ` poetry ` :
13+ You need [ uv] ( https://docs.astral.sh/uv/getting-started/installation/ ) to run this
14+ plugin like a binary. After ` uv ` is installed you can simply run
1415
15- ``` bash
16- poetry install
1716```
17+ lightning-cli plugin start /path/to/backup.py
18+ ```
19+
20+ For general plugin installation instructions see the repos main
21+ [ README.md] ( https://github.com/lightningd/plugins/blob/master/README.md#Installation )
1822
1923
2024## Setup
Original file line number Diff line number Diff line change 1- #!/usr/bin/env python3
1+ #!/usr/bin/env -S uv run --script
2+
3+ # /// script
4+ # requires-python = ">=3.9.2"
5+ # dependencies = [
6+ # "pyln-client>=25.2.2",
7+ # "click>=8.0.4",
8+ # "psutil>=5.9.4",
9+ # "flask>=2.2",
10+ # "werkzeug<4",
11+ # ]
12+ # ///
13+
214from pyln .client import Plugin
315import json
416import logging
You can’t perform that action at this time.
0 commit comments