https://github.com/asciinema/ttyrec2asciicast
ttyrec to asciicast converter
https://github.com/asciinema/ttyrec2asciicast
Last synced: about 2 months ago
JSON representation
ttyrec to asciicast converter
- Host: GitHub
- URL: https://github.com/asciinema/ttyrec2asciicast
- Owner: asciinema
- License: apache-2.0
- Created: 2018-03-03T21:50:17.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2018-03-03T22:04:35.000Z (over 7 years ago)
- Last Synced: 2025-03-29T05:34:43.012Z (2 months ago)
- Language: Python
- Size: 4.88 KB
- Stars: 5
- Watchers: 2
- Forks: 7
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# ttyrec2asciicast
Simple script for converting ttyrec recordings into asciinema's [asciicast
format](https://github.com/asciinema/asciinema/blob/develop/doc/asciicast-v2.md).It uses [asciicast v2
writer](https://github.com/asciinema/asciinema/blob/develop/asciinema/asciicast/v2.py)
for generating the asciicast file.Until the supporting code from asciinema repo gets released to PyPI it has to be
pulled and added to `PYTHONPATH`:git clone https://github.com/asciinema/asciinema.git /path/to/asciinema
export PYTHONPATH=/path/to/asciinemaThen download or clone this script:
git clone https://github.com/asciinema/ttyrec2asciicast.git /path/to/ttyrec2asciicast
And run it like this:
python3 /path/to/ttyrec2asciicast/ttyrec2asciicast.py input.ttyrec output.cast