mkcast

[OBSOLETE - see readme] A tool for creating GIF screencasts of a terminal, with key presses overlaid.

  • 所有者: tckmn/mkcast
  • 平台:
  • 許可證: Other
  • 分類:
  • 主題:
  • 喜歡:
    0
      比較:

Github星跟蹤圖

OBSOLETE

mkcast is no longer being maintained (by me, at any rate). It's really just a bundle of hackiness and kludges, so I've essentially rewritten it from scratch: KeyboardFire/xscast.

xscast's goal is to be usable with any desktop environment. Instead of the buggy screenkey, it uses a dzen2 box to display keys. There are no external Python dependencies; it's written entirely in Bash. It can record any window, instead of relying on moving it to the bottom so that screenkey displays on top of it.

Basically, it's much better. Don't use mkcast.


mkcast

A tool for creating GIF screencasts of a terminal, with key presses overlaid.

Dependencies: wmctrl, byzanz-record (slightly patched screenkey already bundled). Only tested on GNOME on Ubuntu so far.

$ sudo apt-get install wmctrl byzanz

Quickstart

$ sudo make install
$ newcast  # opens and casts a new terminal window, finishes recording on exit

How to use

Suggested use: symlink mkcast and newcast in /usr/local/bin (or just run make install), and simply type (in GNOME) Alt+F2 newcast Enter for a quick mini-cast.

This even allows you to set up a gnome-terminal profile called "mkcast," letting you automatically start a command when it opens (such as vim) and finish when the command exits, customize the size or colors of the new terminal that is created, etc.

Usage: ./mkcast WINNAME DURATION [COMMAND (optional)]
Usage: ./newcast [MKCAST ARGS]

Examples:

# cast the window titled "Terminal" for 10 seconds
# (omitting -o will default to out.gif, also supports .webm and .ogg)
./mkcast Terminal 10 -o out.gif

# equivalent to the above, but creates a new terminal for you and finishes
# when the terminal exits instead of after a certain amount of time
./newcast

Why GIF?

I chose GIF because I designed this with the intent that the mini-screencasts be supplemented by text with the full list of keystrokes and an explanation of what's actually happening (specifically, I wrote this with the forthcoming Vim Stack Exchange site in mind).

However, it would be trivial to replace byzanz-record with recordmydesktop and output real video files. That would defeat the original purpose of being a "mini-screencast," though, since it couldn't be ex. easily embedded in ex. a blog post with no extra work for the reader.

What does the name mean?

The name has a double meaning: mini-key-cast, or make cast (like mkdir).

主要指標

概覽
名稱與所有者tckmn/mkcast
主編程語言Python
編程語言Makefile (語言數: 3)
平台
許可證Other
所有者活动
創建於2015-01-08 03:02:10
推送於2019-08-28 01:14:50
最后一次提交2015-12-19 15:59:02
發布數0
用户参与
星數3.1k
關注者數53
派生數47
提交數42
已啟用問題?
問題數18
打開的問題數8
拉請求數9
打開的拉請求數3
關閉的拉請求數3
项目设置
已啟用Wiki?
已存檔?
是復刻?
已鎖定?
是鏡像?
是私有?