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?
已存档?
是复刻?
已锁定?
是镜像?
是私有?