Skip to content

Instantly share code, notes, and snippets.

@camilonova
Created December 22, 2023 16:35
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save camilonova/824c53d587f71af44f399e84e826465f to your computer and use it in GitHub Desktop.
Save camilonova/824c53d587f71af44f399e84e826465f to your computer and use it in GitHub Desktop.
How I created a year in review of all the code we built
# clone the repo and make sure is updated, then create the log file:
gource --start-date "2023-01-01" --output-custom-log homeburgers-website.txt homeburgers-website/
# add a prefix so you can use different projects on the same video
sed -i -E -r "s#(.+)\|#\1|/homeburgers-website#" homeburgers-website.txt
# remove those extra files created on macOS (the `sed` command before shouldn't need `-E` but in this case was needed):
rm *.txt-E
# combine all the log files into a sorted combined file
cat *.txt | sort -n > combined.txt
# use the combined file to create the video
gource combined.txt --title "Building at Axiacore in 2023" --auto-skip-seconds 1 --seconds-per-day 0.8 --disable-progress --stop-at-end --highlight-users --hide filenames --user-scale 1.6 --fullscreen --high-dpi
# I used orb to record the screen and then published the video on youtube.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment