this post was submitted on 03 Sep 2024
98 points (100.0% liked)

Selfhosted

40736 readers
431 users here now

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.

Rules:

  1. Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.

  2. No spam posting.

  3. Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it's not obvious why your post topic revolves around selfhosting, please include details to make it clear.

  4. Don't duplicate the full text of your blog or github here. Just post the link for folks to click.

  5. Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).

  6. No trolling.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

founded 2 years ago
MODERATORS
top 42 comments
sorted by: hot top controversial new old
[–] [email protected] 49 points 3 months ago (1 children)

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

[–] [email protected] 7 points 3 months ago (1 children)

There's also a draw.io (diagrams.net) plugin for intellij and probably eclipse.

[–] calcopiritus 2 points 3 months ago
[–] [email protected] 24 points 3 months ago (2 children)

https://github.com/excalidraw/excalidraw

Excalidraw is great, but can be a pain to set up locally if you require the collaboration features.

[–] [email protected] 6 points 3 months ago (1 children)

Have you done it? I'm interested in this. Any tips and tricks? Maybe you kept some notes?

Thanks!

[–] [email protected] 6 points 3 months ago (2 children)

I didn’t myself, but talked to a colleague recently who set it up for our company. Apparently it was quite tricky to get the various containers set up just right, as they need to communicate with each other but also be user facing and have proper certs and so on. I don’t have any details, but usually this guy is very good at deploying stuff, so if he admits to struggling I know it must be seriously hard.

[–] CodeGameEat 6 points 3 months ago (1 children)

Do you think he would he share his deployment code? I was thinking of deploying excalidraw on my homeserver :p.

[–] [email protected] 5 points 3 months ago (1 children)

I don’t think it’s possible, as his deployment code is very specific to our company setup (own acme, own sso, …). Sorry. 😕

[–] CodeGameEat 5 points 3 months ago

No problem, I expected as much but wanted to try haha

[–] [email protected] 2 points 3 months ago

Thanks! Now I'm intrigued. I'll try to set it up this weekend.

[–] scottrepreneur 5 points 3 months ago

There's also an Obsidian plugin that gives you a local setup without the extra config for sharing

[–] [email protected] 15 points 3 months ago (1 children)
[–] whotookkarl 5 points 3 months ago

I've used Dia for years, great simple tool for diagramming & if I need something more I'll switch to graphviz dot files

[–] scholar 12 points 3 months ago (1 children)

Inkscape works well for this.

[–] [email protected] 1 points 3 months ago

Does inkscape have diagram connecting? One of the best draw.io features is the wide array of premade shapes, styles, and auto connecting for flow visualization

[–] zarlin 11 points 3 months ago (2 children)
[–] [email protected] 5 points 3 months ago

There's kroki as well, which includes Mermaid, Excalidraw, GraphViz, PlantUML, etc.

[–] [email protected] 2 points 3 months ago* (last edited 3 months ago)

See also Inkscape.

Doesn't quite fit OPs want of self hosted, but still very good.

There is also Asymptote and tikz for more technical stuff.

[–] mystik 8 points 3 months ago (1 children)

You are aware that draw.io is itself open source and self-hostable: https://github.com/jgraph/drawio ?

[–] [email protected] 17 points 3 months ago (1 children)

"This project is not an open source project as a result."

[–] mystik 11 points 3 months ago (2 children)

https://github.com/jgraph/drawio/blame/dev/LICENSE <-- that's ... a rather specific and recent change. Is there a story here ?

[–] [email protected] 15 points 3 months ago (1 children)

They added:

  1. 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.
[–] [email protected] 8 points 3 months ago (1 children)

Amazing. I get there's some atlassian bullshittery behind that.

[–] CodeGameEat 8 points 3 months ago

Looks like their paid confluence extension was called a scam in a review and they really did not like that 😂 https://github.com/jgraph/drawio/discussions/4623

[–] AustralianSimon 1 points 3 months ago

Weird because gliffy (or whatever it's called) exists on confluence

[–] [email protected] 8 points 3 months ago
[–] slazer2au 6 points 3 months ago
[–] [email protected] 5 points 3 months ago
[–] [email protected] 5 points 3 months ago
[–] [email protected] 4 points 3 months ago
[–] bmcgonag 3 points 3 months ago

I used to use one years ago called yEd graph editor. Supremely amazing. It is free to use, but I don’t think it’s open source.

[–] [email protected] 2 points 3 months ago

Yed is pretty good. It's what I use.

[–] simplymath 1 points 3 months ago

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.

[–] solidgrue 1 points 3 months ago* (last edited 3 months ago) (2 children)

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.

[–] [email protected] 5 points 3 months ago* (last edited 3 months ago) (1 children)

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.

[–] [email protected] 6 points 3 months ago (2 children)

Of the changes made last week to the license, this one stands out:

  1. 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?

[–] [email protected] 1 points 3 months ago
[–] [email protected] 1 points 3 months ago

I guess that's how they make a lot of money, selling their own Confluence plugin.

[–] Limonene -2 points 3 months ago* (last edited 3 months ago) (1 children)

draw .io is closed source.

[–] [email protected] 0 points 3 months ago

Source available*

[–] [email protected] 1 points 3 months ago

What kind of diagram are you going to make?

[–] [email protected] 1 points 3 months ago

D2lang is good