You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
i was having a look at the NixOS website, when i stumbled upon their tutorials...
they definitely use asciinema to record these (see the .cast files in the HTML source and the asciinema in the page anchors)
the thing is they achieve a gorgious effect in their tutorials
all the characters are typed perfectly, without any hesitation 😮
there are two options i think 🤔
the person recording these tutorials is amazing
they use a feature of asciinema i do not know about or a script to record these
👉 how is it possible to achieve this effect? 😋
i did not see anything in the --help of asciinema 😕
an idea of how that could be achieved
is it possible to write a "script" and let asciinema run it automatically?
for instance, the video above could be coded as
# Hi!# Wondering how to start using Nix?# Here are a few examples:
clear
$ node -e "console.log(1+1)"
# Interesting, no node on this machine
...
where the lines starting with # will be comments in the recording, $ will be commands typed by the "user" and clear is the special command clearing the screen.
This discussion was converted from issue #81 on April 25, 2023 10:36.
Heading
Bold
Italic
Quote
Code
Link
Numbered list
Unordered list
Task list
Attach files
Mention
Reference
Menu
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
hello there 👋
i was having a look at the NixOS website, when i stumbled upon their tutorials...
they definitely use
asciinema
to record these (see the.cast
files in the HTML source and theasciinema
in the page anchors)the thing is they achieve a gorgious effect in their tutorials
all the characters are typed perfectly, without any hesitation 😮
there are two options i think 🤔
asciinema
i do not know about or a script to record these👉 how is it possible to achieve this effect? 😋
i did not see anything in the
--help
ofasciinema
😕an idea of how that could be achieved
is it possible to write a "script" and let
asciinema
run it automatically?for instance, the video above could be coded as
where the lines starting with
#
will be comments in the recording,$
will be commands typed by the "user" andclear
is the special command clearing the screen.Beta Was this translation helpful? Give feedback.
All reactions