Sirius's avatar
Sirius
npub1g53m...drvk
Message me via chat.iris.to — not using other Nostr DMs
Sirius's avatar
Sirius 2 years ago
Check out https://new.iris.to for a ReplyGuy-free Nostr experience. When logged in, it hides replies from people who are not in your social graph. You can display the hidden messages by clicking on the button underneath. There's also "Adventure" feed for showing all notes from your social graph: image I have worked on it together with the Nestr "decentralized GitHub" team. Nestr frontend and Iris are built from the same codebase using build configuration options for different branding and features. You can easily extend the configuration to make your own branded version. Source code to be released soon™. The client is based on NDK. Full SocialGraph up to 2nd degree is downloaded on first login, and thereon only missing follow lists are queried. I'll be experimenting with options to go beyond 2nd degree. The graph is serialized and saved locally in a compressed format, which is much faster to load than it is to reconstruct the graph from Nostr events. My graph consisting of 260 follow lists and 23000 users is 3 MB on disk. It's still very much work-in-progress and mostly tested on desktop Brave, but it's already my favorite way to browse Nostr.
Sirius's avatar
Sirius 2 years ago
I wrote this in junior high school. The teacher didn't appreciate it, and I had to write a new one. image
Sirius's avatar
Sirius 2 years ago
Is Damus using Negentropy yet?
Sirius's avatar
Sirius 2 years ago
Follow distance indicator (checkmark) helps, but maybe we should save the followed user's name at the time of follow into our own follow list. image
Sirius's avatar
Sirius 2 years ago
For custom apps on nostr, instead of random event kinds like 33442, let's use descriptive and human-readable "f" tags (for "folder") such as "apps/market/item" and corresponding "d" tag "apps/market/item/[uuid]".
Sirius's avatar
Sirius 2 years ago
Celebrated Bitcoin Pizza Day at the cryptoanarchist haven Paralelní Polis, Prague. Privacy and scaling were the hot topics of discussion. Prague, a former capital of the Holy Roman Empire, is the most beautiful city I have seen. Vast areas of centuries-old architecture just go on and on. ‘Awesome’ is the proper term here. It makes you feel connected to the generations before us and part of something bigger than yourself, something that is worth preserving. I will be back soon for BTC Prague.
Sirius's avatar
Sirius 2 years ago
Blossom is great. Should we integrate it into nostr relays as a websocket command so you don't need separate media hosts? Or use DVM so you can also pay for downloads? Same "get blob by hash" command could be used by more advanced structures like merkle trees for large files that can be chunked and downloaded from multiple peers simultaneously like torrents. Video file in a merkle tree could be used for streaming: you'd publish the latest merkle root every few seconds?
Sirius's avatar
Sirius 2 years ago
Iris & Snort users: how do you find the "For you" feed? Do you use "for you" or "follows"? Personally I'm finding "for you" more interesting. It's not great, but it brings up new posts every time and it's not dominated by chat messages in Japanese.
Sirius's avatar
Sirius 2 years ago
IrisDB uses tag-replaceable events of kind 30078. "d" tag is the "file path", for example "groups/follows/somePublicKey" or "user/profile/name". You can update the content of the "file" with a new event that has the same tag. "f" tag is the "directory path". "groups/follows" in this case. You can list all the "files" in the directory by querying relays with the "#f" tag filter. Strfry doesn't index this field, but some relays do. Content field is the file content, can be any JSON serialized data. If we did profile fields and follow lists this way, there would be no overwrite problem when you sign in to a new device that doesn't have your previous profile or follow list. If we did likes that way, unliking would be trivial. When we create new Nostr apps or features, we don't need to come up with new obscure event kinds. D tag "apps/events/some-event-name/participants/some-public-key" is more descriptive than some random number that might still conflict with someone else's application. I wanted to name it "treelike" instead of IrisDB in order to not sound overly complicated, but the npm package name was already taken. https://github.com/irislib/iris-docs - react app starter template: npm create iris@latest
Sirius's avatar
Sirius 2 years ago
I have docs.iris.to testers 💜 Come edit the Random Canvas (need to sign in & have followed users to see content from them)
↑