spacestr

đź”” This profile hasn't been claimed yet. If this is your Nostr profile, you can claim it.

Edit
JayByte
Member since: 2025-08-06
JayByte
JayByte 5d

( and I was younger xD )

JayByte
JayByte 5d

So I don't buy any communist idea of "free projects done just by right moral framework".

JayByte
JayByte 1d

Also. Learn at least programming, OSes, basic technology, maths, history and biology. Preserve your knowledge and build new stuff as much as you can. Every technology is prone to unclear patches which serve primarily for monkeyish political gain.

JayByte
JayByte 5d

Yep. That's why "free open-source" either is an utopia, or can only be maintained by community for long time and persistently in yet scarcity society.

JayByte
JayByte 1d

I run my own relay just to add a little more resilience to Nostr protocol.

JayByte
JayByte 1d

Recently I've set up my own Nostr relay. The key strugles during my setup of nostr-rs-relay were: 1. Assuming that Caddy would issue SSL certificate for bare IP address. It doesn't even though it is possible to issue SSL certificate for bare IP address. Before publish your relay, be sure you set up a domain and linked it to your VPS. And then configured it in the Caddyfile like so: ``` your-relay-domain.com { reverse_proxy 127.0.0.1:8080 # internal IP of your Nostr relay tls [email protected] log { output file /var/log/caddy/nostr.log { roll_size 1gb roll_keep 1 roll_keep_for 720h } } } ``` Then after restarting Caddy, it sets up SSL certificate for domain automatically. 2. Setting up cleanup cron job for too old Nostr events for preserving disk space. It wasn't very obvious, that the `datetime` function will return valid date with two flags set: 'now' and 'unixepoch', so I covered it with the `strftime` function and then casted to integer: ``` #!/usr/bin/env bash sqlite3 /path/to/nostr-relay/nostr.db "DELETE FROM event WHERE CAST(strftime('%s', datetime('now', '-365 days')) as INTEGER);" ``` Before taking these notes into account, follow standard path of installing nostr-rs-relay and Caddy. For example: https://usenostr.org/relay . Or you can ask LLM and follow instructions with good knowledge of Linux based systems. And configure separate user (for ex. `deploy`) which has full read/write/execute permissions to Nostr relay directory and directory where you would store cleanup script. You can test your relay with the Go CLI util nak: ``` nak event -c "Hello from the nostr :3 ^_^" wss://your-relay-domain.com ``` #blog #nostr #relay #howtosetuprelay #caddy

#blog #nostr #relay #howtosetuprelay #caddy
JayByte
JayByte 1d

I don't want to live in dystopian future where technologies and knowledge are controlled only by few corporations and governments, because it will lead to harsh civilizational collapse of declining monotheistic paradigm with endless covering competition and scarcity mentality. With free global Internet and digital nomadism, there's at least a good possibility of recovering of humanity to new quality of life and freedoms with FOSS and free scientific knowledge bases. So I did my little part in preserving Nostr and I want to share my notes on setting up Nostr relay :p #blog

#blog
JayByte
JayByte 4d

Also supernatural things tend to co-evolve with cognitive capacity, culture and technology.

JayByte
JayByte 5d

I left this s%t before that when they required KYC from me. By now they deleted my account xD

JayByte
JayByte 5d

Haha. I remember times when I contributed for free software so much. One time was when I was a teenager who built and designed arcade game with custom game mechanics from lowest level. Further times were when I did cognitively easy-peasy frontend job (tho project was big).

JayByte
JayByte 5d

inb4 from postmodern zealots: "you just have different notion of long time and persistence"

Welcome to JayByte spacestr profile!

About Me

Software Engineer. I love slow/async life, privacy, nature, pantheism and art. Latest PromptQL (templating language for LLMs): https://gitlab.com/jbyte777/prompt-ql/-/tree/release-6.x Tutorials on programming: https://medium.com/@jzx777

Interests

  • No interests listed.

Videos

Music

My store is coming soon!

Friends