No description
  • Zig 97.2%
  • Nix 2.8%
Find a file
Martin Larsson 2b142b4204 clean up .env
2026-06-02 12:43:37 +02:00
src add tests and fix bunch of edge cases and make tool usable 2026-06-02 12:40:51 +02:00
testing wip: setup http post handling with images and markdown texts 2026-06-02 12:35:23 +02:00
.env clean up .env 2026-06-02 12:43:37 +02:00
.gitignore feat: add Session.vim to .gitignore 2026-05-17 12:30:03 +02:00
build.zig feat: add initial zig project 2026-05-17 11:45:53 +02:00
build.zig.zon feat: add initial zig project 2026-05-17 11:45:53 +02:00
build.zig.zon2json-lock feat: add intial nix flake 2026-05-17 11:45:53 +02:00
flake.lock feat: add intial nix flake 2026-05-17 11:45:53 +02:00
flake.nix chore: remove redundant apps in nix flake 2026-05-17 16:36:21 +02:00
README.md add README.md 2026-06-02 12:43:35 +02:00

blogpush

Tool that publishes blog posts from a local directory to a remote API. Made for my business-website.

Usage

blogpush <post-dir> <tags>
  • post-dir: directory containing exactly one .md file and any number of images (.png, .jpg, .jpeg, .avif, .webp)
  • tags: comma-separated lowercase words, e.g. zig,programming (empty string is valid)

Config

.env config:

AUTH=<api key>
ENDPOINT_IMGS=<image upload url>
ENDPOINT_POSTS=<post creation url>