pull down to refresh
21 sats \ 4 replies \ @ACYK 28 Jul \ on: Thor – A Lightning Address Server Powered by Rust and NWC bitcoin
Looks very interesting. Has anyone tested the minimum VPS requirements for running Thor? Seems it would be great for low-resource deployments since you're not running a full LN node, but just using NWC to connect back to a node that doesn't need to be exposed to clearnet.
I'm running it on a tiny DigitalOcean VPS (512 MB memory, 1 CPU, 10 GB SSD, $4/month) with an additional 30 GB SSD volume ($3/month at $1 per 10 GB). My total cost is $7/month.
I also had to set up a 2 GB swap file when building the project; otherwise, rustc would be OOMed.
To reduce costs, you could either shrink the volume size or skip using it altogether.
reply
Thanks. Dug a bit deeper, and I’ll probably just go with a Bolt12 invoice in a DNS record and skip the needing a server part (I.e BIP353). Seems Bolt12 adoption is growing; hopefully that’ll be the norm soon. A lot easier for the average person to grab a cheap domain and add a DNS record.
reply
Makes sense. It really comes down to what fits your needs best.
reply
And I use Cloudflare as my DNS server, and handle HTTP cert. On the VPS, thor is deployed behind ningx.
reply