183
GitHub - sloria/doitlive: Because sometimes you need to do it live
source link: https://github.com/sloria/doitlive
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
doitlive
doitlive is a tool for live presentations in the terminal. It reads a file of shell commands and replays the commands in a fake terminal session as you type random characters.
Get it now
macOS with Homebrew:
$ brew update
$ brew install doitlive
With pip:
$ pip install doitlive
Requires Python >= 2.7 or >= 3.5 with pip.
Quickstart
- Create a file called
session.sh
. Fill it with bash commands. - Run
doitlive play session.sh
.
$ doitlive play session.sh
- Type like a madman.
More at https://doitlive.readthedocs.io
Project Links
Kudos
- Idea came from Jordi Hermoso's "Revsets" talk at PyCon 2014.
- Armin Ronacher's click library made this quick to implement.
- Themes inspired by Sorin Ionescu's prezto zsh themes.
- Hat tip to related projects HackerTyper and PlayerPiano
License
MIT licensed. See the bundled LICENSE file for more details.
Recommend
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK