No description
- Zig 97.2%
- Nix 2.8%
| src | ||
| testing | ||
| .env | ||
| .gitignore | ||
| build.zig | ||
| build.zig.zon | ||
| build.zig.zon2json-lock | ||
| flake.lock | ||
| flake.nix | ||
| README.md | ||
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.mdfile 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>