Coder Social home page Coder Social logo

autoscreencast's Introduction

Autoscreencast

This utility is meant to enable easier recording of screencasts. It interprets a markdown file to send commands to a window that is being recorded.

Requirements

  • ffmpeg
  • asciinema
  • screenkey
  • xdotool

Usage

  1. Open two terminal windows, one is the target and the other is the script
  2. Run record_screencast in the script terminal in a directory with a properly formatted markdown script. Default name is <dirname>.md
  3. Wait for recording to finish

Examples

README.md

This README is properly formatted to run this example directly.

  1. Open two terminals, the script window should be in this repo
  2. Run record_screencast -y -s README.md
  3. Select the record terminal when prompted

You should see the following commands entered in the terminal

command echo "Hello"

We can also send individual keypresses

key e c h b space quotedbl H e l l o quotedbl

Whoops, we misspelled echo as echb. Let's go back and fix it

key Left Left Left Left Left Left Left Left
key BackSpace o Return

We may also be in a position where we need to sleep so a command can complete.

command echo -n "Hello " && sleep 1 && echo "World"
sleep 1.5
command echo "Finished"

We can also send control key sequences

command echo -n "Hello " && sleep 100 && echo "World"
sleep 1.5
key ctrl+c

autoscreencast's People

Contributors

arrowbox avatar fuero avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

yule1988 fuero

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.