You are aware that draw.io is itself open source and self-hostable: https://github.com/jgraph/drawio ?
https://github.com/jgraph/drawio/blame/dev/LICENSE <-- that’s … a rather specific and recent change. Is there a story here ?
They added:
- None of the Work may be used in any form as part, or whole, of an integration, plugin or app that integrates with Atlassian’s Confluence or Jira products.
Unless I misunderstand your question, draw.io can be downloaded as a standalone Linux application and run locally.
Likewise, the Xfig package should he available in most Linux repos. It’s old, but good enough for a quick sketch.
edit: aha. My mistake. My eyes slid over ‘open source’ in the title*, and even still I hadn’t realized it was an Apache license.
* Whaaat, it was pre-coffee? Let the purest among us cast the first stone.
They’re looking for something open-source. Draw.io’s readme says:
License
The source code authored by us in this repo is licensed under a modified Apache v2 license. This project is not an open source project as a result.
I haven’t been through the license to see what its restrictions are, but there must be a reason they give this warning.
Of the changes made last week to the license, this one stands out:
- None of the Work may be used in any form as part, or whole, of an integration, plugin or app that integrates with Atlassian’s Confluence or Jira products.
That is a weird carve-out, so I’d guess the license revision (and technically the reason it’s no longer open source) somehow has to do with Atlassian or their plugin marketplace?
From another comment on this thread: https://github.com/jgraph/drawio/discussions/4623
Draw.io has a Docker container
Yes, I know, draw.io theoretically isn’t entirely open source, but the source code is available and it can be self-hosted. Honestly, that’s good enough for me, I think I can make an exception for this one. But generally I care a lot about strictly using FOSS too. It can also be integrated with Nextcloud: https://apps.nextcloud.com/apps/drawio
By no means the best option, but the tikz latex package works and pandoc can handle the conversion to your preferred format. I would limit this to very simple diagrams.