I am pleased to announce the release of an API for uploading images to Nostrfiles.
Run the following curl command on the endpoint "https://nostrfiles.dev/upload_image" in your terminal to upload an image to Nostrfiles and receive the image URL as a response:
curl -X POST -F file=@nostrich.jpg https://nostrfiles.dev/upload_image
Please have a look plebs:
#[0] #[1] #[2] #[3]
Login to reply
Replies (6)
Cool. We will look into it
Can I use โGet content od URLโ in apple shortcuts and get image URL in to the clipboard?
I personally do not own an iOS device as a daily driver. But will try to find out if it could work.
The API endpoint can now also handle video files ๐คช
#[1]
Test it with the following command:
curl -X POST -F file=@nostrich.mp4 https://nostrfiles.dev/upload_image
The endpoint is
https://nostrfiles.dev/upload_image
View quoted note โ
Just wanted to ping you due to the ongoing incur discussions in some Nostr apps. โ๐ฝ
Nostrfiles was integrated in Amethyst for NIP-94 images, and it would be great to use in on daily base on Plebstr as well. ๐ค๐ฝ