Alby Hub Setup - Self Hosted

You’ve probably seen this already but posting just in case…

Start9 | Alby Hub!

Yep. Been there, the Alby support pages and their Discord. I have the hub setup right as far as I can tell but it definitely doesn’t like Braiins. I went back to Speed because… well it works although the KYC route is not one I want to stay on.

I plan to try a lightning transaction between CL and LND via the RTL dashboard and see what the results give me. Inquiring minds ya know. Not sure the KYC reports non-purchased BTC though…regardless bad taste that KYC is.

Ok Paul…my mind wont stop…could you lead me to resources that explains pairing a domain name to a self hosted Alby hub?

I assume you are talking about for a static LNURL address that folks can send sats to? If so, below is the simplest method:

  1. Host your domain
    You must first have the domain hosted somewhere with an SSL/TLS certificate so that it can be reached via https. And you must be able to create files and folders at the root of your domain.
  2. Link your Alby account
    Following the instructions in Alby Hub itself, link it to your Alby account. Take note of your Alby username (mine is “paypaul”).
  3. Download the lnurlp JSON file
    Grab your public lnurlp JSON file from the getalby website. For example, mine is at https://getalby.com/.well-known/lnurlp/paypaul
  4. Upload the lnurlp JSON file to your domain
    Host the lnurlp JSON file on your domain, following the same URL pattern. For example, mine is at https://paulscode.com/.well-known/lnurlp/paypaul

You will now have a LNURL with your Alby username @ your domain. For example, mine is paypaul@paulscode.com

1 Like

So you paid Alby so you could change the default name then right?

Maybe. I don’t recall paying them, but it has been some time since I set it up so it is possible.

There are more complicated methods as well that don’t involve using Alby. I already had Alby set up for Nostr, and linking it to Alby Hub on my server was pretty straight forward, so I went with the simple route.

Also, I bet you can change the name on your host by simply renaming the JSON file to the desired name. I haven’t tried it, though, but I don’t see why it wouldn’t work.

For example, if I wanted to have foobar@paulscode.com, I could simply rename my file from “paypaul” to “foobar” before uploading it to the .well-known/lnurlp/ folder.

I’ll reach out to Alby support too and get their take to. Thanks for the details sir. Cleared the fog here a bit.