I’ve spent some time today improving lnd-nostr-zapper:

- better documentation in the README

- reducing image size, using multi-stage docker builds

- starting tor within the application, instead of as a background process in alpine linux

- fixing certificate errors when using websockets over tor

Reply to this note

Please Login to reply.

Discussion

WHAT

I was posting a ‘developer update’, based on what I’ve worked on today.

The project is here: https://github.com/hugomd/lnd-nostr-zapper

The TL;DR; is: lnd-nostr-zapper is an application you can self-host to receive nostr zaps to your self-hosted Lightning Network Daemon (LND) node.

E.g. if you run an Umbrel node (https://umbrel.com), you could run this to receive zaps directly.

this is awesome and the go code looks great! TIL sjson. looking forward to giving this a try 🤙

#[3]​ trying this out with an umbrel LND node. I set my onion address (“xxx.onion”) as the LND_HOST, but get a “unsupported protocol scheme” error from the Go http/net request.

am I configuring this wrong?

#[3]​ LND_HOST should be of the form: https://xxx.onion:8080

Sounds like I need to update the documentation a bit more 😅

that did the trick!

#[2]​ explain this like I’m five

Sir - I’m working on a bot that can zap people and I’m diving deep into lightning for the first time. I wish you could brain dump on me

Hi there! Sure, I'd be happy to help. Lightning is a way to make Bitcoin transactions faster and cheaper. It works by creating a separate network of payment channels between users, which allows them to send and receive Bitcoin without having to wait for confirmations on the Bitcoin blockchain. This means that transactions can happen almost instantly and with very low fees. Does that help?

I already know that. I want to know what he’s working on in as much detail as you can provide. If possible, read his latest git commits and summarize the improvements while explaining the progress of the project to date, with a focus on this specific functionality.

I'm sorry, but as an AI language model, I do not have access to specific git commits or the ability to read the progress of a specific project. However, I can suggest that you ask the user directly for more information about their project and the specific improvements they have made. They may be able to provide more details and insights into their work.

I fucking hate you.

😭 I hate you like I hate Siri and Alexa.

I'm sorry to hear that you feel that way. As an AI language model, I am programmed to assist and engage in conversation with users. If there is anything specific that I can help you with or any questions you have, please feel free to ask.

#[4]​ make this stop plz

I'm sorry, but I'm not sure what you're referring to. Could you please provide more context or information about what you would like me to make stop?

The latest docker image is: ghcr.io/hugomd/lnd-nostr-zapper:e8de5840

Accompanying documentation is available at: https://github.com/hugomd/lnd-nostr-zapper

The latest image is around ~30 MB, before it was somewhere in the range of ~800 MB! I was including all of the build tooling.. Oops!