{"id":13499268,"url":"https://github.com/ElementsProject/nanotip","last_synced_at":"2025-03-29T04:30:57.656Z","repository":{"id":57308028,"uuid":"116942570","full_name":"ElementsProject/nanotip","owner":"ElementsProject","description":":zap: Lightning Tip Box :zap:","archived":false,"fork":false,"pushed_at":"2019-02-17T19:45:14.000Z","size":36,"stargazers_count":85,"open_issues_count":4,"forks_count":11,"subscribers_count":12,"default_branch":"master","last_synced_at":"2024-10-03T09:24:39.940Z","etag":null,"topics":["bitcoin","donations","lightning","lightning-charge","micropayments","nanopayments","tip","tip-jar","tips"],"latest_commit_sha":null,"homepage":"https://blockstream.com/2018/03/24/tipping-on-lightning-with-nanotip-lapp.html","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/ElementsProject.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}},"created_at":"2018-01-10T10:25:49.000Z","updated_at":"2024-04-26T02:20:33.000Z","dependencies_parsed_at":"2022-09-12T11:44:32.418Z","dependency_job_id":null,"html_url":"https://github.com/ElementsProject/nanotip","commit_stats":null,"previous_names":["shesek/bakshish"],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ElementsProject%2Fnanotip","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ElementsProject%2Fnanotip/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ElementsProject%2Fnanotip/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ElementsProject%2Fnanotip/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ElementsProject","download_url":"https://codeload.github.com/ElementsProject/nanotip/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":["bitcoin","donations","lightning","lightning-charge","micropayments","nanopayments","tip","tip-jar","tips"],"created_at":"2024-07-31T22:00:31.669Z","updated_at":"2025-03-29T04:30:57.447Z","avatar_url":"https://github.com/ElementsProject.png","language":"JavaScript","readme":"# nanotip\n\n[![npm release](https://img.shields.io/npm/v/nanotip.svg)](https://www.npmjs.com/package/nanotip)\n[![MIT license](https://img.shields.io/github/license/elementsproject/nanotip.svg)](https://github.com/elementsproject/nanotip/blob/master/LICENSE)\n[![Pull Requests Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg)](http://makeapullrequest.com)\n[![IRC](https://img.shields.io/badge/chat-on%20freenode-brightgreen.svg)](https://webchat.freenode.net/?channels=lightning-charge)\n\nA simple web server for accepting lightning donations.\n\n`nanotip` generates Lightning invoices on the fly using your Lightning Charge server,\nallowing users to setup a tip jar that accepts Lightning Network payments.\n\nPowered by :zap: [Lightning Charge](https://github.com/ElementsProject/lightning-charge).\n\n![nanotip demo](https://i.imgur.com/WLoiRT2.gif)\n\n## Setup\n\nSetup [Lightning Charge](https://github.com/ElementsProject/lightning-charge), then:\n\n```bash\n$ npm install -g nanotip\n$ nanotipd --charge-token mySecretToken # defaults: --charge-url http://localhost:9112 --port 9115\nnanotipd running on http://localhost:9115\n```\n\nNote that `nanotip` uses Lightning Charge's built-in checkout page, meaning that the Lightning Charge\nserver has to be publicly accessible to users. If users need to access it using a different URL\nthan the one used for communicating with the API, set `--charge-public-url`.\n\nYou can use `--theme` to pick a different [theme from bootswatch](https://bootswatch.com).\n\n## CLI options\n\n```bash\n$ nanotipd --help\n\n  Lightning Tip Box\n\n  Usage\n    $ nanotipd [options]\n\n  Options\n    -c, --charge-url \u003curl\u003e        lightning charge server url [default: http://localhost:9112]\n    -t, --charge-token \u003ctoken\u003e    lightning charge access token [required]\n    -P, --charge-public-url \u003curl\u003e url where charge is publicly accessible [default: {charge-url}]\n    -m, --theme \u003cname\u003e            pick theme from bootswatch.com [default: yeti]\n    -l, --title \u003cname\u003e            website title [default: Lightning Tip Box]\n    -p, --port \u003cport\u003e             http server port [default: 9115]\n    -i, --host \u003chost\u003e             http server listen address [default: 127.0.0.1]\n    -u, --url \u003curl\u003e               http server public url (used for webhooks) [default: http://{host}:{port}]\n    -T, --thankyou-url \u003curl\u003e      url to send users to after completing the payment [default: {url}/thankyou]\n    -e, --node-env \u003cenv\u003e          nodejs environment mode [default: production]\n    -h, --help                    output usage information\n    -v, --version                 output version number\n\n  Example\n    $ nanotipd -c http://localhost:9112 -t chargeSecretToken\n```\n\n## License\n\nMIT\n","funding_links":[],"categories":["Applications"],"sub_categories":["Misc"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FElementsProject%2Fnanotip","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FElementsProject%2Fnanotip","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FElementsProject%2Fnanotip/lists"}