Gource(1)
β¨ Gource(1) β¨
okay bestie, welcome to the Gource(1) manual page! π This is part 1, and we're about to make your terminal look like a whole forest of commits. π³β¨
πΈ NAME πΈ
Gource β a software version control visualization. periodt. π
π¦ SYNOPSIS π¦
gource [options] [path]
π DESCRIPTION π
okay so gource is an OpenGL-based 3D visualisation tool for source control repositories. it's giving main character energy for your git log. π
The repository is displayed as a tree where the root of the repository is the centre, directories are branches and files are leaves. Contributors to the source code appear and disappear as they contribute to specific files and directories. it's literally a whole ecosystem, iykyk. π
π REQUIREMENTS π
gource requires a OpenGL capable video card to run. no cap, your GPU gotta be serving. π
π OPTIONS π
-h,--helpβ Help ('-H'for extended help). so if you need the extra tea, hit-H. β-WIDTHxHEIGHT,--viewport WIDTHxHEIGHTβ Set the viewport size. If-fis also supplied, will attempt to set the video mode to this also. Add!to make the window non-resizable. so you can lock it down, periodt. π-fβ Fullscreen. whole screen, no distractions. π--screen SCREENβ Set the number of the screen to display on. for my multi-monitor girlies. π₯οΈ--high-dpiβ Request a high DPI display when creating the window.
On some platforms such as MacOS, the window resolution is specified in points instead of pixels. The --high-dpi flag may be required to access some higher resolutions.
E.g. requesting a high DPI 800x600 window may produce a window that is 1600x1200 pixels. so crisp, so slay. β¨
--window-position XxYβ Initial window position on your desktop which may be made up of multiple monitors.
This will override the screen setting so don't specify both. pick a lane bestie. π
--framelessβ Frameless window. clean, minimal, aesthetic. π--transparentβ Make the background transparent. Only really useful for screenshots. for the gram. πΈ--start-date "YYYY-MM-DD hh:mm:ss +tz"β Start with the first entry after the supplied date and optional time.
If a time zone offset isn't specified the local time zone is used.
Example accepted formats:
"2012-06-30"
"2012-06-30 12:00"
"2012-06-30 12:00:00 +12"
so you can time travel, but only forward. β³
--stop-date "YYYY-MM-DD hh:mm:ss +tz"β Stop at the last entry prior to the supplied date and optional time.
Uses the same format as --start-date. so you can cut it off, no cap. βοΈ
-p,--start-position POSITIONβ Begin at some position in the log (between 0.0 and 1.0 or'random'). so you can skip to the good part. π―--stop-position POSITIONβ Stop (exit) at some position in the log (does not work with STDIN). note: no STDIN, bestie. π«-t,--stop-at-time SECONDSβ Stop (exit) after a specified number of seconds. set a timer, queen. β°--stop-at-endβ Stop (exit) at the end of the log / stream. natural ending, periodt. π¬--loopβ Loop back to the start of the log when the end is reached. it's giving rerun energy. π--loop-delay-seconds SECONDSβ Seconds to delay before looping. a little pause for dramatic effect. βΈοΈ-a,--auto-skip-seconds SECONDSβ Automatically skip to next entry if nothing happens for a specified number of seconds. so it doesn't get boring. π€-s,--seconds-per-day SECONDSβ Speed of simulation in seconds per day. time is fake, go fast. β‘--realtimeβ Realtime playback speed. no fast-forward, just vibes. π°οΈ--no-time-travelβ Use the time of the last commit if the time of a commit is in the past. so no going backwards, only forwards. β©--author-timeβ Use the timestamp of the author instead of the timestamp of the committer. author rights, periodt. βοΈ-c,--time-scale SCALEβ Change simulation time scale. This affects the movement speed of user avatars.
E.g. 0.5 for half speed, 2 for double speed. so you can slow it down or speed it up, your choice. π’π
-i,--file-idle-time SECONDSβ Time in seconds files remain idle before they are removed or 0 for no limit. 0 means never delete, hoarder energy. ποΈ--file-idle-time-at-end SECONDSβ Time in seconds files remain idle at the end before they are removed. for the grand finale. π-e,--elasticity FLOATβ Elasticity of nodes. boing boing. π-b,--background-colour FFFFFFβ Background colour in hex. pick your aesthetic. π¨--background-image IMAGEβ Set a background image. serve looks. πΌοΈ--title TITLEβ Set a title. name it, own it. π--font-file FILEβ Specify the font. Should work with most font file formats supported by FreeType, such as TTF and OTF, among others. so you can be extra. βοΈ--font-scale SCALEβ Scale the size of all fonts. big mood or small mood. π--font-size SIZEβ Font size used by the date and title. for the date and title specifically. π--file-font-size SIZEβ Font size of filenames. files need love too. π--dir-font-size SIZEβ Font size of directory names. directories are important. π--user-font-size SIZEβ Font size of user names. shoutout to the users. π₯--font-colour FFFFFFβ Font colour used by the date and title in hex. make it pop. π--keyβ Show file extension key. a little legend, iykyk. ποΈ--logo IMAGEβ Logo to display in the foreground. branding, bestie. π·οΈ--logo-offset XxYβ Offset position of the logo. move it where you want. π--date-format FORMATβ Specify display date string (strftime format). format it your way. π--log-command VCSβ Show the log command used by gource (git,svn,hg,bzr,cvs2cl). so you can see the tea. β--log-format VCSβ Specify format of the log being read (git,svn,hg,bzr,cvs2cl,custom). Required when reading from STDIN. no format, no STDIN. π«--git-branchβ Get the git log of a branch other than the current one. branch out, queen. πΏ--follow-user USERβ Have the camera automatically follow a particular user. main character tracking. π₯--highlight-dirsβ Highlight the names of all directories. directories getting the spotlight. β¨--highlight-user USERβ Highlight the names of a particular user. one user, all the attention. π--highlight-usersβ Highlight the names of all users. everyone's a star. π--highlight-colour FFFFFFβ Font colour for highlighted users in hex. colour for the chosen ones. π--selection-colour FFFFFFβ Font colour for selected users and files. selection colour, slay. π--filename-colour FFFFFFβ Font colour for filenames. filenames in colour. π--dir-colour FFFFFFβ Font colour for directories. directories in colour. π--dir-name-depth DEPTHβ Draw names of directories down to a specific depth in the tree. how deep do you want to go? π³οΈ--dir-name-position FLOATβ Position along edge of the directory name (between 0.1 and 1.0, default is 0.5). default 0.5, but you can move it. ποΈ--filename-time SECONDSβ Duration to keep filenames on screen (>= 2.0). at least 2.0, no cap. β±οΈ--file-extensionsβ Show filename extensions only. just the extensions, periodt. π--file-extension-fallbackβ Use filename as extension if the extension is missing or empty. fallback realness. π--file-filter REGEXβ Filter out file paths matching the specified regular expression. bye bye, files. π--file-show-filter REGEXβ Show only file paths matching the specified regular expression. only the chosen files. π―--user-filter REGEXβ Filter usernames matching the specified regular expression. not today, user. π«--user-show-filter REGEXβ Show only usernames matching the specified regular expression. only the VIPs. π--user-image-dir DIRECTORYβ Directory containing .jpg or .png images of users (eg "Full Name.png") to use as avatars. give everyone a face. πΌοΈ--default-user-image IMAGEβ Path of .jpg to use as the default user image. default face, periodt. π€--fixed-user-sizeβ Forces the size of the user image to remain fixed throughout. no resizing, keep it consistent. π--colour-imagesβ Colourize user images. add some colour, bestie. π--crop AXISβ Crop view on an axis (vertical,horizontal). crop it, own it. βοΈ--padding FLOATβ Camera view padding. give it some space. π--multi-samplingβ Enable multi-sampling. smooth edges, slay. β¨--no-vsyncβ Disable vsync. let it run wild. π--bloom-multiplier FLOATβ Adjust the amount of bloom. more bloom, more drama. πΈ--bloom-intensity FLOATβ Adjust the intensity of the bloom. turn up the glow. π‘--max-files NUMBERβ Set the maximum number of files or 0 for no limit. Excess files will be discarded. 0 means unlimited, but excess gets the boot. π₯Ύ--max-file-lag SECONDSβ Max time files of a commit can take to appear. Use -1 for no limit. -1 means no limit, periodt. β³--max-user-speed UNITSβ Max speed users can travel per second. speed limit, bestie. π--user-friction SECONDSβ Time users take to come to a halt. how long to stop, physics. π--user-scale SCALEβ Change scale of user avatars. big avatars or small avatars. π--camera-mode MODEβ Camera mode (overview,track). choose your view. π₯--disable-auto-rotateβ Disable automatic camera rotation. stop spinning, i'm dizzy. π--disable-inputβ Disable keyboard and mouse input. no touchy. π«--hide DISPLAY_ELEMENTβ Hide one or more display elements from the list below:bloom- bloom effectdate- current datedirnames- names of directoriesfiles- file iconsfilenames- names of filesmouse- mouse cursorprogress- progress bar widgetroot- root directory of the treetree- animated tree structureusers- user avatarsusernames- names of users
Separate multiple elements with commas (eg "mouse,progress"). hide what you don't need, periodt. π
--hash-seed SEEDβ Change the seed of hash function. shake it up. π²--caption-file FILEβ Caption file (see Caption Log Format). captions for the drama. π--caption-size SIZEβ Caption size. big captions or small captions. π--caption-colour FFFFFFβ Caption colour in hex. colour your words. π¨--caption-duration SECONDSβ Caption duration. how long they stay. β³--caption-offset Xβ Caption horizontal offset (0 to centre captions). 0 to centre, periodt. βοΈ-o,--output-ppm-stream FILEβ Output a PPM image stream to a file ('-'for STDOUT).
This will automatically hide the progress bar initially and enable 'stop-at-end' unless other behaviour is specified. so it does some stuff automatically, noted. π€
-r,--output-framerate FPSβ Framerate of output (25,30,60). Used with--output-ppm-stream. pick 25, 30, or 60. ποΈ--output-custom-log FILEβ Output a custom format log file ('-'for STDOUT). custom log, custom vibes. π--load-config CONFIG_FILEβ Load a config file. load it up. π--save-config CONFIG_FILEβ Save a config file with the current options. save your settings, queen. πΎ--path PATHpathβ Either a supported version control directory, a pre-generated log file (see log commands or the custom log format), a Gource conf file or'-'to read STDIN.
If path is omitted, gource will attempt to read a log from the current directory. so if you don't give a path, it tries the current directory. π
π§ Git, Bazaar, Mercurial and SVN Examples π§
View the log of the repository in the current path:
gource
View the log of a project in the specified directory:
gource my-project-dir
For large projects, generating a log of the project history may take a long time. For centralized VCS like SVN, generating the log will put load on the central VCS server. so be nice to the server, bestie. π
In these cases, you may like to save a copy of the log for later use. smart move. π§
You can generate a log in the VCS specific log format using the --log-command VCS option:
cd my-svn-project
`gource --log-command svn` > my-svn-project.log
gource my-svn-project.log
You can also have Gource write a copy of the log file in its own format:
gource --output-custom-log my-project-custom.log
π CVS Support π
Use 'cvs2cl' to generate the log and then pass it to Gource:
cvs2cl --chrono --stdout --xml -g-q > my-cvs-project.log
gource my-cvs-project.log
okay so that's how you turn your CVS history into a snackable log, bestie π
π¦ Custom Log Format π¦
if you're rolling with something that isn't on the supported list, gource still gotchu. there's a custom log format that's pipe (|) delimited, and it's giving very choose-your-own-adventure. here's the tea:
timestampβ when the update went down, either an ISO 8601 or a unix timestamp, no cap.usernameβ the name of the user who made the update, aka the main character.typeβ a single character for what kind of update it was:(A)dded,(M)odified, or(D)eleted.fileβ the path of the file that got updated.colourβ a colour for the file in hex (FFFFFF) format. this one's optional, so you can skip it if you're feeling minimal.
πΈ Caption Log Format πΈ
gource can also drop captions along the timeline, like little commentary track moments. just specify a caption file using --caption-file, and format it like this pipe (|) delimited situation:
timestampβ an ISO 8601 or unix timestamp of when to display the caption.captionβ the caption itself.
π Recording Videos π
want to record your gource masterpiece? there's a whole guide on the homepage with examples of recording videos with gource:
https://github.com/acaudwell/Gource/wiki/Videos
π More Information π
for guides and examples of using gource with various version control systems, slide into the gource homepage:
http://gource.io
π» INTERFACE π»
the time shown in the top left of the screen is set initially from the first log entry read and is incremented according to the simulation speed (--seconds-per-day).
pressing SPACE at any time will pause/resume the simulation. while paused, you can use the mouse to inspect the detail of individual files and users. it's giving detective mode π
TAB cycles through selecting the current visible users.
the camera mode, either tracking activity or showing the entire code tree, can be toggled using the Middle mouse button.
you can drag the left mouse button to manually control the camera. the right mouse button rotates the view. slay.
Interactive keyboard commands:
(V)β Toggle camera mode(C)β Displays Gource logo(K)β Toggle file extension key(M)β Toggle mouse visibility(N)β Jump forward in time to next log entry(S)β Randomize colours(D)β Toggle directory name display mode(F)β Toggle file name display mode(U)β Toggle user name display mode(G)β Toggle display of users(T)β Toggle display of directory tree edges(R)β Toggle display of root directory edges(<>)β Adjust time scale / user avatar movement speed(+-)β Adjust simulation speed(Keypad +-)β Adjust camera zoom(TAB)β Cycle through visible users(F12)β Screenshot(Alt+Enter)β Fullscreen toggle(ESC)β Quit
π AUTHOR π
Written by Andrew Caudwell
Project Homepage: http://gource.io
π COPYRIGHT π
Copyright (C) 2009 Andrew Caudwell (acaudwell@gmail.com)
so basically, this program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 of the License, or (at your option) any later version. (periodt.)
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program. If not, see <http://www.gnu.org/licenses/>.
π ACKNOWLEDGEMENTS π
Catalyst IT (catalyst.net.nz)
For supporting the development of Gource!
and that's the whole vibe, bestie. this was Gource(1) β go forth and slay your git history β¨π
π¦ where this page comes from
- alpine 3.24: gource-doc 0.56-r1 Β· GPL-3.0-or-later
- arch rolling: gource 0.56-4 Β· GPL-3.0-or-later
- fedora 43: gource 0.56-1.fc43 Β· GPL-3.0-or-later
- fedora 44: gource 0.56-1.fc44 Β· GPL-3.0-or-later
- nixos 26.05: gource 0.56
- nixpkgs unstable: gource 0.56
- ubuntu stonking: gource 0.56-1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms