diff options
| -rw-r--r-- | README.md | 1 | ||||
| -rw-r--r-- | doc/asciinema/README.md | 41 |
2 files changed, 0 insertions, 42 deletions
@@ -34,4 +34,3 @@ Credits * Thank you [Mimecast](https://www.mimecast.com) for supporting this Open-Source project. * Thank you to **Vlad-Marian Marian** for creating the DTail (dog) logo. * The Gopher was generated at https://gopherize.me -* The animated Gifs were created using `asciinema` with `asciicast2gif`. Check out [how this was done](./doc/asciinema/README.md) for more information. diff --git a/doc/asciinema/README.md b/doc/asciinema/README.md deleted file mode 100644 index 1eb1a2e..0000000 --- a/doc/asciinema/README.md +++ /dev/null @@ -1,41 +0,0 @@ -asciinema -========= - -The animated Gifs you find in the DTail docs were created using: - -* [asciinema](https://asciinema.org) -* [asciicast2gif](https://github.com/asciinema/asciicast2gif) - -On Fedora Linux 35. - -## Installing prerequisites - -On Fedora Linux 35 install `asciinema`: - -```shell -% sudo dnf install -y asciinema -``` - -and `asciicast2gif` (for simplicity, the Docker image was used): - -```shell -% docker pull asciinema/asciicast2gif -``` - -This of course assumes that Docker is up and running on your machine (out of scope for this documentation). - -## Record a shell session - -This is as simple as running - -```shell -% asciinema rec recording.json -``` - -This will launch a sub-shell to be recorded. Once done, exit the sub-shell with `exit`. - -## Convert the recording to a gif - -```shell -% docker run --rm -v $PWD:/data asciinema/asciicast2gif -t tango -s 2 recording.json recording.gif -``` |
