Avatar
ManiMe
df67f9a7e41125745cbe7acfbdcd03691780c643df7bad70f5d2108f2d4fc200
I will never give up respecting everybody. Nostr Dev. Creative. Athlete. Optimist. Freedom lover. Know nothing nobody. Discovering myself. A little GFY is good for you. Sovereign Online Since 810018. Building WoT powered Nostr apps : - My Grapevine (https://grapevine.my) Webs of Trust recommendation engine (WIP) - Meet Me On Nostr (https://nostrmeet.me) Webs of Trust powered onboarding (WIP)

This is why. For all its modern bloat, JS does have the best tool set for nostr client development.

nostr:note1tjcsm3k946jyksuh3w8vy999hyuxape77uvv5rs4c5mcd277t2cq5h5ym5

Replying to Avatar Sep

correct link:

https://github.com/nostr-dev-kit/ndk/blob/master/ndk/REFERENCES.md

and thank you dear Pablo.

nostr:npub1manlnflyzyjhgh970t8mmngrdytcp3jrmaa66u846ggg7t20cgqqvyn9tn you can also take a look at Nostr-Hooks (yes, it's a React lib, but you may still get some inspiration about how it's dealing with NDK)

https://github.com/ostyjs/nostr-hooks

Thank you all for your guidance. I’ll have more questions as I progress fwd on this social onboarding client for Nostr. So far … just a ā€œfollow meā€ QR code that opens in an exiting local client. Soon to be also ā€œinviteā€ QR codes (of course using nostr-ignition šŸ˜ nostr:npub1zuuajd7u3sx8xu92yav9jwxpr839cs0kc3q6t56vd5u9q033xmhsk6c2uc ) for onboarding your fiends to nostr.

nostrmeet.me

https://github.com/nostrmeetme/nostrmeetme

That took up like ALL of my post Covid brain cells. For some reason I could wrap my head around how to get data dynamically in svelte. I tried every attempt possible and pulled my hair for days. Turns out good old fashioned fetch after all.

Now I have QR codes rendering on server side, fetched AFTER user data has loaded on client side.

https://nostrmeet.me/_@jeffg.fyi

I know. I know. Hear me outā€¦šŸ¤£

We all want to be left the fuck alone… but as soon as we ā€œunironicallyā€ suggest that people’s right to ā€œget hit by a car or bump into a pedestrianā€ should be restricted … well … you know… insurance companies and government (and the lawyers they pay) just LOVE to help ā€œkeep us safeā€.

So no… I’m not in support of all that just so that you can be ā€œnot botheredā€ by these AiRheads.

Just saying.

Let ā€˜em fuck around and find out…

Svelte load() + $ndk is kicking my ass.

- login asUser using any npub or NIP05 in URL

- without clearing authUser session (signed in via extension or bunker) if it exists

- instantiate asUser (if != authUser) and load profile on server side to generate and store QR code (image files) before page load

- store asUser $ndk, $user, and $qrcodes locally in PWA, to navigate entire app ā€œas userā€ when route changes.

Do I instantiate $ndk separately for each user?

Do I instantiate on server and pass to browser?

Does $ndk need to pass updates to local $store … how does this work?

🫤

nostr:npub1l2vyh47mk2p0qlsku7hg0vn29faehy9hy34ygaclpn66ukqp3afqutajft nostr:npub1zuuajd7u3sx8xu92yav9jwxpr839cs0kc3q6t56vd5u9q033xmhsk6c2uc … anybody?

I’m happy with a laptop and a phone. Maybe a tablet, but only one at a time!

Marketing department wd retake the shot. He’s a bit too impatient, like he’s on the ā€œimportant busy showā€, to be a brand ambassador.

Rendering images on server side so that QR codes can be downloaded for use in print or social. Baby Steps.

nostrmeet.me

So yea… just another power monger? Even if ā€œbitcoinā€ and other things, people in power care only about one thing. That’s what I see here.

Replying to Avatar Man Like Kweks

https://wavlake.com/track/3bc29fb6-7464-4491-986c-d328d1d5436b nostr:note1wl86w2ugw99nm3a8hxm6dltx4q7qmmr9v023z5xwwlhdkz5q7rrs8wzvr7

Yea yea.

Yes. User generated lists (NIP51) have lots of potential. Problem with NIP51 (at least for now & correct me if I’m mistaken) :

- no standard for indicating what any list should be used for… as new use cases (NIP) possibilities for user generated lists emerge how will clients know which lists to incorporate for each use case?

- little client support for user generated list for lack of use cases (see above)

- the content of these lists has to be curated by hand (for lack of client support) which means not many people will use them or keep them up to date.