{"id":13499315,"url":"https://github.com/michael1011/lncall","last_synced_at":"2025-04-13T07:37:08.877Z","repository":{"id":98722471,"uuid":"130877596","full_name":"michael1011/lncall","owner":"michael1011","description":"Monetize your API with LND","archived":false,"fork":false,"pushed_at":"2018-04-29T12:29:34.000Z","size":67,"stargazers_count":11,"open_issues_count":0,"forks_count":0,"subscribers_count":4,"default_branch":"master","last_synced_at":"2024-04-24T08:15:39.860Z","etag":null,"topics":["bitcoin","javascript","lightning","lightning-network","lnd","node-js","node-module"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/michael1011.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2018-04-24T15:41:50.000Z","updated_at":"2022-03-01T03:41:41.000Z","dependencies_parsed_at":"2023-05-24T23:15:29.419Z","dependency_job_id":null,"html_url":"https://github.com/michael1011/lncall","commit_stats":{"total_commits":13,"total_committers":1,"mean_commits":13.0,"dds":0.0,"last_synced_commit":"db96283737f83950de9a71dd16470b49a92a878f"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/michael1011%2Flncall","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/michael1011%2Flncall/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/michael1011%2Flncall/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/michael1011%2Flncall/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/michael1011","download_url":"https://codeload.github.com/michael1011/lncall/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240045016,"owners_count":19739186,"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":["bitcoin","javascript","lightning","lightning-network","lnd","node-js","node-module"],"created_at":"2024-07-31T22:00:32.135Z","updated_at":"2025-02-23T02:30:46.129Z","avatar_url":"https://github.com/michael1011.png","language":"JavaScript","readme":"# lncall [![npm](https://img.shields.io/npm/v/lncall.svg)](https://www.npmjs.com/package/lncall) [![dependencies status](https://david-dm.org/michael1011/lncall/status.svg)](https://david-dm.org/michael1011/lncall)\nMonetize your API with the [Lightning Network Daemon](https://github.com/lightningnetwork/lnd). This project is literally the same as [paypercall](https://github.com/ElementsProject/paypercall) but for LND instead of c-lightning.\n\nlncall can be used as library for node.js or as reverse proxy for your existing API.\n\n## Library\nYou can implement lncall directly into your node.js application. Please note that if you want to use the `middleware` function you have to use [express](https://www.npmjs.com/package/express). If you don't want to use express you can handle the tokens lncall generates yourself because `middleware` is just a wrapper of the other functions of lncall.\n\nYou can find an example for using lncall [here](https://github.com/michael1011/lncall/blob/master/example/example.js).\n\n## Reverse proxy\nlncall can also be used as reverse proxy. The rates have to be a JSON string with the API URL as key and the amount you want to charge in Satoshis as value. It could look like this:\n\n```\n{\n    \"/sms\": 125,\n    \"/test\": 1\n}\n```","funding_links":[],"categories":["Developer Resources"],"sub_categories":["Libraries"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmichael1011%2Flncall","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmichael1011%2Flncall","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmichael1011%2Flncall/lists"}