nostr:npub1hee433872q2gen90cqh2ypwcq9z7y5ugn23etrd2l2rrwpruss8qwmrsv6 file upload would be dead simple especially since you already have an endpoint to upload to nostr:npub1nxy4qpqnld6kmpphjykvx2lqwvxmuxluddwjamm4nc29ds3elyzsm5avr7. Just need to add an upload form somewhere to let the user enter some metadata.

It would help if you add a README with how to run the app in development.

Working on it right now, big dog

Should have it implemented tonight

Reply to this note

Please Login to reply.

Discussion

One issue is that people might upload illegal content since there’s no login needed to upload an image. If that does happen, you can use my nostr-build library to upload the images client side. Users would need a nip-07 extension to do that.

https://www.npmjs.com/package/nostr-build

Dang, you’re right

I was so focused on implementing I forgot about stopping bad guys

Good looking out, I’m definitely going to need your help with this one then

I’ll DM you my development build that I have going so we can get that implemented

You could just launch it and see what happens. I think nostr:npub137c5pd8gmhhe0njtsgwjgunc5xjr2vmzvglkgqs5sjeh972gqqxqjak37w implemented some AI thing to auto-block CSAM.

Yes, we scan for shit and also scan for safety and place ranking in the headers.

I just sent you and nostr:npub1vp8fdcyejd4pqjyrjk9sgz68vuhq7pyvnzk8j0ehlljvwgp8n6eqsrnpsw a development build over DM

Try it out and let me know what you think

I tried uploading this and got an endless spinner. Also, the upload form auto zooms on mobile when you click into the input. Think it would be better if it didn’t do that.

nostr:npub137c5pd8gmhhe0njtsgwjgunc5xjr2vmzvglkgqs5sjeh972gqqxqjak37w I just pushed a bunch of updates to the dev link

A few updates:

- uploads should work now

- added “load more”

- gifs should load faster on search

Let me know if you guys have any feedback before I push it or if you have any more ideas

Thank you both for all your help!

Ship it 🚀

🫡🔥

Check if uploading still works, I did not see new files after testing dev link

I meant the uploads when link is copied