this post was submitted on 19 Aug 2023
38 points (97.5% liked)

Selfhosted

40708 readers
450 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
 

Hello self-hosters! Just wondering if anyone has any suggestions for a self-hosted Microsoft Visio alternative, or something at least very similar. I'm basically looking to create infrastructure diagrams for my self hosted server and apps. I already have WikiJS as a wik/documentation solution, but don't mind migrating to something else if there are better solutions and/or integrations for diagrams

all 28 comments
sorted by: hot top controversial new old
[–] slazer2au 43 points 1 year ago (4 children)

If you have used Draw.io (free) or lucidcharts (paid) you can host your own version as they are both versions of jgraph

https://github.com/jgraph/docker-drawio

[–] blackfire 7 points 1 year ago

Draw io gets my vote

[–] [email protected] 4 points 1 year ago (1 children)
[–] slazer2au 3 points 1 year ago (2 children)

true, but self hosted implies not a desktop app.

[–] [email protected] 2 points 1 year ago* (last edited 1 year ago) (1 children)

No it does not.

Self-hosted implies self-hosted. AFAIK, the end goal is being as autonomous as possible technologically-speaking. Why exclude desktop applications ?

[–] [email protected] 2 points 1 year ago (2 children)

If it cannot be reached through the network/another machine it is not really "hosted" as there is no host-client relationship. My 2c

[–] chandz05 4 points 1 year ago

This is what I expect from something that is "hosted" as well. I would like to access the hosted app from any machine on my network with a single installation/setup, and potentially expose it for private access from the Internet.

[–] [email protected] 1 points 1 year ago* (last edited 1 year ago) (1 children)

It is "hosted" on your workstation. There is no need for a server-client relationship for self-hosting.

By requiring a server-client relationship, you're making self-hosting uselessly hard to deploy and enforce a very specific design when others (P2P, file sync, etc) can solve the same problems more efficiently. For example, in my specific case, with Paperwork + Nextcloud file sync, my documents are distributed on all my workstations and always available even if offline. Another example is Syncthing which IMO fits the bill for self-hosting, but doesn't fit your definition of self-hosted.

[–] [email protected] 1 points 1 year ago (1 children)

I getcha now. However I think it would be leading us a stray if we called everything we installed, "self hosted", if I said I self host a game, what would you think of? More like a game server ie through the network.

Also doesn't syncthing have a Web UI I can access through the network? Granted it's been a while but I think I remember that.

OP wants something to be shared on the network... Managed centrally, hence they came here for advice

[–] [email protected] 2 points 1 year ago* (last edited 1 year ago)

Yes I would count this game as self-hosted (as long as you don't need a third-party service to start it). And yes I agree it is a pretty wide definition. But at the same time, I really think there are a lot of good reasons to not dismiss it:

  • I think it is the simplest form of self-hosting you can do and it is doable by anybody without much technical expertise. For people with little to no technical expertise, it's the perfect gateway to self-hosting. All you need to start is a backup drive.
  • For a single person, it's actually the approach that often makes the more sense.
  • And even for technical people, sometimes you just don't want to deploy and maintain yet-another-service.
  • And finally, you can still access your data when you're offline.

To be honest, when it comes to self-hosting, I can't shake this feeling that a lot of people are dismissing desktop apps immediately just because they are not cool nor hype anymore.

Regarding Syncthing, if I'm not mistaken, the Web UI can be opened to the network (most likely for headless servers) but by default it is only reachable through the loopback.

Regarding OP, for me, it wasn't entirely clear at first whether they wanted network access or not. They clarified it later in comments.

[–] chandz05 3 points 1 year ago

Thanks I'll take a look!

[–] chandz05 2 points 1 year ago

Ok I think we have a winner! Got draw.io up and running on my server, and so far it has everything I need, and the UI is perfect. Thank you for the suggestion!

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

I like LibreOffice Draw for this.

[–] chandz05 2 points 1 year ago

Hmm I already have an OnlyOffice server linked to my Nextcloud, but OnlyOffice doesn't have an equivalent application. Maybe I'll look into changing the stack to LibreOffice

[–] ObM 6 points 1 year ago (2 children)

Does it need to be “hosted”?

I like both these:

yEd (https://www.yworks.com/products/yed)

Dia Diagrams (http://dia-installer.de)

I think yEd had a free version but closed source.

[–] [email protected] 2 points 1 year ago* (last edited 1 year ago)

AFAIK, unfortunately Dia hasn't been maintained and hasn't got a new release for a really long time. It's still using GTK2.

[–] chandz05 1 points 1 year ago (1 children)

I guess it doesn't need to be self-hosted, but it would be nice. I'll check these out! Thanks for the suggestions!

[–] ObM 1 points 1 year ago

These are fully stand alone. Downloadable. So not strictly hosted I guess?

[–] [email protected] 4 points 1 year ago

You should check out d2. It’s a code to diagram tool. You put some very simple coke and it draws your diagram. Quite quick and useful. Been using it for a while now.

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

cryptpad could be selfhosted and has a visio part too. You can test it here:

https://cryptpad.fr/diagram/

[–] chandz05 2 points 1 year ago

Ok that's pretty cool. Thank you!

[–] [email protected] 2 points 1 year ago (2 children)

Wikijs supports mermaidjs doesn't it? It's a very powerful markup to diagram tool

[–] [email protected] 2 points 1 year ago

I came to suggest mermaidjs too.

[–] [email protected] 2 points 1 year ago

Typora also supports it, it's a great low-overhead tool overall.

[–] [email protected] 1 points 1 year ago

I personally like using dot(1) (https://linux.die.net/man/1/dot) but some people are into PlantUML.

[–] Zelyios 1 points 1 year ago

The correct answer is : excalidraw

[–] [email protected] 0 points 1 year ago* (last edited 1 year ago)

ChatGPT to spit out mermaid that gets rendered in many markdown renderers these days. As its code you can git version it too!

Or there is C4 diagrams from code using structurizr..