August 7th, 2024

Sourcetrail: Free and Open-Source Interactive Source Explorer

Sourcetrail is an archived, open-source source code explorer for Windows, macOS, and Linux, supporting C, C++, Java, and Python, with offline functionality and an SDK for custom extensions.

Read original articleLink Icon
Sourcetrail: Free and Open-Source Interactive Source Explorer

Sourcetrail is a free and open-source cross-platform source code explorer that assists users in navigating and understanding unfamiliar codebases. The project was archived by its original authors at the end of 2021. It supports multiple platforms, including Windows, macOS, and Linux, and is compatible with programming languages such as C, C++, Java, and Python. Key features include offline functionality, an SDK for custom language extensions, and a user-friendly interface for code exploration. Users can download the software from the Releases page or utilize package managers like Chocolatey for Windows. A Quick Start Guide and detailed documentation are available to facilitate user onboarding. Contributions to the project are encouraged, with guidelines provided in the CONTRIBUTING.md file, and there are designated "good first issue" labels for newcomers. Sourcetrail is licensed under the GNU General Public License Version 3.

- Sourcetrail is archived and no longer actively maintained.

- It supports Windows, macOS, and Linux platforms.

- Compatible with C, C++, Java, and Python programming languages.

- Offers offline functionality and an SDK for custom extensions.

- Users can contribute to the project through specified guidelines.

Link Icon 6 comments
By @cmptrnerd6 - 6 months
Despite the project being archived and no longer maintained I continue to use it and recommend it. I use sourcetrail when diving into new codebases to help get a sense of the flow and organization of a program. I've mainly used it for C but also C++ a few times. If you have a compile_commands.json setting up sourcetrail is as simple as telling it where that file is located.

Though I do wonder if issues will start to crop up around new language features in C23 and beyond. We just moved our embedded C project to C23 and I haven't tried sourcetrail on it yet.

By @egberts1 - 6 months
This is the ONLY source viewer that actually worked on Mozilla Firefox in enabling me to quickly bring myself up to speed and start working toward the JavaScript AST malware detector.

And became a JS JIT internal engine expert on multiple platforms with this.

Thank you so much for your Google summer internship on this!

Now if someone can remap the new compuler syntax with this fine piece of tool, the community will gain a bigger understanding of system design of large project ... in record time. (And no more VM for Analysis)

JS JIT evolution: https://egbert.net/blog/articles/javascript-jit-engines-time...

By @kreetx - 6 months
Readme:

> Important Note: This project was archived by the original autors and maintainers of Sourcetrail by the end of 2021. If you want to know more about this decision, read more on our blog.

Blog:

> We decided to discontinue maintaining Sourcetrail.

By @alwinaugustin - 6 months
Very bad this has been archived.