Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/nbd-wtf/satdress
Federated Lightning addresses server.
https://github.com/nbd-wtf/satdress
Last synced: 24 days ago
JSON representation
Federated Lightning addresses server.
- Host: GitHub
- URL: https://github.com/nbd-wtf/satdress
- Owner: nbd-wtf
- License: mit
- Created: 2021-08-13T16:35:53.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2023-10-25T21:29:22.000Z (about 1 year ago)
- Last Synced: 2024-11-11T01:35:17.036Z (about 1 month ago)
- Language: Go
- Homepage:
- Size: 142 KB
- Stars: 165
- Watchers: 3
- Forks: 55
- Open Issues: 15
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
- awesome-lnbits - Satdress - Federated Lightning Address Server supporting LNBits integration. (Uncategorized / Uncategorized)
README
# Satdress
Federated Lightning Address Server
## How to run
1. Download the binary from the releases page (or compile with `go build` or `go get`)
2. Set the following environment variables somehow (using example values from bitmia.com):```
PORT=17422
DOMAIN=bitmia.com
SECRET=askdbasjdhvakjvsdjasd
SITE_OWNER_URL=https://t.me/qecez
SITE_OWNER_NAME=@qecez
SITE_NAME=Bitmia
```3. Start the app with `./satdress`
4. Serve the app to the world on your domain using whatever technique you're used to## Multiple domains
Note that `DOMAIN` can be a single domain or a comma-separated list. When using multiple domains
you need to make sure "Host" HTTP header is forwarded to satdress process if you have some reverse-proxy).If you come from an old installation everything should get migrated in a seamless way, but there is also a
`FORCE_MIGRATE` environment variable to force a migration (else this is done just the first time).There is also a `GLOBAL_USERS` to make sure the user@ part is unique across all domains. But be warned that when enabling
this option, existing users won't work anymore (which is by design).## Get help
Maybe ask for help on https://t.me/lnurl if you're in trouble.