robin/maivi

a tiny cute lua web framework

git clone https://git.robinwobin.dev/robin/maivi

robininstalling: use zig `--prefix`1784eba

push-srxvuswpkqxx
826 B35 linesraw

maivi can be build from source with zig.

git clone --depth 1 https://codeberg.org/comfysage/maivi
cd maivi
zig build install -Druntime -Dmd4c --release=fast --prefix $HOME/.local
dependencies

maivi depends on md4c. this library is used for markdown support and is available with most package managers. if you dont care about markdown support, you can build without md4c by dropping the -Dmd4c argument to the builder.

nix flake

maivi can easily be installed with nix.

# flake.nix
{
  inputs.nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
  inputs.maivi = {
    url = "git+https://codeberg.org/comfysage/maivi";
    inputs.nixpkgs.follows = "nixpkgs";
  };
}

# home/packages.nix
{inputs,pkgs,...}: {
  home.packages = [
    inputs.maivi.packages.${pkgs.system}.default
  ];
}
1maivi can be build from source with zig.
2
3```bash
4git clone --depth 1 https://codeberg.org/comfysage/maivi
5cd maivi
6zig build install -Druntime -Dmd4c --release=fast --prefix $HOME/.local
7```
8
9###### dependencies
10
11maivi depends on `md4c`. this library is used for markdown support and is
12available with most package managers. if you dont care about markdown support,
13you can build without md4c by dropping the `-Dmd4c` argument to the builder.
14
15### nix flake
16
17maivi can easily be installed with nix.
18
19```nix
20# flake.nix
21{
22  inputs.nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
23  inputs.maivi = {
24    url = "git+https://codeberg.org/comfysage/maivi";
25    inputs.nixpkgs.follows = "nixpkgs";
26  };
27}
28
29# home/packages.nix
30{inputs,pkgs,...}: {
31  home.packages = [
32    inputs.maivi.packages.${pkgs.system}.default
33  ];
34}
35```