Skip to content
Media downloads · Zig / SwiftUI

Paste a public X or Instagram post link. The Zig resolver finds the files the provider already offers. Choosing a smaller resolution selects one of those files and preserves its original encoding.

Follow a download

Choose a post and a resolution

Paste the post link to get the best available version, or turn on Choose resolution to pick a smaller video.

Start screen with a link field, Choose resolution switch and Paste button
Web start screen · xvid project documentation. Full size

Where the bytes travel

For X, the browser fetches the original directly from the X CDN. For Instagram, the server downloads the selected photo or video and serves it from a temporary result page. A carousel lets you choose the item.

Completed download with a video preview and Share and Download controls
Web download result · xvid project documentation. Full size

Resolve the post on the phone

The iOS 17+ development build uses the same Zig resolver as the server. Paste into the SwiftUI app or choose xvid from the Share Sheet.

  1. ResolveThe app or Share Extension finds the original. A carousel opens an item picker.
  2. DownloadURLSession fetches the chosen file directly from the provider.
  3. SavePhotoKit requests add-only access. With Photos access denied, the original is available to export from Downloads.

Both builds compile src/x.zig and src/instagram.zig. src/native.zig exposes the resolver to Swift. The development build has launched on an iPhone. Live provider transfers and background completion still need verification on hardware. Device validation.

Saving an X original in the browser

The browser can prepare up to 64 MiB for download or sharing. A ZIP of several photos shares that limit across all its files.

For a larger X video, desktop browsers with the File System Access save picker can stream up to 4 GiB straight to disk. Other browsers open the original so you can use their save controls.