Replying to nobody

nostr:npub1nxy4qpqnld6kmpphjykvx2lqwvxmuxluddwjamm4nc29ds3elyzsm5avr7 any APIs for image upload sir? Would be neat after all the gifs.

Looks like right now image upload is handled using a form “post” to upload.php

Line 337:

https://github.com/ng5jr/nostr.build/blob/main/index.html

Reply to this note

Please Login to reply.

Discussion

🤌good homework. A+ sir 📜

Haha I actually wanted to know for my own usage down the line.

I’m putting my son to sleep and had some spare time looking at the code in the dark.

Maybe a common API in the future could be set up for the basics whether it’s CGI or a REST API.

Would only need the basics, says the guy armchair developing.

Yea same public file size limit. If its too big your fault, error. Otherwise what if nostr.build gets NIP42 one day, auth uploads with higher file size limit 🤷‍♂️

I’m sure it’s coming. Early days.

I don’t even want to imagine the monthly bill for housing my shitty memes.

Let’s throw sats at these hosts and the features will follow.

I got creator account for stashing for now. I know, more sats needed https://nostr.build/creators/creator/?user=205

Vitor right now lol

Yes yes yes! I have an api for clients, need to get it working with #[2]

Sounds Newtonian, im down. I know y'all will, to each benefit. Otherwise im leaving both client and the service and will run local web client in browser over Tor. Your pick 🤣 jk

All I want is to figure out why our uploader doesn't work with nostr.build we only get 500 codes back. :(

#[6]​ just did it with iOS. Just send a POST to the link I sent you in DM.

Yep, i used that url as well. Our post doesn't work. There is something missing somewhere.

Headers maybe?

What does the error.log say #[5]​ ?

If he’s getting 500 there might be a message on the other end.