How to setup LNURLP Proxy using Github Pages
If you already did the NIP5 guide skip #5 "Create a new file and dir".
-
Buy a domain 😅
-
Setup Domain DNS records to point to GitHub Pages:
| Type | Host | Answer | TTL | Priority | |------|----------------|-----------------|-----|----------| | A | YOURDOMAIN.COM | 185.199.108.153 | 300 | | | A | YOURDOMAIN.COM | 185.199.109.153 | 300 | | | A | YOURDOMAIN.COM | 185.199.110.153 | 300 | | | A | YOURDOMAIN.COM | 185.199.111.153 | 300 | |
-
Create a new github repo
github.com/new
-
-------------- If you already did nip5 start here --------------
-
Create a new file and dir
your-repo/.well-known/lnurlp/YOUR-NICK
[no extension] example mine -
Add the content from your Alby well-known file
https://getalby.com/.well-known/lnurlp/YOUR-NICK
. -
-------------- you might already have done the below, so you might be done. Go ahead and try sending to YOUR-NICK@YOUR-DOMAIN.TLD --------------
-
Create a new file in the root folder
_config.yml
and add this lineinclude: [".well-known"]
-
Navigate to
github.com/[USER]/[YOUR-REPO]/settings/pages
-
Under "Build and deployment" select "Deploy from branch" then below select "Main/Master" branch
-
Under "Custom domain" type your naked
YOURDOMAIN.COM
(github might complain, ignore) -
Below it, check Enforce HTTPS. Sometimes this may take a few minutes to be available.