Setup a CLightning node, LNbits, Spark on a cheap VPS with a domain and SSL
All in 25mins!!!
https://github.com/lnbits/lnbits
https://github.com/shesek/spark-wallet
https://github.com/fiatjaf/trustedcoin
https://github.com/fiatjaf/sparko
https://caddyserver.com/docs/install#debian-ubuntu-raspbian
## Cryptocurrency Podcast Episode Summary: LNbits/C-lightning VPS Install with Domain and SSL!!!
Here's a comprehensive summary of the podcast episode, broken down into the requested sections:
1. Narrative Summary:
This podcast episode provides a detailed walkthrough of setting up a self-hosted Lightning Network node using LNbits and C-lightning on a Virtual Private Server (VPS). The hosts demonstrate the entire process, from initial VPS configuration using a Lunar Node VPS and Ubuntu 20.04, to installing and configuring Alanbits for initial testing via Alanpay. They then transition to setting up a more robust and independent solution by integrating a Lightning D plugin, which will allow them to run their own Lightning node without relying on a custodial service or running Bitcoin Core directly on the VPS. A key focus is on user-friendliness, with the integration of Spark Wallet and a Sparko plugin planned to provide a graphical user interface for managing subchannels. The process isn't without its challenges, as the hosts troubleshoot SSL configuration, reverse proxy issues with Caddy, and Lightning D reconnects. Despite these hurdles, they successfully establish a functional LNbits/C-lightning VPS, accessible and ready for use, concluding with a promise of future content.
2. Main Topics Discussed:
- VPS Setup & Configuration: Choosing a VPS provider (Lunar Node), selecting an operating system (Ubuntu 20.04).
- Alanbits Installation & Integration: Cloning repositories, setting up virtual environments, installing dependencies, and connecting to Alanpay for initial testing.
- Domain and SSL Configuration: Using Caddy to set up a domain (swapsats.com/alanbits) and automatically issue an SSL certificate.
- Lightning Node Setup (Lightning D Plugin): Moving away from Alanpay to run a self-hosted Lightning node.
- Spark Wallet Integration: Configuring Caddy as a reverse proxy to enable a user-friendly interface.
- Pi Lightning Installation: Enabling address creation and channel management.
- Troubleshooting & Configuration: Addressing SSL issues, reverse proxy problems, and Lightning D reconnects.
- Sparko Plugin (Planned): Managing subchannels through a GUI.
- Final Verification & Conclusion: Confirming successful installation and accessibility of the LNbits/C-lightning VPS.
3. Key Quotes:
- "Alan bits is very light." - Highlighting the efficiency of Alanbits.
- "We want to have our own lightning node instead of using somebody else's custodial service don't we?" - Emphasizing the importance of self-sovereignty in the Lightning Network.
- "It sucks to run Bitcoin core on a VPS." - Expressing a desire to avoid the resource-intensive process of running Bitcoin Core directly.
- "I'm on the edge of my seat here, I just don't believe it's going to work." - Reflecting the uncertainty and challenges of the complex setup.
- "we managed it thanks for watching" - A celebratory conclusion to the installation process.
4. People Mentioned:
- Spark: Host of the podcast.
- Jaff: Creator of a Lightning D plugin.
- Hosts: (Multiple individuals involved in the installation and discussion)
5. Bitcoin Price:
- No Bitcoin prices were mentioned throughout the episode.