Last Notes
In RelayKit you can see how much space services are taking up. Handy for when your servers about to fall over and you don't know who the culprit is. (eg in this case these dm testing relays bloated to 94GB net) #relaykit
https://bs.samt.st/cbb44523fa2efc5ac829d3ccf4229251aa03bb4e9eea35499111df9d135391b4.png
https://bs.samt.st/a393a3be79243b11114c6fbd959bb0f22b72e4ed5b41c1b7b89a751100d6a43d.png
Getting started on a massive feature for relaykit, versioning of all contained services. This will make individual services update-able within relaykit - as the user running relaykit decides at least. Likewise service creators/operators will be able to publish and own their own services, so relaykit becomes a nostr based distribution provider. Kind of like zapstore but for relays etc.
I've been adding an update feature to relay kit.
One of the key 'last' features before I advertise relaykit as ready for the general user.
Installing is easy (hopefully), but updating needs to be even easier.
The app checks automatically if there's a new version, and lets you update when you want (nothing is forced). Importantly relaykit updates itself without any down time to any services hosted within relaykit. During the update relaykit is 'down' for a few seconds, but the relays/blossoms/notifications/grasps/nsites keep 100% uptime.
https://bs.samt.st/ea4448b87cfc2e133f34ffd043c3e08f2f0388083aea6bd4375bab0daaa61c26.png
https://bs.samt.st/73048fa749bafe5db1b127dc6f014f68bace0625b4287e490dcd13b3972d1f48.png
https://bs.samt.st/137dd01f6b24a2835ad2419f40e8b9398b24aba9dc2ac858d43d6497c8ef917a.png
Notifs on graphene, running from my own relaykit instance, hooked into my own relays.
https://bs.samt.st/9637bf570bc05cd96f88136d21e4b343a37371fa2fc17dc9e487c4c4c278a2f6.png
#nevent1q…x5cc
I've added a standalone notification service to relaykit.
Since relaykit is 'always on', the notif service is always listening for relevant events.
With iphone there's no way to avoid centralisation. although for graphene I have it using a bundled self hosted ntfy service, which in conjunction with the ntfy app on the device, allows for complete decentralised notifications.
It has the same structure as any service in relaykit, with config/logs/etc.
It also has an 'app', where you can configure what notifs you're interested in. Importantly the app has a flow to be PWAd onto your phone, and thus the notifs config and target all in one. The UX has room for improvement, but the structure is there.
I want every part of the nostr experience to be code you run and host yourself. With notifs that means not being dependent on one/some apps. It also means you can configure notifs for whatever your needs dictate (plants, weather, cats, etc).
https://blossom.ditto.pub/b5e1fb1aecc54e08b9a2454fe409f0bf0d9de8a663c28ede07c82e1b0d014dd0.png
https://blossom.ditto.pub/310e86551e50be2c7b663757d2b0c15bd22eb3998e7d251da1fcf71b22b04e2f.jpeg
https://blossom.ditto.pub/35966923e7ba0d1584064d74d48d80a387908f5f529b8da5b751cb3c52948d09.png
https://blossom.ditto.pub/0a7bec14a82de75d0d61b8cc12658614bc625bf6cfbf7e3726349731a279c421.png
https://blossom.ditto.pub/21bf3f4afa3aaa0ba0785484ffc32e8793f52774ba5841894f9a4c3f87f7d2aa.png
https://blossom.ditto.pub/44ef3d6e84ac9823e33ccb9483bdbdb6d1e9c16312530a3796d80b2b47303682.png
https://blossom.ditto.pub/88ca7dc541db8c501debca5a1a461f98aea257f6ef6c0193d7bfb2e82748ccd3.png
https://blossom.ditto.pub/cebe95d87b5116b5b193ef51023da55cfda57c53bfcbf496d6499147e5d8c194.png
https://bs.samt.st/e0ed1c979bddac9f88daed0bbaf1a26ff876c81bfaaa107410eedc56d3786fcb.jpeg
https://blossom.ditto.pub/e0ed1c979bddac9f88daed0bbaf1a26ff876c81bfaaa107410eedc56d3786fcb.jpeg
Relaykit now supports grasp. You can create your own grasp instance in one click. Then use ngit on your machine to use git more or less as normal with your grasp as a remote.
For extra meta, relaykit is in grasp too 😄
I met @npub15qy…yejr in tokyo at nostrasia a couple years back. git on nostr seemed an obvious idea then. If we can't decentralise the software lifecycle, how decentralised could a project like bitcoin ever be. Glad to see the idea come this far, to be a working tool.
https://bs.samt.st/13e51a4f68e1a330a4eb13b6f69060986c9cb9abfcdbd5bacc2c918375c1a3fd.png
https://bs.samt.st/7b30c6204192405fa435180abe68d6f3a13759c578148979a071c90806d9483f.png
Scheduled posts.
Since Relaykit runs on a server, that context allows for some different behaviour.
I've added a light client to Relaykit, 'Hello world'. It's focused only on posting. There's no feed, there are enough of them already.
What's unique, is that you can compose a post, and then schedule it.
You set the time you want it to publish, click schedule, and that's it. The note is signed in the client (no private key ever goes to hello world / relaykit), and then hello world simply stores that signed note. When it's time to publish, it broadcasts it to the predefined relays.
If you're reading this note, know that I scheduled it a couple of hours ago. I'm no longer at my computer, I've long since gone to bed, however do reply, I'll check back in the morning.
#relaykit #building
https://relayk.it
https://bs.samt.st/8ed0a4a4977be0a3e08320097ba5620b1039f1d5b2b63e39c0226e58820ee123.jpeg
https://bs.samt.st/b0f87427efc4c78fe29830d7a78153a3b48025754a3b5fe44021ffb5e5b463c9.png
https://blossom.ditto.pub/deaa95f413ccfe85a0ea1fad2f272b81455a10ca122eac4526fc43abf4bea816.png
https://bs.samt.st/2df2041256ec840d48094ba71f2f069f5868709e7c1095dae2ffeba7fd868b8c.png
The https://relayk.it relay-explorer app now has a preview for kind 1s (and maybe soon any other kind of note it can understand). A tiny but useful feature.
#building
https://blossom.primal.net/112e66ab4340336ddd3f744d7a6247d4054ef1877dda9ac53787656686d5ab0d.png
Relaykit contains an app 'relay explorer' (also available as a standalone app), for viewing data in your relays (or any).
Just added a handy feature, where it will let you decrypt any nip4/44 encrypted data assuming you are the intended receiver. Useful when debugging.
https://relayk.it
#building #nostr
https://bs.samt.st/62419e9015550b1fc68cc0f2aaf6c7ea3045c7ac20ef83d008644bca4c6be784.png
I like details in a project.
In relaykit when you add a service and connect a domain, it lets you 'test' you've configured DNS (with your domain provider) correctly. It does this by checking external DNS providers. This is a common pattern. Typically people check against google or cloudflare DNS (8.8.8.8 or 1.1.1.1 respectively).
Although do we need to log more information with google, or give more power to cloudflare who already gatekeep 20% of the internet? We already know the answer.
Relaykit uses quad9, a privacy focussed DNS resolver based in Switzerland (a more neutral legal region).
It's ultimately a pointlessly small detail, but I think details like this are what end up defining a project.
https://blossom.primal.net/65dff57636303cdb5cea191f9f8787186e1fe8fd87b39bc62ad552432231fa17.png
https://blossom.primal.net/090e46f0f0fda657fa75ad8e60e3ebd7b04251c1ae140c33bccf059f21abe5c4.png
Yesterday I worked on the nsite gateway service in https://relayk.it which makes 'hosting' any nsite you've made (eg published locally or from https://shakespeare.diy) a streamlined process.
Relay kit lets you have as many services (relays, blossoms, nsites, etc) as you like and takes care of all the nuts and bolts. You administer it just from your nostr login.
#building #nostr #nsites
https://blossom.primal.net/3201508d326f58af7b21008146fb740e6a569a3b8ba96fb09879cc8ab3c98d06.png https://blossom.primal.net/c25c0d356fa934cdb104c608603d65b56c8e00cc00a053cdeff4c35c44253ece.png https://blossom.primal.net/be22a82cbf67633bcb7482d100fcefcca518f9bf6643af4906f553b0c83cbe61.png https://blossom.primal.net/4a295978456e15ae9d664aafad56a866e8d92421906dbc5ed7d962e836f59557.png