Followed. View quoted note →
Blake
_@wako.ws
npub1ktw5...mrvj
#Bitcoin #Nostr #Freedom wss://relay.nostrgraph.net
Nostr is rigged. View quoted note →
Welcome #[2]! View quoted note →
I’m pretty sure we can create shareable Nostr service definitions something like this - as Nostr events. Some parts definitely need decisions made to make them flexible. And perhaps even input validation rules.
# Nostr Service Definition Specs
provider_name
provider_website
Paid?
file-upload
* Service type: file-upload
* Service name: "cdn.wako.ws file uploads"
* Auth methods: NOSTR-NIP-98
* endpoint, POST, JSON = https://cdn.wako.ws/upload
* Inputs
* file (multi-part)
* Accepted file (content-)types - [MIME] = image/jpeg,image/png
* Multiple files accepted: bool = true
* max request body size bytes =
* Response
* Success = parsing/field/key (json.dot.walk filter) = .file_url
* Error = .message
translation
* Auth method: API_KEY
* endpoint, POST, JSON = https://translate.nokyctranslate.com/translate
* Inputs
* q (text)
* source (ISO 639-1)
* target (ISO 639-1)
* api_key (text, .api_key)
* max request body size bytes
* Response
* Success = parsing/field/key = .translatedText | .translations[0].text (.join(" ")
* Error = .message
What would be really cool is a project that allows you to upload media from inside your Nostr Apps, and then use your own custom domain for the access url.
Main reason being if you control the domain, links don’t break if you change provider or host in the future. Host could be AWS, VPS, maybe a paid Nostr CDN service.
How much interest is there in something like this? How much risk is there for runaway S3 cost?
POC Nostr Paid Services Interface. I’d like to start formalising the subscription Nostr event data model.
I’d like to make it as generic as possible and it may not even be for a direct Nostr services - perhaps it’s like a Patreon, or credit/usage based API.


Gist
NIP-XX - My Services
NIP-XX - My Services. GitHub Gist: instantly share code, notes, and snippets.

I didn’t realise Keet had added micropayments. Using USDT.. but still. View quoted note →
Hey all, it’s me Ledger. I’m sure glad _our_ funds are safe. It’s just smart security that we share private keys with corporations we shouldn’t trust.

