asciinema-rec_script

Record 💭 comments and ❯ commands from from shell scripts in addition to their output. (by zechris)

Asciinema-rec_script Alternatives

Similar projects and alternatives to asciinema-rec_script based on common topics and language

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a better asciinema-rec_script alternative or higher similarity.

asciinema-rec_script reviews and mentions

Posts with mentions or reviews of asciinema-rec_script. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-02-09.
  • Show HN: AutoBashCraft – a tool for automated Markdown screencast generation
    2 projects | news.ycombinator.com | 9 Feb 2024
    Hello HN,

    Around New Year's I started a personal project called AutoBashCraft (ABC), aiming to simplify the creation of screencasts from bash code blocks in markdown files. I needed to create a lot of markdown files explaining workflows and code. I wanted to make the text-heavy files more interesting and thought of screencasts. There are many great tools to record terminal sessions. Then I found the asciinema-rec-script (https://github.com/zechris/asciinema-rec_script) by Chris Ottrey that creates screencasts of bash scripts that look like a record of a terminal session including typing out the commands. I wanted the markdown files to be the same documents you would use as training or documentation material so I picked HTML comments to mark the codeblocks that are supposed to be executed. It would then execute the commands and save the screencast next to the markdown file in an asset folder so they can be easily embedded just under the codeblock. I went on from there and more commands were added such as 'create' to create a file with the contents of the codeblock, 'browse' to create a screenshot of a website, 'spawn' to spawn a background process, 'snapshot' to create a docker container of the current environment state, 'init' to initialize a new environment e.g. from a snapshot created in another file and 'config' to change configuration for the following commands.

    ABC is very much a work-in-progress and a proof of concept at this stage. I am also thinking of adding an editor to create a similar experience to jupyter notebooks, with automatic snapshots between each command in dev mode. There is so much work left to be done but for now I am back at my day job. The repository includes some examples that also work as (currently manually executed tests) including more complex workflows like automating MBTiles generation and usage or integrating private GPT, showcasing what I hope it can become. Running it is as simple as using NPX, with Docker and Node.js being the only requirements. Please only run your code or code you trust (esp. with docker activated).

    I later realized it also serves as a validator for the accuracy of instructional content. It happens so often that training material is missing important steps and it is very frustrating for beginners to follow a guide step by step and it just won't work.

    I'd be incredibly grateful if you could take a moment to check it out on GitHub, give it a star if you find it interesting, and maybe even contribute or fork it.

    I'm looking forward to your feedback and suggestions. Let's make something great together!

    Links:

Stats

Basic asciinema-rec_script repo stats
1
25
1.5
about 1 year ago

zechris/asciinema-rec_script is an open source project licensed under GNU General Public License v3.0 only which is an OSI approved license.

The primary programming language of asciinema-rec_script is Shell.


Sponsored
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com