Skip to content

agg is a command-line tool for generating animated GIF files from asciicast v2 files produced by asciinema terminal recorder.

Notifications You must be signed in to change notification settings

a-h/nix-asciinema-agg

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Flake for agg

Running - locally

If you've downloaded this code, you can run this by using nix shell in the current directory.

nix shell

Running - remotely

If you haven't got the flake on disk, you can use it remotely like this.

nix shell github:a-h/nix-asciinema-agg

Using the flake

If you want to use this flake, but add your own stuff to the shell, you can create your own flake that imports this one.

See _example/flake.nix.

{
  inputs = {
    agg.url = github:a-h/nix-asciinema-agg;
    # For local development, use this instead.
    #agg.url = "path:../";
    flake-utils.url = "github:numtide/flake-utils";
    flake-utils.inputs.nixpkgs.follows = "nixpkgs";
  };

  outputs = { self, nixpkgs, agg, flake-utils }:
    flake-utils.lib.eachDefaultSystem (system:
      let
          pkgs = import nixpkgs {
            system = system;
          };
      in
      {
        # Access this by `nix shell`
        defaultPackage = agg.outputs.packages.${system};
        # Access this via `nix develop`
        devShell = pkgs.mkShell {
          packages = [
            agg.outputs.packages.${system}
            pkgs.cowsay
          ];
        };
      }
    );
}

About

agg is a command-line tool for generating animated GIF files from asciicast v2 files produced by asciinema terminal recorder.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages