CypherNet
Easy Relay
I want to go to a web page and click "create relay." It will ask for my credit card, or my login if I already have an account. It will create a relay for me for a given price / configuration / setup option.
I can then join that relay to a friend's relay, which doesn't have to be running in the same system. It just has to accept the protocol handshake.
Now our relays can act in federation, providing reciprocal backup.
We can each also have our own blacklist, if we don't want to carry something they have.
I can go to another page on the site and set up a client that will read from other relays and publish to my relay, to create my own custom stream. That way I can point all my clients (phone, tablet, desktop) at my single stream instead of having to subscribe them to all my favorite relays individually.
When I federate with someone else's relay, it pops up the 3rd party content it relays (filtered against what I already have), so I can consider adding from it.
That same functionality could happen without federating, just by going to the page that lets me point my client at another relay.
Since my relay is carrying all that stuff, it has access to it all. That makes it easy for me to run data science on it all.
I can and should be training my own little information agent, all the time, to find things that I will enjoy. It can monitor my relay network for suggested new content, check it, and recommend it if it suits.
I can publish my personal findings, or even my agents' findings, so other people's agents could use that info as a signal for whether to surface something to me.
What Does MVP 0 Look Like?
- Functions as a relay.
- Allows Publish
- Allows Subscribe
- Forwards Messages
- No History (for v0)
- Pushbutton Setup (given an approved key)
- Provides Endpoint Info
Nostr Relay Setup
- NostrRelay
- IP: 52.11.172.130
- Deb 11, $5 instance
Server Baseline
ssh admin@52.11.172.130 sudo apt update && sudo apt dist-upgrade -y sudo apt install -y emacs-nox
Python
sudo apt install -y python3 python3-pip python --version pip --version
Install Uvicorn
- https://www.uvicorn.org/
- Trying the fancy version (uvicorn[standard]) first
pip install 'uvicorn[standard]'