Code Browser by Woboq for C and C++
The Woboq Code Browser is a web-based code browser for your C/C++ projects. You can read about it in our blog post or have a look at the browsable code of some of our favorite open source projects.
Try it out
to browse the source code of Qt, GCC, Linux Kernel, GNU C Library and several other projects online.
As an example, you can browse into Qt's source code:
Some things to try:
- Hover over a symbol to learn more about it
- Click the line number to link to it
- Click "Toggle line number" to use select+copy to clipboard
- Click on the directory names at the top to navigate to another directory
|Advanced semantic highlighting (dynamic code analysis)||✔|
|Semantic understanding of C++ and C using LLVM (for cross referencing)||✔|
|Tooltips showing the types of variables||✔|
|Tooltips showing how an identifier is accessed (read, write, ...)||✔|
|Links to implementation and declarations of each function or variable||✔|
|Show size in bytes of struct/class||✔|
|Expansion of macros||✔|
|Create links/URLs easily to symbols or line numbers||✔|
|Skin/Themeable to your own design||✔|
What do developers spend most of their time on?
Hint: It is not writing code.
It is understanding code and communicating about it, this is what the Code Browser is about.
How does it work?
The generator generates static HTML pages that can be served by any web server.
It can be run automatically manually or with a hook on your version control or CI system.
The generator runs on Linux or Mac and can be integrated with your build systems (CMake, QMake, others). It functions as the source code indexer (using libclang). In contrast to other solutions (LXR, OpenGrok) it semantically analyzes the code as a compile step.
The generation is a two-step process: First is a compile step that creates a .h.html and .cpp.html (and some other) files from the syntax tree (AST) of the source source. The second step generates an index.html for each directory.
A server-side database or CGI script are currently not needed, so it is easy to host. Your normal HTML5 web browser
is the source code navigator (from your local machine or your network).
→ Read our README
If you are interested in hosting a browsable version of your own C/C++ source code on your website or intranet, you can purchase a license of our code browser generator.
|Try before you buy||Try before you buy||Try before you buy|
Host it in the public internet with Woboq branding
25 or less browsing users
26 to 100 browsing users
Unlimited browsing users
25 € per Month
75 € per Month
|Free e-mail support||Free e-mail support||Free e-mail support||Custom support options|
|Source customizations allowed||Source customizations allowed||Source customizations allowed|
Pay net 30 days via IBAN/BIC bank transfer or PayPal (credit card, direct debit, ...)
If you have any questions or want to order via e-mail: email@example.com
Don't hesitate to ask about desired features or if you want us to host the generated code browser.
The commercial license comes with e-mail support. Additional support via phone/skype is possible.
If you are interested in the implementation, you can browse the sources of the generator using the Code Browser itself. Or clone the repository from github