{"id":13499262,"url":"https://github.com/michael1011/lightningtip","last_synced_at":"2025-07-03T02:05:40.975Z","repository":{"id":57500918,"uuid":"126367998","full_name":"michael1011/lightningtip","owner":"michael1011","description":"Get tips via the Lightning Network","archived":false,"fork":false,"pushed_at":"2023-02-23T23:35:28.000Z","size":136,"stargazers_count":94,"open_issues_count":4,"forks_count":28,"subscribers_count":7,"default_branch":"master","last_synced_at":"2025-07-03T02:04:42.667Z","etag":null,"topics":["bitcoin","golang","lightning","lightning-network","lnd"],"latest_commit_sha":null,"homepage":null,"language":"Go","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-03-22T16:58:32.000Z","updated_at":"2025-02-16T21:00:57.000Z","dependencies_parsed_at":"2024-01-14T03:50:44.502Z","dependency_job_id":"52f7cc0a-d30c-40c6-8e52-dcacb6f9571d","html_url":"https://github.com/michael1011/lightningtip","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/michael1011/lightningtip","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/michael1011%2Flightningtip","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/michael1011%2Flightningtip/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/michael1011%2Flightningtip/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/michael1011%2Flightningtip/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/michael1011","download_url":"https://codeload.github.com/michael1011/lightningtip/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/michael1011%2Flightningtip/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":263245301,"owners_count":23436512,"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","golang","lightning","lightning-network","lnd"],"created_at":"2024-07-31T22:00:31.577Z","updated_at":"2025-07-03T02:05:40.941Z","avatar_url":"https://github.com/michael1011.png","language":"Go","funding_links":[],"categories":["Applications"],"sub_categories":["Misc"],"readme":"# LightningTip\n\nA simple way to accept tips via the Lightning Network on your website. If want to tip me you can find my instance of LightningTip [here](https://michael1011.at/lightning.html).\n\n[robclark56](https://github.com/robclark56) forked LightningTip and rewrote the backend in **PHP**. His fork is called [LightningTip-PHP](https://github.com/robclark56/lightningtip) and is a great alternative if you are not able to run the executable.\n\n\u003cimg src=\"https://i.imgur.com/0mOEgTf.gif\" width=\"240\"\u003e\n\n## How to install\n\nTo get all necessary files for setting up LightningTip you can either [download a prebuilt version](https://github.com/michael1011/lightningtip/releases) or [compile from source](#how-to-build).\n\nLightningTip is using [LND](https://github.com/lightningnetwork/lnd) as backend. Please make sure it is installed and fully synced before you install LightningTip.\n\nThe default config file location is `$HOME/.lightningtip/lightningTip.conf`. The [sample config](https://github.com/michael1011/lightningtip/blob/master/sample-lightningTip.conf) contains everything you need to know about the configuration. To use a custom config file location use the flag `--config filename`. You can use all keys in the config as command line flag. Command line flags *always* override values in the config.\n\nThe next step is embedding LightningTip on your website. Upload all files excluding `lightningTip.html` to your webserver. Copy the contents of the head tag from `lightningTip.html` into the head section of the HTML file you want to show LightningTip in. The div below the head tag is LightningTip itself. Paste it into any place in the already edited HTML file on your server.\n\nThere is a light theme available for LightningTip. If you want to use it **add** this to the head tag of your HTML file:\n\n```html\n\u003clink rel=\"stylesheet\" href=\"lightningTip_light.css\"\u003e\n```\n\n**Do not use LightningTip on XHTML** sites. That causes some weird scaling issues.\n\nMake sure that the executable of **LightningTip is always running** in the background. It is an [API](https://github.com/michael1011/lightningtip/wiki/API-documentation) to connect LND and the widget on your website. **Do not open the URL you are running LightingTip on in your browser.** All this will do is show an error.\n\nIf you are not running LightningTip on the same domain or IP address as your webserver, or not on port 8081, change the variable `requestUrl` (which is in the first line) in the file `lightningTip.js` accordingly.\n\nWhen using LightningTip behind a proxy make sure the proxy supports [EventSource](https://developer.mozilla.org/en-US/docs/Web/API/EventSource). Without support for it the users will not see the \"Thank you for your tip!\" screen.\n\nThat's it! The only two things you need to take care about is keeping the LND node online and making sure that your incoming channels are sufficiently funded to receive tips. LightningTip will take care of everything else.\n\n## How to build\n\nFirst of all make sure [Golang](https://golang.org/) version 1.11 or newer is correctly installed.\n\n```bash\ngo get -d github.com/michael1011/lightningtip\ncd $GOPATH/src/github.com/michael1011/lightningtip\n\nmake \u0026\u0026 make install\n```\n\nTo start run `$GOPATH/bin/lightningtip` or follow the instructions below to setup a service to run LightningTip automatically.\n\n## Upgrading\n\nMake sure you stop any running LightningTip process before upgrading, then pull from source as follows:\n\n```bash\ncd $GOPATH/src/github.com/michael1011/lightningtip\ngit pull\n\nmake \u0026\u0026 make install\n```\n\n## Starting LightningTip Automatically\n\nLightningTip can be started automatically via Systemd, or Supervisord, as outlined in the following wiki documentation:\n\n* [Running LightningTip with systemd](https://github.com/michael1011/lightningtip/wiki/Running-LightningTip-with-systemd)\n* [Running LightningTip with supervisord](https://github.com/michael1011/lightningtip/wiki/Running-LightningTip-with-supervisord)\n\n## Reverse Proxy Recipes\n\nIn instances where the default LightningTip SSL configuration options are not working, you may want to explore running a reverse proxy to LightningTip as outlined in the following wiki documentation:\n\n* [LightningTip via Apache2 reverse proxy](https://github.com/michael1011/lightningtip/wiki/LightningTip-via-Apache2-reverse-proxy)\n* [LightningTip via Nginx reverse proxy](https://github.com/michael1011/lightningtip/wiki/LightningTip-via-Nginx-reverse-proxy)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmichael1011%2Flightningtip","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmichael1011%2Flightningtip","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmichael1011%2Flightningtip/lists"}