Skip to content

Latest commit

 

History

History
27 lines (21 loc) · 791 Bytes

README.md

File metadata and controls

27 lines (21 loc) · 791 Bytes

asciinema

This is not a complete project This repo is a fork of the asciinema repo under the golang branch. It has been refactored a bit so that it can be used as a lib. As the originating branch is quite old, this lib will be behind some of the latest features and improvements that has been made to asciinema overall.

Implemented

  • Record
  • Play

The for was made to use with a local project, and all PR's are welcome.

Usage

Install

go get -u github.com/securisec/asciinema # for v1 asciinema format
go get -u github.com/securisec/asciinema/v2 # for v2 asciinema format
package main

import "github.com/securisec/asciinema"

func main() {
    cli := asciinema.New()
    cast, err := cli.Rec()
    ...
}