Just had a go at this simple LN address script - https://github.com/Bashy/phplightningaddress Had to do some extra tweaking with the nginx redirects, but it seems to work now.