![]() What is AsciinemaĪsciinema is a free and open source solution for recording terminal sessions and sharing them on the web. ![]() There are many utilities available in Linux to record the terminal session activity.Īlso, we had written about few utilities in the past.If you would like to check other utilities to record your Linux terminal session activity then you can give a try toīut if you are looking for GIF Recorder then try Gifine, Kgif and Peek utilities. Other tools work locally but Asciinema works in both way like local and web.I mean we can share the recording on the web.īy default everyone prefer history command to review/recall the previously entered commands in terminal.īut unfortunately, that shows only the commands that we ran and doesn’t shows the commands output which was performed previously. See LICENSE file for details.This is known topic and we had already written many article similar to this topic. If you want to contribute to this project check outĭeveloped with passion by Marcin Kulik and great openĪll code is licensed under the Apache License, Version 2.0. dist/bundle/asciinema-player.css - stylesheet, to be linked directly from a website or included in a CSS bundle.dist/bundle/ - minimized version of the above.dist/bundle/asciinema-player.js - standalone player script, to be linked directly from a website.dist/index.js - ES module, to be import-ed in your JS bundle.90%ĭevelopment and build related tasks so make sure you have the latest versions ← / → - rewind 5 seconds / fast-forward 5 seconds.The following keyboard shortcuts are currently available (when the player This option is effective only when fit: false option is specified as well If you're upgrading from v2 to v3 and want to preserve the sizingīehaviour then include fit: false option. Version 2.x of the player supported only the behaviour represented by theįalse value. false / "none" - don't scale, use fixed size font (also see fontSize option below)."both" - scale to either full width or height, maximizing usage of available space (requires the container element to have fixed height)."height" - scale to full height of the container (requires the container element to have fixed height)."width" - scale to full width of the container.getElementById ( 'demo' ) ) ĭefaults to blank terminal or, when startAt is specified, to screen contentsĬontrols the player's fitting (sizing) behaviour inside its container element. Then add necessary includes to your HTML document and initialize the playerĪsciinemaPlayer. The HTML snippet below assumes they're in Only need and asciinema-player.css files.įirst, add, asciinema-player.cssand the. Use the standalone player bundle in your HTML pageĭownload latest version of the player bundle from downloading an existing recording from by appending.recording terminal session to a local file with asciinema rec demo.cast.It assumes you have obtained terminal session recording file by either: The following examples show how to use asciinema player on your own website, full support for 256 color palette and 24-bit true color (ISO-8613-3),.multiple color schemes for standard 16 colors,.idle time optimization to skip longer periods of inactivity,.automatic font scaling to fit into container element in most efficient way,.ultra smooth, timing-accurate playback,.ability to copy-paste terminal content - it's just a text after all!,.If you don't want to depend on and you prefer to host the playerĪnd the recordings yourself then read on, it's very simple. With most widely used terminal emulators like xterm, Gnome Terminal, iTerm etc. Williams' parser for ANSI-compatible video webm etc) and instead plays light-weightĪsciicast is a capture of terminal's raw output, which has to be interpretedĭuring the playback, so the player comes with its own interpreter based on Paul Unlike other video players asciinema player doesn't play Web player for terminal session recordings (as producedĪsciinema player is an open-source terminal session player written in ![]() See the version for the latest stable release here. Note: This README applies to development branch.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |