VN Journal and post scheduling
Find a file
2024-11-17 18:43:15 +03:00
bin Initial commit 2024-11-17 18:43:15 +03:00
src Initial commit 2024-11-17 18:43:15 +03:00
.gitignore Initial commit 2024-11-17 18:43:15 +03:00
Cargo.lock Initial commit 2024-11-17 18:43:15 +03:00
Cargo.toml Initial commit 2024-11-17 18:43:15 +03:00
config.toml Initial commit 2024-11-17 18:43:15 +03:00
flake.lock Initial commit 2024-11-17 18:43:15 +03:00
flake.nix Initial commit 2024-11-17 18:43:15 +03:00
README.md Initial commit 2024-11-17 18:43:15 +03:00

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.