{"id":16942639,"url":"https://github.com/defnull/gitvid","last_synced_at":"2026-05-10T17:02:27.758Z","repository":{"id":43134019,"uuid":"63618542","full_name":"defnull/gitvid","owner":"defnull","description":"Tool to visualize source code history","archived":false,"fork":false,"pushed_at":"2016-07-19T09:17:39.000Z","size":25,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-26T03:45:13.758Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/defnull.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-07-18T16:19:21.000Z","updated_at":"2021-05-13T14:04:26.000Z","dependencies_parsed_at":"2022-09-22T06:32:37.147Z","dependency_job_id":null,"html_url":"https://github.com/defnull/gitvid","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/defnull%2Fgitvid","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/defnull%2Fgitvid/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/defnull%2Fgitvid/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/defnull%2Fgitvid/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/defnull","download_url":"https://codeload.github.com/defnull/gitvid/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244752356,"owners_count":20504255,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-13T21:12:31.822Z","updated_at":"2026-05-10T17:02:22.734Z","avatar_url":"https://github.com/defnull.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# gitvid\n\nTool to visualize source code history\n\n[![Example Video](http://img.youtube.com/vi/FBHdaYsWjk8/2.jpg)](http://www.youtube.com/watch?v=FBHdaYsWjk8)\n\nBased on this idea: https://github.com/drummyfish/gitviz \n\n## TODO (Contributions welcomed)\n\n  - [ ] Performance improvements\n  - [ ] Fix large diffs on merge commits\n  - [ ] Visualize multiple files at once\n    - [ ] Add a way to include and exclude files based on file name globs (e.g. *.py)\n  - [ ] Customize ffmpeg command options\n  - [ ] Add live-preview with ffplay\n  - [ ] Customize the commit message string\n  - [ ] Add various verbosity flags (e.g. to show ffmpeg output)\n  - [ ] Add a speedup factor (render a frame every N changes only)\n  - [ ] Add a scaling factor (render images bigger than final video)\n\n## Dependencies\n\nGitVid is written for **Python3** and uses **pygments** for syntax highlighting and **PIL or Pillow** for image rendering. It calls **git** to fetch the history and **ffmpeg** to render the video. These commands must be installed and present in the current ``$PATH``.\n\nDebian/Ubuntu:\n\n    $ sudo apt-get install python3-imaging python3-pygments ffmpeg git\n\nMax OSX:\n\n    $ brew install ffmpeg\n    $ brew install git\n    $ pip install pygments Pillow\n\n## Usage\n\n    usage: gitvid.py [-h] [-o OUT] [--fps FPS] [--size SIZE] [--style STYLE]\n                     [--fast] [--dry-run]\n                     SOURCE PATH\n\n    Visualize source code history\n\n    positional arguments:\n      SOURCE             Source folder (git repository)\n      PATH               Filenames to include in the visualization\n\n    optional arguments:\n      -h, --help         show this help message and exit\n      -o OUT, --out OUT  Filename fo the target video file. (default: gitvid.flv)\n      --fps FPS          Frames per second (default: 60)\n      --size SIZE        Video resolution. Either [WIDTH]x[HEIGHT] or the name of\n                         a common resolution (e.g. 790p, 1080p, 4k, ...) (default:\n                         790p)\n      --style STYLE      Pygments syntax highlighting style (default: No syntax\n                         highlighting)\n      --fast             Do not visualize individual line additions and deletions,\n                         but only full commits.\n\n## Example\n\n    $ git clone https://github.com/defnull/gitvid.git\n    $ cd gitvid\n    $ python3 gitvid.py -o test.flv . gitvit.py \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdefnull%2Fgitvid","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdefnull%2Fgitvid","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdefnull%2Fgitvid/lists"}