Avatar
ismyhc
c5cfda98d01f152b3493d995eed4cdb4d9e55a973925f6f9ea24769a5a21e778
Building coolr.chat and Hollow a long form Nostr reader/publisher application.

Just a reminder to checkout https://coolr.chat

Alot of progress made.

- unread channel indicators

- basic mentions by doing @ name or `@name` or pasting in nprofile or npub

- handling of nevent, naddr

- basic IRC like commands with / (more to come soon)

More work to do, but it's coming along! 😃

#realy #bunk #devstr #progressreport

so, fyne is a bit buggy in places, you have to sometimes force it to refresh and stuff when you do things in a sequence it doesn't expect, like dragging the window to another screen it sometimes resizes the window and widgets overflow and you have to resize it to get them to fit the window again

i think i've got an inkling about how to avoid these glitches and adding some more calls to the function that repaints the window, so i will make it behave like a good little GUI app given time.

i've now learned how to make it render text to the set theme (which defaults to whatever your desktop manager says it is, which is nice) and so far this is what it does:

- open start screen with nsec input and one relay input that you paste in your nsec and type in the relay you want to use

- then you can click on the "next" button and it flips the display to the main display which shows the text of the bunker URL nicely wrapped to stay a decent size, and a button that you click and it puts the bunker URL into the clipboard

really basic steps so far, but as i get more familiar with how to work with it and the quirks i need to handle, i think in a few days i will have a working signer bunker app at least for linux, but i think actually i can build apps to push to android and ios as well, and probably can build windows and mac versions as well, which will cover all bases.

idk about properly covering ios and mac platforms but i can test it on windows at least as well

should be usable soon, once i learn all the tricks how to make it behave itself, fortunately the demo app has a lot of examples which allowed me to get this far, and i'm sure will help me break through until the MVP.

and yes, i'm calling it "bunk" because i have an ironic sense of humor, why else did i call my relay "realy" a typo that i often make... that would be because i know i'm a noob at a lot of things and when i am, i make fun of myself. proof of non-psycho.

Ive used fyne a bit and it's actually pretty good, but the biggest negative for me is the lack of customization you can do to the look and feel. They take a "theme" approach and it's a lot more involved than it should be. If it could have more fine grained customizations like SwiftUI, etc it would be quite awesome.

Finally a welcome change to iOS AppStore rules.

Are there any nostr services like nostr.watch which have an api to get a list of active relays?

Working on a basic NIP for ephemeral chat. This is based off of how coolr.chat works and also thanks to nostr:nprofile1qy88wumn8ghj7mn0wvhxcmmv9uq3qamnwvaz7tmwdaehgu3wd4hk6tcqyprqcf0xst760qet2tglytfay2e3wmvh9asdehpjztkceyh0s5r9cpvx58v starting the basis of this document. I haven't submitted it yet, but just wanted to get the idea started.

https://gist.github.com/ismyhc/e42abc83aa266e622bf253763d52dd6b

You can also checkout https://coolr.chat

Still a work in progress so expect local cache resets as I push out new builds 😃

I few changes to Coolr this morning.

If you have it open, please refresh. It will clear your local cache for the breaking changes.

Now using "_" for the default channel so that if you wanted you could filter only by that.

https://coolr.chat

Don’t forget to check out Coolr Ephemeral chat. I won’t be around tonight, but hopefully some people will be.

More improvements coming tomorrow!

- shareable channel links

- IRC like commands

- …

https://coolr.chat

Some more updates to Coolr

- nip05 should be working better. If for some reason its not showing, you may need to make sure that your kind 0 is available on the relay you are posting to, or at purplepag.es

- when you refresh if you have the older version it will clear you local cache since some breaking changes happened.

https://coolr.chat

Okay, made some improvements to my experimental Nostr chat.

It's an ephemeral chat. Kinda like shooting the shit at the water cooler.

- local caching of messages, channels and user metadata.

- nip05 support with verified checkmarks

- Ability to switch to another relay if you'd like.

Still needs a handful of other things. Like ability to easily switch accounts with nostr extension. (if you need to just clear out local storage).

Needs better mobile layout.

Might also add unread counts to the channel list.

Come chat!

https://coolr.chat

Yeah for sure. I think one way would be to use webauthn credentials to encrypt the private key, the it could be store in IndexedDB encrypted. Then any time the user needs to sign an event you could request navigator.credentials.get() which would pull up face/Touch ID to decrypt key and sign. Not perfect but it could be a potential solution.

The biggest problem with PWA imo is that there’s not a great way to store private key. Specifically on iOS you don’t have access to keychain as you would on a native app. I also I am not sure you can use a Safari extension as you normally would from just using Safari.

Yes. I was actually thinking of calling it water cooler too 😀.

But yeah I think that’s a great idea someone mentioned something similar

Will dig deeper on this but at first glance this is more involved than my concept. Not a dig at the author at all, I’m just thinking even more simple.

Checkout this experimental prototype I've been working.

Ephemeral chat.

It's super alpha, messy code and not optimized, but I've got some idea's to make it pretty cool.

It's kinda like hanging out at the water cooler. You only hear whats going on if you are there.

Its hard coded to connect to damus relay right now, but will make it so you can connect to any relay that supports ephemeral events.

https://ephy-web.vercel.app