Oddbean new post about | logout
 Do you have an open API or by request only? 
 It’s open as long as it’s being used for nostr related stuff, but no keys needed. More details here:

https://github.com/nostrbuild/nostr.build/tree/main/api 
 They use nip-96. I made a library to make it easy to upload and delete. 

https://www.npmjs.com/package/nostr-build 
 Nice 👍 
 Nice ... I'm going to have to check this out when I get a chance. 
 Here’s one of my simple apps that uses it as an example

https://github.com/SamSamskies/makeitnice 
 If you turned on the github web server, this would work and it would be easy for me to check out.

https://samsamskies.github.io/makeitnice/index.html 
 It’s hosted on Vercel https://makeitnice.vercel.app 
 https://m.primal.net/Kaea.png  
 Can you send me the file or drop it in an issue? I’ve uploaded many images and have yet to run into an error. 
 Could it be because I don't have an account set up?

Here is a link to the file.

https://laantungir.github.io/img_repo/0fb98cbd37de764ed6178c1898c2b221dd596aa828b74045dccd1753861a26d9.jpg 
 You don’t need an account set up. nostr.build has a free tier for any npub. 
 Hmmm it works fine for me. Can you try again? Maybe it was just an intermittent issue with nostr.build. Also, how did you login on my site? Nip-07 ext? If so, which one? 
 If you signed in with a public key, that would explain why it doesn’t work. I just removed that option from the nostr-login modal. 
 Maybe because I have used up my nostr.build free privileges? 
Just tried making a new account, and I just get a spinning "connecting, establishing connection to your key storage" notification. 
 I'm not aware of a total limit for free accounts. You need to accept the nsec.app connection request. If you're on iOS, there's special instructions https://nsec.app/ios.html. It's much easier to use a nip-07 extension though. I use  @nostore on iOS. 
 No limits for free usage, just the file size. 
 et pour Android  
 https://nsec.app should work, but I haven’t tested 
 thanks you .i am sée this  
 Amazing! U could accept Blob instead of FIle, or buffer.. so we could run app through nodejs without browser easily 
 🤔 
 I’m using nostr-tools under the hood which requires a File. Plus I do mostly frontend so I only needed browser support. Maybe later I’ll make it work for nodejs. 

https://github.com/nbd-wtf/nostr-tools/blob/master/nip96.ts 
 nostr-tools also uses FormData, so would have to either update nostr-tools or remove nostr-tools as a dependency