An SMTP client and server library for Zig implementing RFC 5321.
0

Configure Feed

Select the types of activity you want to include in your feed.

Add Tangled mirror and finish the move to git.jcollie.dev

The repository now has a mirror at https://tangled.org/jcollie.dev/zsmtp,
pushed to the `tangled` remote on knot.jcollie.dev.

A "Where this lives" section in the README names both homes, gives the
https clone URL (which works without an account on the server), and links
the published API documentation, which nothing pointed at before.

The rest is the host move: `origin`, the package's `meta.homepage`, and
the docs publish job, which now publishes to jeff.jcollie.page via the
jcollie.page server. Both names resolve, so the job will not fail at the
publish step.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01SDrB41sGu5k1ubD1ufbxqC

+17 -2
+15
README.md
··· 11 11 pairs, so they are transport-agnostic: wrap a TCP stream for real use, or 12 12 fixed in-memory buffers in tests. Requires Zig 0.16. 13 13 14 + ## Where this lives 15 + 16 + The canonical repository is on Forgejo, with a mirror on Tangled: 17 + 18 + - <https://git.jcollie.dev/jeff/zsmtp> 19 + - <https://tangled.org/jcollie.dev/zsmtp> 20 + 21 + ```sh 22 + git clone https://git.jcollie.dev/jeff/zsmtp.git 23 + ``` 24 + 25 + The API documentation is generated from the doc comments and published at 26 + <https://jeff.jcollie.page/zsmtp/>; `zig build docs` builds it locally and 27 + `zig build docs-serve` serves it for reading. 28 + 14 29 ## Client 15 30 16 31 ```zig
+1 -1
package.nix
··· 58 58 SMTPUTF8 extensions. A small demo CLI for sending and receiving is 59 59 included. 60 60 ''; 61 - homepage = "https://git.ocjtech.us/jeff/zsmtp"; 61 + homepage = "https://git.jcollie.dev/jeff/zsmtp"; 62 62 license = lib.licenses.mit; 63 63 mainProgram = "zsmtp"; 64 64 platforms = lib.platforms.unix;
+1 -1
.forgejo/workflows/publish.yaml
··· 21 21 run: nix develop -c zig build docs --system "$(nix build --print-out-paths .#zig-deps)" 22 22 23 23 - name: Publish docs 24 - run: nix develop -c git-pages-cli https://jeff.ocj.page/zsmtp/ --server ocj.page --token ${{ forge.token }} --upload-dir zig-out/docs 24 + run: nix develop -c git-pages-cli https://jeff.jcollie.page/zsmtp/ --server jcollie.page --token ${{ forge.token }} --upload-dir zig-out/docs