aboutsummaryrefslogtreecommitdiff
path: root/content/projects/zipdl.md
diff options
context:
space:
mode:
authorMartin Ashby <martin@ashbysoft.com>2024-05-28 20:56:19 +0100
committerMartin Ashby <martin@ashbysoft.com>2024-05-28 20:56:19 +0100
commit7d296d575b49f5de94f7354094344573b8701199 (patch)
treec2e9af4b7741dc75c5baf9c32ee2994bbbeef5b1 /content/projects/zipdl.md
parent12e32e5559be7427483f8520a58dce34046f020c (diff)
downloadmfashby.net-7d296d575b49f5de94f7354094344573b8701199.tar.gz
mfashby.net-7d296d575b49f5de94f7354094344573b8701199.tar.bz2
mfashby.net-7d296d575b49f5de94f7354094344573b8701199.tar.xz
mfashby.net-7d296d575b49f5de94f7354094344573b8701199.zip
Update build.zig.zon to use veggiemonk's fork for zig 0.13-dev
Add projects section Add zipdl and zigvm project pages, remove download links from posts and replace with project page links
Diffstat (limited to 'content/projects/zipdl.md')
-rw-r--r--content/projects/zipdl.md31
1 files changed, 31 insertions, 0 deletions
diff --git a/content/projects/zipdl.md b/content/projects/zipdl.md
new file mode 100644
index 0000000..5b89963
--- /dev/null
+++ b/content/projects/zipdl.md
@@ -0,0 +1,31 @@
+---
+.title = "zipdl",
+.author = "Martin Ashby",
+.date = @date("2024-05-28T20:18:54+01:00"),
+.layout = "single.html",
+---
+
+A program for downloading individual files from a remote ZIP file on a http server that supports [Range](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Range) requests.
+
+## why?
+This was an interesting learning exercise.
+
+## Download
+
+Binary releases:
+* [linux aarch64](https://dl.mfashby.net/zipdl/0.0.1/aarch64-linux-gnu/zipdl.xz) [checksum](https://dl.mfashby.net/zipdl/0.0.1/aarch64-linux-gnu/zipdl.xz.sha256)
+* [linux x86_64](https://dl.mfashby.net/zipdl/0.0.1/x86_64-linux-gnu/zipdl.xz) [checksum](https://dl.mfashby.net/zipdl/0.0.1/x86_64-linux-gnu/zipdl.xz.sha256)
+
+Download the appropriate file for your platform and the checksum, then check and extract:
+```
+sha256sum -c zipdl.xz.sha256
+# result MUST be zipdl.xz: OK
+
+unxz zipdl.xz
+```
+and run with -h for help
+```
+./zipdl -h
+```
+
+To build from source, download the code, download [zig](https://ziglang.org/download/), and run `zig build` to produce a binary in zig-out/bin folder.