OceanSlim's avatar
OceanSlim
oceanslim@happytavern.oslim.dev
npub1zmc6...7f60
Pro Gun. Anti War. Working on hyperbitcoinization with Jan3. Hardware enthusiest. Node runner. Live your life in service to others. #nostr only since Block 775261. Father of 2. Building freedom tech: https://github.com/0ceanslim/ Contact: https://oslim.dev/contact
OceanSlim's avatar
OceanSlim 1 year ago
People have a very hard time putting Bitcoin as the denominator for everything. Like it's somehow impossible to do.
OceanSlim's avatar
OceanSlim 1 year ago
Sending this note with my micro client framework
OceanSlim's avatar
OceanSlim 1 year ago
Much better now. I think you could really build some stuff with this thing. #nostr #dev
OceanSlim's avatar
OceanSlim 1 year ago
Oct8 was all time low for exchange balances. Bullidh
OceanSlim's avatar
OceanSlim 1 year ago
๐Ÿ‘€ { "id": "2c83da77af1dec6d7289834998ad7aafbd9e2191396d75ec3cc27f5a77226f36", "pubkey": "f7234bd4c1394dda46d09f35bd384dd30cc552ad5541990f98844fb06676e9ca", "created_at": 1707728900, "kind": 37666, "tags": [ ["d", "https://game-server.com-save1"], ["a", "37666:f7234bd4c1394dda46d09f35bd384dd30cc552ad5541990f98844fb06676e9ca:https://game-server.com-save1"], ["p", "f7234bd4c1394dda46d09f35bd384dd30cc552ad5541990f98844fb06676e9ca"] ], "content": "{\"level\": 5, \"score\": 3200, \"items\": [\"sword\", \"shield\"]}", "sig": "a2b29f83e2abef93ef2928394998ad7aafbd9e2191396d75ec3cc27f5a77226f36a12e09f35bd384dd30cc552ad5541990f98844fb06676e9ca" }
OceanSlim's avatar
OceanSlim 1 year ago
Damn I had nearly forgotten how awesome Iron Maiden is. Incredible jams my dudes. ๐ŸŽธ image
OceanSlim's avatar
OceanSlim 1 year ago
Just made a little framework for nostr clients that uses templates, components Tailwind and HTMX in golang. A little cleanup and I'll post the repo.
OceanSlim's avatar
OceanSlim 1 year ago
If you are a #nostr #dev , let me know and I will whitelist you on wss://wheat.happytavern.co (down at the moment due to hurricane) This relay is always be running the nightly version of my grain relay implementation and will always remain free for nostr devs. It will accept any event kind for your testing purposes.
OceanSlim's avatar
OceanSlim 1 year ago
A relay with a control panel that can dm users on it would be pretty useful as a relay operator
OceanSlim's avatar
OceanSlim 1 year ago
Is Grain missing any core features that every nostr relay should have? #asknostr #dev Grain ๐ŸŒพ Core Features 1. Flexible Event Handling Supports all event kinds defined by the Nostr protocol. Handles: REQ Messages for client data requests. Configurable size and rate limits for different event kinds and categories. 2. Authentication (NIP-42 AUTH) Configurable authentication support, allowing authenticated communication between clients and the relay. Can be toggled on or off, with support for specifying the relay URL for AUTH. 3. Server Configuration Easily configurable server options, including: Port: Define which port the server listens on. Timeouts: Set read, write, and idle timeouts for connections. Connection Limits: Control the maximum number of simultaneous connections and subscriptions per client. 4. Resource Management Set resource limits for optimal performance: CPU core and memory usage limits. Heap size for controlling Go's garbage collector. Limit the number of concurrent goroutines for better stability. 5. Rate and Size Limiting WebSocket and Event Rate Limiting: Manage the rate and burst limits for WebSocket messages and events. Size Limits: Define maximum payload sizes for events, with specific limits for different event kinds. Category-Based Limits: Tailor rate limits for various event categories like ephemeral, replaceable, and regular. 6. Whitelisting and Blacklisting Pubkey Whitelist: Allow only specific pubkeys or npubs to interact with the relay. Kind Whitelist: Control which event kinds are permitted. Domain Whitelist: Specify domains for fetching .well-known/nostr.json pubkey lists. Blacklist: Manage permanent and temporary bans with: Automatic bans for messages containing specific words. Permanent bans after a certain number of temporary bans. 7. Event Purging Configurable event purging to maintain storage efficiency. Define how long events are kept and set purge intervals. Fine-tune purging by event category or event kind. Optionally exclude whitelisted pubkeys from being purged. Repo here:
OceanSlim's avatar
OceanSlim 1 year ago
I'm a GO maxi now but I really do like Python as a language. ๐Ÿ
โ†‘