Replying to Avatar greenart7c3

The easiest way is adding https://github.com/nostrband/nostr-login or https://github.com/fiatjaf/window.nostr.js

They are scripts that add nip 46 for your apps and usually you just need to import it to your pages

I tried one from fiatjaf but it looks so ugly and does not fit into my app at all

Reply to this note

Please Login to reply.

Discussion

Yea, the nostr-login one has some customization options and you can move it anywhere in the screen.

The fiajaf one just stays in a fixed position

I want a login that integrates seamlessly into my design and gets out of the way when I’m done with it

I think if we got it all in one file that can be easily digested with comments and everything an LLM might expect, it could work.

Are you using NDK from pablo?

I'll see if I can make something to help you out tomorrow

Yeah NDK is the only thing that works consistently with the llm I use

Yeah, he put a lot effort into this.