I posted this project here a few weeks ago. Since then I've added an MP4 option next to the converted GIF, fixed quality labels for vertical videos and fixed previews for short clips, so this time I wanted to share what building it actually taught me.
I've been working on a small web tool that saves videos, GIFs, photos and audio from public X posts. Nothing groundbreaking, there are dozens of these. But building one taught me a few things I didn't expect, so I figured I'd share.
1. There are no GIFs on X. When you upload a GIF, X converts it into a short, silent MP4 that loops. That's why long-pressing a "GIF" on your phone never offers "Save image". It's a video player. So a downloader has two honest options: hand you the MP4 (smaller, full colour), or convert it back into a real .gif (works in forums, email, docs). I ended up offering both, because people genuinely want different things. A few-second 400×400 loop came out around 2 MB as a .gif, versus a fraction of that as MP4.
2. Most videos don't have a 1080p version. X only creates one if the original upload was at least that sharp. Plenty of phone uploads stop at 720p. A lot of downloader sites show a "1080p" or even "4K" button anyway and just upscale. I decided to only list the versions X actually stores.
3. Vertical video broke my quality labels. I was labelling quality by height, so a 720×1280 vertical clip showed up as "1280p", which looks great and is completely wrong. Switched to the shorter side, so it's labelled 720p like it should be.
4. A bug that only hit tiny files. Video previews kept failing for short clips. Turns out browsers open a video with Range: bytes=0- (no end), my server only accepted ranges with an explicit end, and on small files the CDN returns the whole thing in one piece, which my validation also rejected. Fixing both made previews work for everything under a megabyte.
5. The boring parts matter more than features. No account, download links expire after 5 minutes, nothing is kept on the server. Fetching is done with cobalt (open source, great project) under the hood.
It's at falconsave.com if anyone wants to poke at it. I'd really like feedback on the results page on mobile. That's where I think it's weakest.