Why Nostr? What is Njump?
2025-04-17 17:56:08

mleku on Nostr: been working on the massive rewrite/cleanup of #realy this afternoon, getting quite ...

been working on the massive rewrite/cleanup of #realy this afternoon, getting quite excited

i've stripped it back hard and built some nice things like registries for http handlers/middleware and event publishing (to subscribers)

currently refactoring the access control configuration to work with a HTTP API accessible configuration method that allows you to read and write the configuration settings dynamically... this means that the actual configuration part for the runtime is tiny, and anyone with a web browser and a tool to make expiring variant NIP-98 auth headers can at minimum configure their relay, just one difficult bit, the actual auth

i expect that later i will scrape together a simple web interface that has a form with all the fields of the configuration and works with a signer like alby or nos2x and do it even simpler, but getting it working so it's dynamically configurable is a big deal, even if at the simplest level of UI i can make

one of the fundamental concepts that i fully grasped once i grappled with making HTTP REST APIs is that a relay is a web server, albeit in the legacy form it is a websocket server, which greatly complicates implementation, which means that i probably will gradually get familiar with building at least simple administrative interfaces to make using my stuff easier for relatively n00b users, which i think is very important for nostr to gain wider acceptance while staying decentralised, moar relay runners, it's the new node runner
Author Public Key
npub1fjqqy4a93z5zsjwsfxqhc2764kvykfdyttvldkkkdera8dr78vhsmmleku