Skip to main content

Because sometimes you need to do it live.

Project description

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

$ pip install doitlive

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

Usage

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

  2. Run doitlive session.sh

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

For more options, run:

$ doitlive --help

More at http://doitlive.rtfd.org

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.

License

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

Changelog

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-1.0.tar.gz (7.3 kB view details)

Uploaded Source

File details

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

File metadata

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

File hashes

Hashes for doitlive-1.0.tar.gz
Algorithm Hash digest
SHA256 a6aa1021fb6b109f0f82e86436f9141704cd71e658cc9cbf8f689139fda684e9
MD5 bdbe5a422c2b57e927bf2c6614794a23
BLAKE2b-256 18728bdcdc7af0586d7072580d2d5c7e3f0626702e4caf6da98c1f3b49d05534

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