asciinema-rec_script
termv
asciinema-rec_script | termv | |
---|---|---|
1 | 3 | |
25 | 218 | |
- | - | |
1.5 | 2.7 | |
about 1 year ago | 7 months ago | |
Shell | Shell | |
GNU General Public License v3.0 only | GNU General Public License v3.0 only |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
asciinema-rec_script
-
Show HN: AutoBashCraft – a tool for automated Markdown screencast generation
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:
termv
What are some alternatives?
Autoenv - Directory-based environments.
RoonCommandLine - The Roon Command Line project provides Bash and Python scripts to enable command line control of the Roon audio system over a local network.
batfetch - BatFetch is a command-line tool that displays detailed information about the battery of your device in a clean and organized way.
movieinfo - Get movie info in the terminal
pokeshell - A featureful shell program to show pokemon sprites in the terminal.
monero-bash - a wrapper for Monero written in Bash
ytmp - a shell script for searching, playing, downloading, and keeping track of music from youtube and local files with extensive queue management using fzf, vim, or cli
owt - Update Version 3.1 added free SMS messaging.
lobster - mmm lobster
bibu - A Bitbucket command line client written in bash
webhost-setup - Simple makefile scripts to set up a linux server with a webhost (nginx)
linuxscripts - Script collection for linux