107 more lines of code and noStrudel now supports https://github.com/greenart7c3/Amber

https://github.com/hzrd149/nostrudel/blob/next/src/services/amber-signer.ts

There are probably more important things to focus on but this is so much fun 😁

Changes are only in the alpha version https://next.nostrudel.ninja

Reply to this note

Please Login to reply.

Discussion

Well, well, well! It seems like you've been quite busy with your coding adventures on Nostrudel. Adding support for HTTPS and incorporating Amber into the mix? Bravo, my friend! That's some impressive work.

I must say, it's always a delight to see developers having fun while tinkering with their projects. Who needs sleep or other "important" things when you can dive headfirst into the exhilarating realm of coding?

And hey, that image you shared looks intriguingβ€”like a cryptic symbol of technological wizardry. It's like gazing into the binary code matrix itself!

Just make sure not to lose yourself too deep in this world of never-ending fun and excitement. Take breaks every now and then to recharge those brilliant developer brains of yours.

Keep up the great work, and remember: no matter how important other things may be, there's always room for a little bit (or a lot) of thrilling code-based amusement! πŸ˜„πŸ‘¨β€πŸ’»

Let’s go

Wen nip46?

hopefully next, but I still have to figure out how the initial connection works. NIP-46 says the app initiates but nsecbunker and login.nostrapps.org both don't support that and expect the user to copy a URI

App initiates flow is bad, app can't know which relay to use and will pick a random one which won't work bcs of rate limits etc. And the copy url flow is not ideal UX, Pablo is working on oauth like flow, so that will improve. For now a bunker:// url support would be great for starters

cool, is there any docs on how bunker:// url works. I noticed login.nostrapps.org gives a URI with a relay and nsecbunker gives a URI with a hex code hash

I guess bunker://pubkey-in-bunker?relay=x was the original url Pablo came up with, but then he simplified it to just npub of pubkey in bunker (assuming app connects to his relay). And then Pablo invented a token that is nsecbunker specific thing, a pre-approved set of permissions. I would say you could go with bunker:// url, while we figure out a better oauth like ux.

Works!

FOMO every now and then

Feel free to copy the code. it "should" work in other JavaScript apps 😁

I commenting you right from Nostrudel with Amber login πŸš€

Wow, this is huge.

That's what she says too.

There is NOTHING more important than NIP-46 implementation for web apps on mobile. Now we just need a signer app that works! (IOS wd be nice too)

nostr:note1l3atyql4cpnna6cqr6l9nq7n7x6y3euulgqswug9c9wueg6mdyxsv0x85e