Fork me on GitHub
No Matches
Writing code for Janus

Janus is open source, which means the whole source code is available for both its core internals and all plugins. As such, it's easy to write code to fix issues, add new features, implement new modules and so on.

You don't really need any integrated development environment (IDE) to write code for Janus, but in case you do want to make use of one, you may need to tweak your development environment accordingly. The Janus codebase makes use of many macros defined at configure time to figure out what's available and what should be compiled, for instance, and the IDE you're using may need to be aware of those to do its job.

The following snippet is an example of how you can configure, for instance, Visual Studio Code on Ubuntu 20.04:

    "configurations": [
            "name": "Linux",
            "compilerPath": "/usr/bin/gcc",
            "cStandard": "gnu11",
            "cppStandard": "gnu++17",
            "includePath": [
            "intelliSenseMode": "linux-gcc-x64",
            "systemIncludePath": [
            "defines": [
    "version": 4