Vim keystroke timelapse generator
git clone
Log | Files | Refs | README


Name Last commit date Author
master2018-12-06 05:01:34 +0000mitxela

File Tree (HEAD)

Name Size


* 16d400a (HEAD -> master) mitxela 2018-12-06 03:40 Initial commit

Contents of


Reads through a git repo and turns each commit into a series of vim keystrokes. The result is a pseudo-timelapse which almost looks like it's being typed out by a real person. Results vary depending on how frequent the commits were. It's also still only doing linewise diffs, so even a single byte change means the whole line is re-typed.

Only works on a single file. If the repo has multiple files being changed in it, you will probably need to alter this script to filter out the one you want. It is a good idea to rebase any merge commits so that the history reads as if it was written by a single author.

pip install git whatthepatch keyboard reads the git history and outputs the patches as a list of tuples representing changes. E.g. python > allpatches.txt reads the patches file and turns it into keystrokes. Run the script and then focus on a new terminal window. Hold esc to abort.

These scripts were used to produce this video.