Another take on source code timelaps videos: gitvid

7 comments · 63% upvoted · source · other discussions

comments

defnull [OP]

Gitvid is a new tool to visualize source code history. Based on this idea, but written from scratch and with some additional features.

The tool is brand new and feedback/contributions are welcomed. Have fun :)

Parameters for the video above: --fast --fps 15 --style default

I'm currently rendering a detailed version of the same git history (without --fast), but it might take a couple of hours to render 900+ commits.

drummyfish

This is super awesome, exactly what I had in mind with my request. Thanks you very much for taking time to make it. I hope this project will grow and add more options over time.

daveydave400

I could not get this to run. I kept getting:

(1/12) 5306cbc2 <msg>
fatal: Path '__init__.py' exists on disk, but not in 'bf93384fd8976bedb2daa45431b23708ffe6e75d'.
...
subprocess.CalledProcessError: Command '('git', 'show', 'bf93384fd8976bedb2daa45431b23708ffe6e75d:__init__.py')' returned non-zero exit status 128

Because the file I was mentioning to follow didn't always exist in the repository (I think).

defnull [OP]

Strange, I can't reproduce this. Will look into it tomorrow.

daveydave400

I think I've got it, I was specifying an absolute path for PATH, but I guess it is relative.

0x256

Ahh okay! Yes it has to be relative to the git repository path.

daveydave400

FYI it was with Anaconda Python 3.4 on a Mac. I also didn't do any extra work to install dependencies that I didn't already have, but I figured it would have yelled at me when it got to the point that it needed them instead of this git error. I'll try with bottle tomorrow.