All Projects → michael1011 → lightningtip

michael1011 / lightningtip

Licence: MIT license
Get tips via the Lightning Network

Programming Languages

go
31211 projects - #10 most used programming language
javascript
184084 projects - #8 most used programming language
CSS
56736 projects
shell
77523 projects
Makefile
30231 projects
HTML
75241 projects

Projects that are alternatives of or similar to lightningtip

shango-lightning-wallet
Shango Lightning Wallet
Stars: ✭ 65 (-28.57%)
Mutual labels:  lightning, lightning-network, lnd
umbrel-middleware
RESTful Bitcoin and Lightning API for Umbrel
Stars: ✭ 21 (-76.92%)
Mutual labels:  lightning, lightning-network, lnd
lnregtest
Regtest Lightning Networks for (python) integration testing
Stars: ✭ 17 (-81.32%)
Mutual labels:  lightning, lightning-network, lnd
lightning-jet
Lightning Jet is a fully automated rebalancer for Lightning nodes. Jet optimizes channel liquidity allocation based on routing volume, missed routing opportunities (htlcs), and other variables.
Stars: ✭ 33 (-63.74%)
Mutual labels:  lightning, lightning-network, lnd
lightningj
Core implementation of the lightningj API implementations.
Stars: ✭ 41 (-54.95%)
Mutual labels:  lightning, lightning-network, lnd
balanceofsatoshis
Tool for working with the balance of your satoshis on LND
Stars: ✭ 447 (+391.21%)
Mutual labels:  lightning-network, lnd
Awesome Bitcoin Payment Processors
🌟 A curated list of Bitcoin payment processors enabling merchants, businesses and nonprofits to accept Bitcoin payments.
Stars: ✭ 129 (+41.76%)
Mutual labels:  lightning, lightning-network
Eclair Mobile
An Android wallet for the Lightning Network
Stars: ✭ 231 (+153.85%)
Mutual labels:  lightning, lightning-network
Spark Wallet
⚡️ A minimalistic wallet GUI for c-lightning, accessible over the web or through mobile and desktop apps.
Stars: ✭ 215 (+136.26%)
Mutual labels:  lightning, lightning-network
Lightning Rfc
Lightning Network Specifications
Stars: ✭ 1,224 (+1245.05%)
Mutual labels:  lightning, lightning-network
Umbrel Os
Run Umbrel Bitcoin and Lightning node on a Raspberry Pi in one click
Stars: ✭ 132 (+45.05%)
Mutual labels:  lightning, lightning-network
perfectly-balanced
Script to make your LND node pefectly balanced as all things should be
Stars: ✭ 26 (-71.43%)
Mutual labels:  lightning-network, lnd
Phoenix
Phoenix is a non custodial Bitcoin wallet using Lightning to send/receive payments.
Stars: ✭ 129 (+41.76%)
Mutual labels:  lightning, lightning-network
Plugins
Community curated plugins for c-lightning
Stars: ✭ 120 (+31.87%)
Mutual labels:  lightning, lightning-network
Lndmanage
Channel management tool for lightning network daemon (LND) operators.
Stars: ✭ 114 (+25.27%)
Mutual labels:  lightning, lightning-network
Paper
Lightning Network Paper
Stars: ✭ 136 (+49.45%)
Mutual labels:  lightning, lightning-network
lntop
⚡ LN terminal dashboard 📊
Stars: ✭ 170 (+86.81%)
Mutual labels:  lightning, lightning-network
Zeus
A mobile Bitcoin/Lightning app for lnd, c-lightning, and Eclair node operators ⚡️
Stars: ✭ 175 (+92.31%)
Mutual labels:  lightning, lightning-network
Lncli Web
Light-weight web client for the lnd daemon written in NodeJS / Angular.
Stars: ✭ 181 (+98.9%)
Mutual labels:  lightning, lightning-network
Blixt Wallet
Bitcoin Lightning Wallet with focus on usability and user experience
Stars: ✭ 40 (-56.04%)
Mutual labels:  lightning, lightning-network

LightningTip

A 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.

robclark56 forked LightningTip and rewrote the backend in PHP. His fork is called LightningTip-PHP and is a great alternative if you are not able to run the executable.

How to install

To get all necessary files for setting up LightningTip you can either download a prebuilt version or compile from source.

LightningTip is using LND as backend. Please make sure it is installed and fully synced before you install LightningTip.

The default config file location is $HOME/.lightningtip/lightningTip.conf. The sample config 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.

The 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.

There is a light theme available for LightningTip. If you want to use it add this to the head tag of your HTML file:

<link rel="stylesheet" href="lightningTip_light.css">

Do not use LightningTip on XHTML sites. That causes some weird scaling issues.

Make sure that the executable of LightningTip is always running in the background. It is an API 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.

If 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.

When using LightningTip behind a proxy make sure the proxy supports EventSource. Without support for it the users will not see the "Thank you for your tip!" screen.

That'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.

How to build

First of all make sure Golang version 1.11 or newer is correctly installed.

go get -d github.com/michael1011/lightningtip
cd $GOPATH/src/github.com/michael1011/lightningtip

make && make install

To start run $GOPATH/bin/lightningtip or follow the instructions below to setup a service to run LightningTip automatically.

Upgrading

Make sure you stop any running LightningTip process before upgrading, then pull from source as follows:

cd $GOPATH/src/github.com/michael1011/lightningtip
git pull

make && make install

Starting LightningTip Automatically

LightningTip can be started automatically via Systemd, or Supervisord, as outlined in the following wiki documentation:

Reverse Proxy Recipes

In 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:

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].