Self-host LndHub
v1.4.1Lightning Network custodial account wrapper for LND
- Stars
- 1 078
- Port
- 3000 (HTTP API)
- Requires
- LND, Redis
bluewalletorganization/lndhubWhat is LndHub?
LndHub is a Node.js service that wraps Lightning Network Daemon (LND) to offer custodial Lightning accounts for multiple end users. It provides a REST API for wallet applications like BlueWallet to manage user balances, send and receive payments, and handle invoices. The service requires a running LND instance and Redis for data storage, with optional bitcoind for on-chain operations. It can be deployed via Docker, Docker Compose (as used by Umbrel), manual Node.js installation, or Heroku. Authentication uses LND's macaroon and TLS certificate system rather than built-in user login.
LndHub alternatives
ThunderHubSelf-hosted, open-source web interface for Lightning node operators: manage LND or litd channels, payments, Taproot Assets and reports from any browser.CompareThunderHub with LndHub
LNbitsOpen-source, self-hosted Bitcoin Lightning wallet accounts system with per-wallet API keys, LNURL and Nostr support, 50+ extensions, and LND or Core Lightning backends.CompareLNbits with LndHub
hubSelf-hosted Bitcoin Lightning wallet implementing NWC to connect with dozens of apps, supporting multiple Lightning backends and features like sub-wallets and auto-swaps.Comparehub with LndHub
Ride The Lightning (Core Lightning)Self-hosted web UI for managing Lightning nodes (LND, Core Lightning, Eclair) with dashboards, channel management, submarine swaps, multi-node support, 2FA, and SSO.CompareRide The Lightning (Core Lightning) with LndHub
Lightning TerminalLightning Terminal: Your Home for Lightning LiquidityCompareLightning Terminal with LndHub
bleskomat-serverSelf-hosted open-source web server for Lightning Network payments on Bleskomat Bitcoin ATMs with optional admin interface and multiple database backends.Comparebleskomat-server with LndHub
cashu.meCashu.me is a self-hosted, open-source PWA wallet for the Cashu ecash protocol. Send/receive Bitcoin via Lightning using blinded bearer ecash tokens stored locally.Comparecashu.me with LndHub
monero-lwsSelf-hosted Monero light-wallet server implementing the MyMonero API with LMDB backend and ZeroMQ block notifications for real-time scanning.Comparemonero-lws with LndHub
Should you self-host LndHub?
LndHub scores 52/100 on selfhost.directory (how scoring works) and ranks #6 of 12 in API. It has 1 078 GitHub stars, +20 in the last 30 days.
The repository is archived, so don't expect new releases or security fixes.
Setup is advanced: plan for several services and some ongoing maintenance. An official Docker image is available. It is MIT-licensed and written mostly in JavaScript.
Its closest alternative on selfhost.directory is Hoppscotch Community Edition (83/100, 80 800 stars). It scores higher overall, so compare the two before you pick. See LndHub vs Hoppscotch Community Edition side by side.
Features
- Custodial Lightning accounts
- Fee management
- Rate Limiting
LndHub README
Wrapper for Lightning Network Daemon (lnd). It provides separate accounts with minimum trust for end users.
You can use those guides or follow instructions below:
- https://github.com/dangeross/guides/blob/master/raspibolt/raspibolt_6B_lndhub.md
- https://medium.com/@jpthor/running-lndhub-on-mac-osx-5be6671b2e0c
git clone git@github.com:BlueWallet/LndHub.git
cd LndHub
npm i
More in API
actual-mcp-serverOpen-source MCP server connecting AI assistants to self-hosted Actual Budget with 84 tools for transactions, budgets, and bank sync. Runs via Docker, npm, or stdio.
ADAMANT IPFS NodeSelf-hosted IPFS file storage for apps with bounded disk, deterministic replication, repair, health checks, and REST API.
aphrodite-engineOpen-source, self-hosted LLM inference engine for Hugging Face models: continuous batching, paged KV cache, quantization, speculative decoding, OpenAI-compatible serving.
apprise-apiSelf-hosted, open-source REST notification hub wrapping the Apprise library to push alerts to 150+ services, with a web config manager, tags, attachments and Basic Auth.
avatarSelf-hosted open-source Node.js service generating random geometric or initials-based avatars via REST API with configurable shapes, colors, and symmetry.
binhex-official-byparrSelf-hosted, open-source API that drives a stealth headless browser to earn valid Cloudflare and other anti-bot cookies, and can fetch pages for Open WebUI's web loader.
bunmailBunMail is a self-hosted, open-source transactional email API with REST API, dashboard, DKIM, queue, templates, webhooks, and inbound SMTP — free alternative to SendGrid.
CKANSelf-hosted, open-source data management system for open-data portals and catalogs: publish, share and search datasets via a web UI and a full API.
crawler-buddySelf-hosted HTTP crawling server with unified JSON API for web scraping, RSS discovery, and metadata extraction from YouTube, Reddit, GitHub, HackerNews.
crwfastCRW is a self-hosted, open-source web scraping and search API in Rust with Firecrawl-compatible endpoints and native MCP server for AI agents.
CurrencyinfoSelf-hosted open-source REST API aggregating crypto and fiat rates from up to ten sources into one merged rate.
DaptinAn open-source, self-hosted application server: model your data once and Daptin serves JSON:API and GraphQL endpoints, users, permissions, files, jobs and realtime.

0 comments