Avatar
monlovesmango
8c0da4862130283ff9e67d889df264177a508974e2feb96de139804ea66d6168
building on nostr

๐Ÿ™Œ๐Ÿ™Œ

I know right. spent so much time on that indexeddb. and dealt with all those cors issues....ย ๐Ÿ˜ญ๐Ÿ˜ญ

definitely trying to get this in soon.

yes, astral implements nip04. dm metadata is not encrypted, so who is messaging who at what time is all currently public. dm content is encrypted so no one else can read what is being messaged about.

this is what I had to start doing as well, though I tried to do this after 5 min bc initial load already was long. and at that point most benefits of persistent db are gone so might as well use temp storage.

I just updated astral.ninja to be more mobile friendly. ui still has a bit of lag so patience is needed.

no don't change anything, your metadata looks good to me. i see nip05 as '_@yunginter.net'. its prob bc your display name matches your nip05 domain exactly so astral is replacing it which is wrong and def a bug.

it doesn't look like its happening to yours, maybe bc you have capital in display name. but I didn't like that I was displayed as 'monlovesmango monlovesmango@astral.ninja'. just seemed visually redundant.

its too slow. the bigger it gets, the longer it takes to open a db tx. and it doesn't seem to be linear relationship.

I was using absurd-sql which opens only one tx on startup, but even then startup was taking 10-30 seconds, sometimes more than a minute.

really wanted persistent storage but I think I will just look into letting user save to and load from local sqlite db file instead

haha yeah i just noted that down as bug to look into. sorry about that! its prob a parsing issue bc I try to make nip05 look nice (don't want to display the '_' and usernames that match the user display name)

indexeddb is gone so astral should be much better on mobile and desktop. if images are broken you will need to clear cache storage to get them working.

if anyone is having issues getting astral images to display please holler at me!!! you will need to clear astral cache storage and then there should no longer be broken images.

some relays are mirroring content rn just to provide continuity but its not sustainable long term.