789 B
789 B
vnj
VN journal and post scheduling.
This thing is made in a couple of hours and its throwaway, so the code is real shit.
Use-cases
Main use-case is to keep what we post in the channel locally, so we could fill upcoming site with content faster, additionally helps with scheduling.
Development & Deployment
Wanna contribute? There's flake.nix
file to set up development environment:
$ nix develop
Wanna deploy yourself? I made the nixos module for that:
let
mkCfg = port: {
app = {
secret.path = "path/to/secret";
journal = "path/to/journal";
};
http = {
listen = "0.0.0.0:${port}"
};
};
in
{
services.vnj = {
enable = true;
instances.en = mkCfg 8081;
instances.ru = mkCfg 8082;
};
}
Enjoy.