# lnbits/lnbits

LNbits, free and open-source Lightning wallet and accounts system.

Repository: https://github.com/lnbits/lnbits
Canonical: https://ross.abutalabs.com/products/lnbits
Homepage: https://lnbits.com
Language: Python
License: MIT
License Family: permissive
Topics: lightning-network, lightning-network-wallet, lnurl, lnurl-atm, bitcoin
Last push: 2026-09-02T17:42:25+00:00

## Health v2 (maintenance only)
Score: 96/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 100, release rhythm 88, longevity 100
- inputs: {"age_days": 2459, "days_push": 0, "days_rel": 0, "gap_med": 31.0, "n_releases_24m": 19}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1234, forks 421 (observed 2026-09-03T02:15:14.546275+00:00)

## What it is
LNbits is a free, open-source Python server that provides Bitcoin Lightning Network wallet and account management on top of any Lightning funding source. It offers isolated wallets with per-wallet API keys, a REST API, and a large extension system for building payments applications.

## Use cases
- run a self-hosted lightning wallet server
- create separate lightning wallets with per-app api keys
- accept bitcoin lightning payments for a shop or point of sale
- add lightning payment support to my app via api
- set up lnurl pay and withdraw links
- spin up demo lightning wallets for workshops
- build a donation or tipping button with lightning

## When to choose
- you need a wallet/accounts layer on top of an existing lightning node
- you want per-wallet API key isolation for app security
- you need LNURL, Nostr zaps, or boltcard support out of the box
- you want to extend payments functionality via a plugin/extension system

## When to avoid
- you need on-chain bitcoin wallet management rather than lightning
- you want a simple end-user mobile wallet without running a server
- you are not operating or planning to operate a lightning funding source

## Facets
- artifact type: application
- maturity: stable
- function: http-server, api-framework, auth, plugin-system, webhook, websocket, sdk
- domain: fintech, self-hosted, apis, e-commerce, backend
- platform: python, self-hosted, cross-platform
- tags: bitcoin, lightning-network, lightning-wallet, lnurl, payments, wallet-accounts, extensions, nostr, point-of-sale, cryptocurrency, docker, web-server

## Member repositories
- lnbits/lnbits (main) score 96

## Provenance
- Observed fields: from GitHub, fetched 2026-09-03T02:15:14.546275+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T08:22:21.958972+00:00, confidence not recorded.
  - readme: https://github.com/lnbits/lnbits (fetched 2026-09-03T02:15:14.546275+00:00, sha 05606dbdb92d)
  - homepage: https://lnbits.com (fetched 2026-08-29T12:22:18.016710+00:00, sha 4273479de32f)
  - site_page: https://docs.lnbits.com (fetched 2026-08-29T12:22:18.026271+00:00, sha 799421fc6657)
  - registry_pypi: https://pypi.org/pypi/lnbits/json (fetched 2026-08-29T12:22:18.028596+00:00, sha f7432969f6f5)
- Data as of 2026-08-30T08:39:29.467469+00:00.
