{"id":13499280,"url":"https://github.com/conscott/c-lightning-plugins","last_synced_at":"2025-03-29T04:30:55.327Z","repository":{"id":217048705,"uuid":"164862428","full_name":"conscott/c-lightning-plugins","owner":"conscott","description":"A collection of plugins for c-lightning","archived":false,"fork":false,"pushed_at":"2020-04-18T11:08:13.000Z","size":36,"stargazers_count":15,"open_issues_count":1,"forks_count":2,"subscribers_count":4,"default_branch":"master","last_synced_at":"2024-10-31T17:39:17.252Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/conscott.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-01-09T12:53:01.000Z","updated_at":"2023-09-08T05:19:08.000Z","dependencies_parsed_at":null,"dependency_job_id":"0c44c70c-7850-4cbe-b09c-fcb7cbc68036","html_url":"https://github.com/conscott/c-lightning-plugins","commit_stats":null,"previous_names":["conscott/c-lightning-plugins"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/conscott%2Fc-lightning-plugins","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/conscott%2Fc-lightning-plugins/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/conscott%2Fc-lightning-plugins/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/conscott%2Fc-lightning-plugins/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/conscott","download_url":"https://codeload.github.com/conscott/c-lightning-plugins/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246140565,"owners_count":20729797,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-07-31T22:00:31.800Z","updated_at":"2025-03-29T04:30:55.295Z","avatar_url":"https://github.com/conscott.png","language":"Python","readme":"# c-lightning-plugins\n\nA collection of plugins for c-lightning to do convenient things. At the moment the utilities primarily perform useful filter and aggregation, but the embeded library can be extended for many things.\n\nPlease contribute ideas!\n\n## Usage\n\nStart lightningd with the `plugin-dir` option pointing to this repository\n```bash\nlightningd --plugin-dir \u003cpath to this repo\u003e\n```\n\nAlternatively you can add a line to the c-lightning config (~/.lightning/config)\n```\n...\nplugin-dir=\u003cpath to this repo\u003e\n...\n```\n\n## RPC Commands\n\n* `balance` : Aggregated on-chain balance and channel balance information. Still a work in progress...\n* `nodestats` : Get statistical information about a particular node, akin to [1ML](https://1ml.com) stats\n* `channelstats` : Get stats about channels\n* `invoicestats` : Get stats about invoices\n* `paymentstats` : Get stats about payments\n* `quickfund`: Use onchain funds to fund `amount` to `num_channels`, simply creating channels with top capacity nodes. This is not recommended for mainnet as it's a bad strategy.\n* `closeall` : Close all active channels, with option to force close after timeout\n* `getnetworkinfo` : Get statistical information about the current state of the network\n* `filterchannels`: Filter channels by various parameters\n\n## Pretty Print\nTo pretty print the JSON, simply pipe the output to [jq](https://stedolan.github.io/jq/)\n\n```\nlightning-cli balance | jq\n```\n\n## Future Command Ideas\n\n* Create Circular Route \n* Auto Balance Channels\n\n","funding_links":[],"categories":["Developer Resources"],"sub_categories":["Misc"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fconscott%2Fc-lightning-plugins","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fconscott%2Fc-lightning-plugins","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fconscott%2Fc-lightning-plugins/lists"}