Fun fact: posting photos with metadata intact can leak your exact location. If a CDN doesn’t explicitly strip it, images from iPhones and other devices may include GPS data and device details. I’ll expand this app, so you can handle metadata removal locally without relying on CDN for that.
iefan 🕊️'s avatar iefan 🕊️
Instead of creating another FFmpeg wrapper, I built this using WebCodecs, which is up to 67x faster than FFmpeg WASM. Run your videos through this before posting on Nostr. It cuts size by 50–90% with minimal quality loss, saves CDN bandwidth, and makes posts load instantly. https://nostr-compress.vercel.app
View quoted note →

Replies (6)

Yes, you can do that. And also if I’m not wrong nostr.build does actually strip that data, right?
Thanks for sharing. This means I should make metadata removal more selective, stripping sensitive fields while preserving non-sensitive data, in line with Blossom’s recommendations.
That isn’t implemented yet, but I’ll work on it soon. I just need to be careful to strip only sensitive metadata, since some non-sensitive fields might still be needed by Blossom. View quoted note →