Giter Site home page Giter Site logo

internal-apps-visualization's Introduction

Internal Applications Visualizations

This project is intended to capture the means for producing Gource videos of the projects that Internal Applications manages.

Requirements

  1. A reasonable shell with sed, cat, sort, grep, and curl.
  2. git
  3. Gource
  4. ffmpeg
  5. jq

The latter 3 are easily installed on a Mac using Homebrew

Configuration

Copy the provided config.sample file to config and populate the GitLab properties. You'll need to create a personal access token to access the GitLab API.

Creating the combined git log

A shell script is provided to generate the file that gource will consume.

  1. Start by creating a text file that on each line contains 2 fields: the group and the repository name in our git repository. Example:
adi-ia star
adi-ia wisclist-custom
wams-java caos-schemas
  1. Execute the provided script:
g.sh yourfilename.txt

The script will clone each repository (via ssh), produce the gource output, then concatenate/sort it all as yourfilename.txt.log.

Creating the video

Sample command, won't save anything:

gource archive/projects.2016-09.txt.log -s 0.25 --highlight-users --highlight-dirs -1600x1080 --user-image-dir workdir/avatars/ --file-extensions --user-scale 2 --bloom-intensity 0.5 --hide dirnames --camera-mode overview --start-date '2016-03-01'

Tack on a -o filename.ppm to save the output in raw ppm format.

To convert the ppm to an mp4 video:

ffmpeg -y -r 60 -f image2pipe -vcodec ppm -i filename.ppm -vcodec libx264 -preset ultrafast -pix_fmt yuv420p -crf 1 -threads 0 -bf 0 filename.mp4

References

internal-apps-visualization's People

Contributors

jsamsa avatar lhanson avatar nblair avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar  avatar

Forkers

jsamsa lhanson

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.