doitlive

Because sometimes you need to do it live

Github星跟蹤圖

========
doitlive

.. image:: https://badgen.net/homebrew/v/doitlive
:alt: homebrew badge
:target: https://github.com/Homebrew/homebrew-core/blob/master/Formula/doitlive.rb

.. image:: https://badgen.net/pypi/v/doitlive
:alt: pypi badge
:target: https://pypi.org/project/doitlive/

.. image:: https://badgen.net/travis/sloria/doitlive
:alt: travis-ci status
:target: https://travis-ci.org/sloria/doitlive

.. image:: https://badgen.net/badge/code%20style/black/000
:target: https://github.com/ambv/black
:alt: Code style: Black

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.

.. image:: https://user-images.githubusercontent.com/2379650/31386572-2e2b9d14-ad95-11e7-9be5-fcc5ed09f0e8.gif
:alt: Demo
:target: http://doitlive.readthedocs.io

Get it now

macOS with Homebrew <http://brew.sh/>_:


.. code-block:: console

$ brew update
$ brew install doitlive

With pip:


.. code-block:: console

$ pip install doitlive

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

Quickstart

  1. Create a file called session.sh. Fill it with bash commands.
  2. Run doitlive play session.sh.

.. code-block:: console

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

More at https://doitlive.readthedocs.io

Kudos

  • Idea came from Jordi Hermoso's "Revsets" talk <https://www.youtube.com/watch?list=PLLj6w0Thbv02lEXIDVO46kotA_tv_8_us&feature=player_detailpage&v=NSLvERZQSok#t=978>_ at PyCon 2014.
  • Armin Ronacher's click <http://click.pocoo.org/>_ library made this quick to implement.
  • Themes inspired by Sorin Ionescu's prezto <https://github.com/sorin-ionescu/prezto>_ zsh themes.
  • Hat tip to related projects HackerTyper <http://hackertyper.com/>_ and PlayerPiano <http://i.wearpants.org/blog/playerpiano-amaze-your-friends/>_

License

MIT licensed. See the bundled LICENSE <https://github.com/sloria/doitlive/blob/master/LICENSE>_ file for more details.

主要指標

概覽
名稱與所有者sloria/doitlive
主編程語言Python
編程語言Python (語言數: 2)
平台
許可證MIT License
所有者活动
創建於2014-06-16 02:39:29
推送於2025-06-02 20:01:49
最后一次提交
發布數26
最新版本名稱5.1.0 (發布於 )
第一版名稱1.0 (發布於 )
用户参与
星數3.5k
關注者數38
派生數101
提交數514
已啟用問題?
問題數49
打開的問題數10
拉請求數208
打開的拉請求數5
關閉的拉請求數46
项目设置
已啟用Wiki?
已存檔?
是復刻?
已鎖定?
是鏡像?
是私有?