← All projects
Project record1 mention
Originally shared on Hacker News

zfetch

zfetch is a single static binary that fetches URLs over HTTPS with strict security defaults, intended to replace curl in restricted environments where a small, auditable tool with no runtime dependencies is needed. It is also usable as a Zig library for embedding HTTP(S) fetches in other programs, and it vendors and links BoringSSL.

Last shared For For applications and teams working in restricted environments that need a small, auditable HTTP fetch tool with no runtime dependencies; also developers embedding HTTP(S) fetches in their own programs.
01 / The problem

What it addresses

In restricted environments, existing tools like curl are not small or auditable and come with runtime dependencies.

02 / Source history

Shared over time

Each entry reflects what was shared on that date. Details may have changed since then.

  1. zfetch

    zfetch is a single static binary that fetches URLs over HTTPS with strict security defaults, intended to replace curl in restricted environments where a small, auditable tool with no runtime dependencies is needed. It is also usable as a Zig library for embedding HTTP(S) fetches in other programs, and it vendors and links BoringSSL.

    Problem: In restricted environments, existing tools like curl are not small or auditable and come with runtime dependencies.

    Audience: For applications and teams working in restricted environments that need a small, auditable HTTP fetch tool with no runtime dependencies; also developers embedding HTTP(S) fetches in their own programs.

    Posted by @shirian · Original source ↗

    Source text · @shirian · · Source ↗

    Me and Claude have been working on zfetch (https://github.com/roobie/zfetch), which is a single static binary that fetches URLs over HTTPS with strict security defaults. For many applications, it should be able to replace curl in restricted environments where you need a small, auditable tool with no runtime dependencies. It should also be usable as a Zig library for embedding HTTP(S) fetches in your own programs.