Lightweight shell library for smooth, interactive demos using terminal.
APACHE-2.0 License
The main goal of this small lib is to enable clear, reproducible, scripted and structured live demo presentations, without sacrificing the flexibility.
Why flexibility matters? It is almost always the case that you need to adjust the presentation on the fly, e.g:
You can find a video of the live demos I performed using this handy tool at FOSDEM 2019 here & recent GrafanaCon2019 talk here
enter
.p
.n
.b
.e
.q
or Ctrl+C
.I am asking this question myself everyday as well (: It's ugly, and it does not work on every platform. But it is quick to adjust and iterate. Also, natively you run the commands in terminal anyway so that's why - no need for yet another DSL. Python might be a better fit?
Note that I am not a bash magician, so happy to take contributions to improve this lib - as long as functionality stays the same.
demo-nav.sh
in your bash script: . demo-nav.sh
r
or rc
to register commands.navigate
at the very end.See full example demo script with docs
This was initially inspired by https://github.com/paxtonhare/demo-magic, so kudos to @paxtonhare