Skip to content

Tanner/Time-Machine

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 

Repository files navigation

Time Machine

Time Machine is a neat way to visualize the development of a web projected tracked with git.

Requires phantomJS and ruby.

Arguments

All of the arguments are required.

$ ruby time_machine.rb --help
Options:
       --dir, -d <s>:   Git Directory
      --file, -f <s>:   File
  --save-dir, -s <s>:   Directory where to save images
          --help, -h:   Show this message

Example Execution

If the project git directory is at ~/Development/Kitty and the file you're interested in is index.html (in the root dir of the project directory), then the command will be:

ruby time_machine.rb --dir ~/Development/Kitty --file index.html --save-dir ~/Desktop/Pictures/

Pictures will be saved at ~/Desktop/Pictures/.

Making a Video

Time Machine does not yet support making a video, but to do so just use ffmpeg to do so.

ffmpeg -f image2 -i %d.png -r 25 -sameq video.mpg

Examples

About

Time Machine is a neat way to visualize the development of a web projected tracked with git.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published