aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--build.zig.zon7
-rw-r--r--content/posts/2023-10-07-zipdl.md20
-rw-r--r--content/posts/2024-05-23-zigvm.md7
-rw-r--r--content/projects/index.md6
-rw-r--r--content/projects/zigvm.md31
-rw-r--r--content/projects/zipdl.md31
-rw-r--r--layouts/templates/main.html1
7 files changed, 75 insertions, 28 deletions
diff --git a/build.zig.zon b/build.zig.zon
index aee0286..9410190 100644
--- a/build.zig.zon
+++ b/build.zig.zon
@@ -3,9 +3,10 @@
.version = "0.0.0",
.dependencies = .{
.zine = .{
- //.url = "git+https://github.com/kristoff-it/zine.git#e33a1d79b09e8532db60347a7ec4bd3413888977",
- //.hash = "12209f9be74fcc805c0f086e4a81ccca041354448f5b3592e04b6a6d1b4a95da5a26",
- .path = "../zine",
+ // TODO switch back to kristoff-it when https://github.com/kristoff-it/zine/pull/36 is merged
+ .url = "git+https://github.com/veggiemonk/zine.git#1de396698c2f336371668d18c87fee1d32c98e05",
+ .hash = "1220b10ab22d344339c4178565f981e7273d38ee702fbf9b18c1ae67da5eea81f34d",
+ //.path = "../zine",
},
},
.paths = .{"."},
diff --git a/content/posts/2023-10-07-zipdl.md b/content/posts/2023-10-07-zipdl.md
index 512f2a8..3886f50 100644
--- a/content/posts/2023-10-07-zipdl.md
+++ b/content/posts/2023-10-07-zipdl.md
@@ -8,22 +8,4 @@
I wrote a small 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. This was an interesting learning exercise.
-In case it's useful to anyone, the code is available at https://code.mfashby.net/zipdl/
-
-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.
+[Project page](/projects/zipdl) \ No newline at end of file
diff --git a/content/posts/2024-05-23-zigvm.md b/content/posts/2024-05-23-zigvm.md
index 43a4855..1e964d4 100644
--- a/content/posts/2024-05-23-zigvm.md
+++ b/content/posts/2024-05-23-zigvm.md
@@ -10,9 +10,4 @@ I wrote a tool to download and manage Zig versions ... in zig.
It uses the [JSON](https://ziglang.org/download/index.json) metadata available for zig downloads. It has one third party dependency on [minisign](https://github.com/jedisct1/zig-minisign). JSON parsing, HTTPS client, and tar/compression were all available in the standard library.
-Downloads:
-* [Code](https://code.mfashby.net/zigvm/)
-* [aarch64-linux](https://dl.mfashby.net/zigvm/v0.0.1/aarch64-linux) [SHA256 checksum](https://dl.mfashby.net/zigvm/v0.0.1/aarch64-linux.sha256) [minisig](https://dl.mfashby.net/zigvm/v0.0.1/aarch64-linux.minisig)
-* [x86_64-linux](https://dl.mfashby.net/zigvm/v0.0.1/x86_64-linux) [SHA256 checksum](https://dl.mfashby.net/zigvm/v0.0.1/x86_64-linux.sha256) [minisig](https://dl.mfashby.net/zigvm/v0.0.1/x86_64-linux.minisig)
-
-Binaries are signed with [minisign](https://jedisct1.github.io/minisign/), public key `RWTsE4a/BXFWjmzxWB0Kko+w47ZRfQhxkF21Zfh7BxRzZm2q6l4GssRa` \ No newline at end of file
+[Project page](/projects/zigvm) \ No newline at end of file
diff --git a/content/projects/index.md b/content/projects/index.md
new file mode 100644
index 0000000..c1e06a7
--- /dev/null
+++ b/content/projects/index.md
@@ -0,0 +1,6 @@
+---
+.title = "About",
+.author = "Martin Ashby",
+.date = @date("2024-03-01T23:59:52Z"),
+.layout = "list.html",
+---
diff --git a/content/projects/zigvm.md b/content/projects/zigvm.md
new file mode 100644
index 0000000..10ec494
--- /dev/null
+++ b/content/projects/zigvm.md
@@ -0,0 +1,31 @@
+---
+.title = "zigvm",
+.author = "Martin Ashby",
+.date = @date("2024-05-28T20:18:54+01:00"),
+.layout = "single.html",
+---
+
+A tool to download and manage versions of the [zig](https://ziglang.org/) compiler.
+
+## Why?
+
+* I got fed up of installing manually
+* I like to practice programming by writing small tools
+
+## Why not AUR/nix/apt/X?
+
+None of those were quite as convenient as what I wanted, they come with other baggage, and they don't always ship the latest bleeding-edge zig version.
+
+## How to use
+
+Run `zigvm` with no arguments to download the latest `master` version of zig and install/symlink in `~/.local.bin`. Run `zigvm -h` to see options.
+
+## Downloads
+
+* [Code](https://code.mfashby.net/zigvm/)
+* [aarch64-linux](https://dl.mfashby.net/zigvm/v0.2.0/aarch64-linux) [SHA256 checksum](https://dl.mfashby.net/zigvm/v0.2.0/aarch64-linux.sha256) [minisig](https://dl.mfashby.net/zigvm/v0.2.0/aarch64-linux.minisig)
+* [x86_64-linux](https://dl.mfashby.net/zigvm/v0.2.0/x86_64-linux) [SHA256 checksum](https://dl.mfashby.net/zigvm/v0.2.0/x86_64-linux.sha256) [minisig](https://dl.mfashby.net/zigvm/v0.2.0/x86_64-linux.minisig)
+
+Binaries are signed with [minisign](https://jedisct1.github.io/minisign/), public key `RWTsE4a/BXFWjmzxWB0Kko+w47ZRfQhxkF21Zfh7BxRzZm2q6l4GssRa`
+
+## Release notes \ No newline at end of file
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.
diff --git a/layouts/templates/main.html b/layouts/templates/main.html
index 5a4dd1f..5d99d63 100644
--- a/layouts/templates/main.html
+++ b/layouts/templates/main.html
@@ -13,6 +13,7 @@
<ul class="menu">
<li><a href="/posts">home</a></li>
<li><a href="/about">about</a></li>
+ <li><a href="/projects">projects</a></li>
<li><a href="/index.xml">rss</a></li>
</ul>
<hr/>