Skip to main content

Because sometimes you need to do it live.

Project description

https://badge.fury.io/py/doitlive.png https://travis-ci.org/sloria/doitlive.png?branch=master

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

MacOSX with Homebrew:

$ brew update
$ brew install doitlive

With pip:

$ pip install doitlive

Requires Python >= 2.7 or >= 3.3 with pip.

Quickstart

  1. Create a file called session.sh. Fill it with bash commands.

  2. Run doitlive play session.sh.

$ doitlive play session.sh
  1. Type like a madman.

More at http://doitlive.rtfd.org

Kudos

License

MIT licensed. See the bundled LICENSE file for more details.

Changelog

2.3.1 (2015-02-08)

  • Fix bug that showed the incorrect prompt on the last slide if the theme was set using the #doitlive prompt: directive.

2.3.0 (2014-11-16)

  • Add support for displaying Mercurial VCS info (current branch, bookmark)

  • Add commentecho CLI option and magic comment.

  • Add --quiet CLI option for suppressing the startup message.

2.2.1 (2014-08-02)

  • Fix display of git branches on Python 3 (don’t show b prefix).

2.2.0 (2014-07-13)

  • Add {TTY} prompt variable that contains named constants for ANSI escape sequences.

  • Add “giddie” theme.

  • Add help/H command to the recorder console.

2.1.0 (2014-06-25)

  • Python mode: Fenced code blocks can be played back in a fake Python console.

  • Added ability to preview and undo commands during a recorder session.

  • Current datetime ({now}) can be included in prompt.

  • Added ‘pws’ theme.

  • Added --envvar and --alias options to record command.

  • Added unalias and unset comment directives.

2.0 (2014-06-21)

  • Added session recorder (doitlive record).

  • Improved interface.

  • Sessions are played with doitlive play <session_file>.

  • Deprecated doitlive-demo. Run doitlive demo instead.

  • Deprecated doitlive --themes and doitlive --themes-preview. Run doitlive themes and doitlive themes --preview instead.

  • Fix bug that raised an error when cd’ing into a non-existent directory.

  • Remove extra spacing in prompt when not in a git directory.

  • Added ‘robbyrussell’ theme.

1.0 (2014-06-18)

  • Added themes!

  • Prompt variables can have ANSI colors and styles.

  • {hostname} can be included in prompt.

  • {git_branch} can be included in prompt.

  • Prompt variable {full_cwd} renamed to {cwd}.

  • Prompt variable {cwd} renamed to {dir}.

  • Short option for --speed is now -s.

  • Short option for --shell is now -S.

  • Changed default prompt.

  • run and magictype receive prompt_template instead of a prompt function.

  • Remove unnecessary PromptState class.

0.2.0 (2014-06-16)

  • Add “speed” config option.

  • Fix short option for “–shell”.

  • Custom prompts are colored.

  • Remove unnecessary –check-output option, which was only used for testing.

  • Fix bug where cwd would not update in custom prompts.

0.1.0 (2014-06-15)

  • Initial release.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

doitlive-2.3.1.tar.gz (14.5 kB view details)

Uploaded Source

File details

Details for the file doitlive-2.3.1.tar.gz.

File metadata

  • Download URL: doitlive-2.3.1.tar.gz
  • Upload date:
  • Size: 14.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for doitlive-2.3.1.tar.gz
Algorithm Hash digest
SHA256 ab1e5965910be74bd56beb71d533ea1f4ae84b807271ca1605607834163b6e24
MD5 c80f19a4398ba023e4a0378711e9d7bd
BLAKE2b-256 893e2ee23ebc9c218a4948d816ecb2541f6899997a1e673fb6a419ad9bb26438

See more details on using hashes here.

Provenance

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page