Sourcetrail - free and open-source interactive source explorer
The developer of this repository has not created any items for sale yet. Need a bug fixed? Help with integration? A different license? Create a request here:
Sourcetrail is a free and open-source cross-platform source explorer that helps you get productive on unfamiliar source code.
Sourcetrail is: * free * working offline * operating on Windows, macOS and Linux * supporting C, C++, Java and Python * offering an SDK (SourcetrailDB) to write custom language extensions
To setup Sourcetrail on your machine, you can either download the respective build for your operating system from our list of Releases and install it on your machine, or use one of the following package managers:
choco install sourcetrail
After your installation is complete, follow our Quick Start Guide to get to know Sourcetrail.
You can post all your feature requests and bug reports on our issue tracker.
Use the following template:
If you want to support a certain feature request or you have the same bug that another user already reported, please let us know: * post a comment with "+1" to the issue * or send an email to [email protected] with the issue ID
Building Sourcetrail requires several dependencies to be in place on your machine. However, our CMake based setup allows to disable indexing support for specific languages which reduces the number of dependencies to a minimum.
CMake v3.12 (required for Windows, Linux and MacOS)*
Git (required for Windows, Linux and MacOS)
is added to your
Visual Studio (required for Windows)
ccache (optional for Linux and MacOS)
$ ./bootstrap.sh --with-libraries=filesystem,program\_options,system,date\_time $ ./b2 --link=static --variant=release --threading=multi --runtime-link=static --cxxflags=-fPIC
To set up your build environment run:
$ git clone https://github.com/CoatiSoftware/Sourcetrail.git $ cd Sourcetrail $ mkdir -p build/win64 $ cd build/win64 $ cmake -G "Visual Studio 15 2017 Win64" -DBOOST\_ROOT=<path> -DQt5_DIR=<path> ../.. </path></path>
Hint: If you are using the CMake GUI, we recommend that you activate advanced mode. Also you may be required to add some of the defines via the "Add Entry" button.
$ cd Sourcetrail $ mkdir -p build/Release $ cd build/Release $ cmake -DCMAKE\_BUILD\_TYPE="Release" -DBOOST\_ROOT=<path> -DQt5_DIR=<path> ../.. </path></path>
$ make Sourcetrail
. CMake creates symlinks within the build directory that make these directories accessible.
git checkout llvmorg-10.0.0
is available in your
environmen variable and that the
environment variable is set:
is available in your
environmen variable and that both
environment variables are set:
Visual Studio (required for Windows)*
.Net desktop development
<path>/WiX Toolset v3.11/bin</path>
Wix extension for Visual Studio
from your Developer Command Prompt for Visual Studio. The script which will generate a 64bit build and packages it into a portable
file and a Wix-based Windows installer, each.
After building, run the
script within the build directory which will create a
bundle and generate a
from the main directory, which creates both a
package in the main directory. Packaging depends on linuxdeployqt.
The automated test suite of Sourcetrail is powered by Catch2. To run the tests, simply execute the
binary. Before executing, please make sure to set the working directory to
Sourcetrail is licensed under the GNU General Public License Version 3.
The "Sourcetrail" name is a trademark owned by Coati Software and is not included within the assets licensed under the GNU GPLv3.