DOKK / manpages / debian 12 / gource / gource.1.en
Gource(1) General Commands Manual Gource(1)

Gource - a software version control visualization

gource [options] [path]

gource is an OpenGL-based 3D visualisation tool for source control repositories.

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.

gource requires a OpenGL capable video card to run.

Help ('-H' for extended help).
Set the viewport size. If -f is also supplied, will attempt to set the video mode to this also. Add ! to make the window non-resizable.
Fullscreen.
Set the number of the screen to display on.
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.

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.

Frameless window.
Make the background transparent. Only really useful for screenshots.
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"

Stop at the last entry prior to the supplied date and optional time.

Uses the same format as --start-date.

Begin at some position in the log (between 0.0 and 1.0 or 'random').
Stop (exit) at some position in the log (does not work with STDIN).
Stop (exit) after a specified number of seconds.
Stop (exit) at the end of the log / stream.
Loop back to the start of the log when the end is reached.
Seconds to delay before looping.
Automatically skip to next entry if nothing happens for a specified number of seconds.
Speed of simulation in seconds per day.
Realtime playback speed.
Use the time of the last commit if the time of a commit is in the past.
Change simulation time scale.

E.g. 0.5 for half speed, 2 for double speed.

Time in seconds files remain idle before they are removed or 0 for no limit.
Time in seconds files remain idle at the end before they are removed.
Elasticity of nodes.
Background colour in hex.
Set a background image.
Set a title
Specify the font. Should work with most font file formats supported by FreeType, such as TTF and OTF, among others.
Scale the size of all fonts.
Font size used by the date and title.
Font size of filenames.
Font size of directory names.
Font size of user names.
Font colour used by the date and title in hex.
Show file extension key.
Logo to display in the foreground.
Offset position of the logo.
Specify display date string (strftime format).
Show the log command used by gource (git,svn,hg,bzr,cvs2cl).
Specify format of the log being read (git,svn,hg,bzr,cvs2cl,custom). Required when reading from STDIN.
Get the git log of a branch other than the current one.
Have the camera automatically follow a particular user.
Highlight the names of all directories.
Highlight the names of a particular user.
Highlight the names of all users.
Font colour for highlighted users in hex.
Font colour for selected users and files.
Font colour for filenames.
Font colour for directories.
Draw names of directories down to a specific depth in the tree.
Position along edge of the directory name (between 0.1 and 1.0, default is 0.5).
Duration to keep filenames on screen (>= 2.0).
Show filename extensions only.
Use filename as extension if the extension is missing or empty.
Filter out file paths matching the specified regular expression.
Show only file paths matching the specified regular expression.
Filter usernames matching the specified regular expression.
Show only usernames matching the specified regular expression.
Directory containing .jpg or .png images of users (eg "Full Name.png") to use as avatars.
Path of .jpg to use as the default user image.
Forces the size of the user image to remain fixed throughout.
Colourize user images.
Crop view on an axis (vertical,horizontal).
Camera view padding.
Enable multi-sampling.
Disable vsync.
Adjust the amount of bloom.
Adjust the intensity of the bloom.
Set the maximum number of files or 0 for no limit. Excess files will be discarded.
Max time files of a commit can take to appear. Use -1 for no limit.
Max speed users can travel per second.
Time users take to come to a halt.
Change scale of user avatars.
Camera mode (overview,track).
Disable automatic camera rotation.
Disable keyboard and mouse input.
Hide one or more display elements from the list below:


bloom - bloom effect
date - current date
dirnames - names of directories
files - file icons
filenames - names of files
mouse - mouse cursor
progress - progress bar widget
root - root directory of the tree
tree - animated tree structure
users - user avatars
usernames - names of users

Separate multiple elements with commas (eg "mouse,progress")

Change the seed of hash function.
Caption file (see Caption Log Format).
Caption size.
Caption colour in hex.
Caption duration.
Caption horizontal offset (0 to centre captions).
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.

Framerate of output (25,30,60). Used with --output-ppm-stream.
Output a custom format log file ('-' for STDOUT).
Load a config file.
Save a config file with the current options.
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.

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.

In these cases, you may like to save a copy of the log for later use.

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

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

If you want to use Gource with something other than the supported systems, there is a pipe ('|') delimited custom log format:

timestamp - An ISO 8601 or unix timestamp of when the update occurred. username - The name of the user who made the update. type - Single character for the update type - (A)dded, (M)odified or (D)eleted. file - Path of the file updated. colour - A colour for the file in hex (FFFFFF) format. Optional.

Gource can display captions along the timeline by specifying a caption file (using --caption-file) in the pipe ('|') delimited format below:

timestamp - An ISO 8601 or unix timestamp of when to display the caption. caption - The caption

See the guide on the homepage for examples of recording videos with Gource:

https://github.com/acaudwell/Gource/wiki/Videos

Visit the Gource homepage for guides and examples of using Gource with various version control systems:

http://gource.io

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 may use the mouse to inspect the detail of individual files and users.

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.

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 simulation speed (<>) Adjust time scale (TAB) Cycle through visible users (F12) Screenshot (Alt+Enter) Fullscreen toggle (ESC) Quit


Written by Andrew Caudwell
Project Homepage: http://gource.io


Copyright (C) 2009 Andrew Caudwell (acaudwell@gmail.com)
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.
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/>.


Catalyst IT (catalyst.net.nz)
For supporting the development of Gource!