What is Nostr?
mleku
npub1fjq…leku
2024-06-13 18:31:42

mleku on Nostr: i was reminded again today of a sweet GUI library for #golang that i'd forgotten ...

i was reminded again today of a sweet GUI library for #golang that i'd forgotten about

it has a cute name: nucular, based on a C library called nuklear

it has full text select and copy, decent number of usable widgets, and it's default using gioui.org as the backend engine... which means whatever it can't do, i can probably build it to do

it's enough for doing photos and a decent UI for nostr, and probably won't be that hard to add video embedding and suchlike, and it's smooth, i mean way more frames than my display can display, and most of the UI will thus be smooth and latency free

i'm gonna start working on a client using it

and in other news, i also learned that there is 3 other relays than khatru written in #golang:

https://github.com/mattn/nostr-relay

https://github.com/barkyq/gnost-relay

https://codeberg.org/pluja/nerostr

this last one is a product of a monero, and has monero subscription mischief in it

but idgaf

i'm gonna look real close at these three and figure out which one is actually sane

gnostr-relay i found first and i played with it but the stupid retarded event store using postgres was a non-starter because i follered the destructions and it didn't work

but i looked briefly at the code and it was super simple

so, yeah... i'm almost done building out the codec for the event and filters using all the wizzbang trickery i have learned in recent weeks and then i'm gonna plug in the most sane of these three their core websocket and query handling algorithms and the nodl will rise

yes, i'm calling my new relay nodl, because it's nostr, and it's a node, and hodl because this is gonna be a roller coaster ride
Author Public Key
npub1fjqqy4a93z5zsjwsfxqhc2764kvykfdyttvldkkkdera8dr78vhsmmleku