This project started because I wanted to learn Zig.
And what is the better way of learning zig than to build something to interact with low-level Linux stuff?
So I am mixing it all to learn more about systemd, Linux and programming in low level language ^^
All you need to do is clone this repo and run:
zig build run- Journald logs reading
- Units management with systemd
- Resources monitor
- Processes management
- User management
- Writing to STDIO of selected process! (If it's possible lol)
-
Filesystem access - Minimal HTTP proxy (to proxy Caddy admin for example)
- Docker???
- systemctl enable, disable
- systemctl daemon-reload
- custom dispatcher for http.zig to handle errors like
err.UnexpectedTokenif JSON type is invalid and give some meaningful error description. -
/v1/systemd/manager -
/v1/systemd/journal - system resources
- process list, hell yeah, let's get to /proc
- unification of api errors, need to make it right.
- systemctl start transient
- advanced journal filtering
- live journal with websockets
AGPLv3