https://github.com/securisec/asciinema
Fork from asciinema golang branch and modified to be a library
https://github.com/securisec/asciinema
Last synced: about 1 year ago
JSON representation
Fork from asciinema golang branch and modified to be a library
- Host: GitHub
- URL: https://github.com/securisec/asciinema
- Owner: securisec
- License: gpl-3.0
- Created: 2021-08-25T23:34:52.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2021-09-02T04:43:20.000Z (almost 5 years ago)
- Last Synced: 2025-05-28T14:03:10.196Z (about 1 year ago)
- Language: Go
- Size: 64.5 KB
- Stars: 8
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# asciinema
**This is not a complete project** This repo is a fork of the [asciinema](https://github.com/asciinema/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
```sh
go get -u github.com/securisec/asciinema # for v1 asciinema format
go get -u github.com/securisec/asciinema/v2 # for v2 asciinema format
```
```go
package main
import "github.com/securisec/asciinema"
func main() {
cli := asciinema.New()
cast, err := cli.Rec()
...
}
```