Skip to content

Instantly share code, notes, and snippets.

@timshadel
Created February 11, 2011 18:50
Show Gist options
  • Save timshadel/822810 to your computer and use it in GitHub Desktop.
Save timshadel/822810 to your computer and use it in GitHub Desktop.
Create a Gource visualization of the Rails codebase as it crosses into GitHub land...
# On a Mac
# brew install gource (http://code.google.com/p/gource/)
# brew install ffmpeg
# git clone https://github.com/rails/rails.git
# In the rails code directory, run this to see the same visualization
gource --hide bloom,files,filenames,dirnames --auto-skip-seconds 0.3 --seconds-per-day 0.003 --date-format "%B %Y" --start-position 0.2 --stop-position 0.45 --file-idle-time 10 --stop-at-end -1024x768
# Or do this to save it to a reusable video:
gource --hide bloom,files,filenames,dirnames --auto-skip-seconds 0.3 --seconds-per-day 0.003 --date-format "%B %Y" --start-position 0.2 --stop-position 0.45 --file-idle-time 10 --stop-at-end -1024x768 -o - | ffmpeg -y -b 3000K -r 60 -f image2pipe -vcodec ppm -i - -vcodec libx264 -vpre slow -threads 0 rails-on-github.mp4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment