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

Selfhosted

39937 readers
395 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 1 year ago
MODERATORS
top 41 comments
sorted by: hot top controversial new old
[–] Noxious@fedia.io 49 points 2 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

[–] deadbeef79000@lemmy.nz 7 points 2 months ago (1 children)

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

[–] calcopiritus@lemmy.world 2 points 2 months ago
[–] BennyInc 24 points 2 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.

[–] tuxec@infosec.pub 6 points 2 months ago (1 children)

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

Thanks!

[–] BennyInc 6 points 2 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@lemmy.world 6 points 2 months ago (1 children)

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

[–] BennyInc 5 points 2 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@lemmy.world 5 points 2 months ago

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

[–] tuxec@infosec.pub 2 points 2 months ago

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

[–] scottrepreneur@lemmy.world 5 points 2 months ago

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

[–] wildbus8979@sh.itjust.works 15 points 2 months ago (1 children)
[–] whotookkarl@lemmy.world 5 points 2 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@lemmy.world 12 points 2 months ago (1 children)

Inkscape works well for this.

[–] JustEnoughDucks@feddit.nl 1 points 2 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@lemmy.world 11 points 2 months ago (1 children)
[–] Deebster@programming.dev 5 points 2 months ago

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

[–] Kalcifer@sh.itjust.works 8 points 2 months ago
[–] mystik@lemmy.world 8 points 2 months ago (1 children)

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

[–] igorette@lemmy.ml 17 points 2 months ago (1 children)

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

[–] mystik@lemmy.world 11 points 2 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 ?

[–] eksb@programming.dev 15 points 2 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.
[–] deadbeef79000@lemmy.nz 8 points 2 months ago (1 children)

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

[–] CodeGameEat@lemmy.world 8 points 2 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@lemmy.world 1 points 2 months ago

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

[–] slazer2au@lemmy.world 6 points 2 months ago
[–] nichtburningturtle 5 points 2 months ago
[–] opossumtriceps@lemmy.one 4 points 2 months ago
[–] bmcgonag@lemmy.world 3 points 2 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.

[–] BarrierWithAshes@fedia.io 2 points 2 months ago

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

[–] BCsven@lemmy.ca 1 points 2 months ago

What kind of diagram are you going to make?

[–] geophysicist@discuss.tchncs.de 1 points 2 months ago

D2lang is good

[–] solidgrue@lemmy.world 1 points 2 months ago* (last edited 2 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.

[–] floofloof@lemmy.ca 5 points 2 months ago* (last edited 2 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.

[–] will_a113@lemmy.ml 6 points 2 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?

[–] HK65@sopuli.xyz 1 points 2 months ago

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

[–] Limonene@lemmy.world -2 points 2 months ago* (last edited 2 months ago) (1 children)

draw .io is closed source.

[–] JackbyDev@programming.dev 0 points 2 months ago

Source available*

[–] simplymath@lemmy.world 1 points 2 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.