Plenty of us are using Docker, Podman, Incus, chroot jails, etc to isolate services.

It has become good practice and it makes setting up yet another service, usually, so convenient.

Some services like YunoHost, StartOS, Cloudron and others try to facilitate the process.

What I haven’t seen though is a way to facilitate interoperability BETWEEN services we self-host. Sure there are plugins for each service, e.g. https://www.npmjs.com/package/peertube-plugin-livechat to provide XMPP chat for PeerTube, or anecdotal discussions e.g. https://github.com/jitsi/jitsi-meet/issues/7601 to embed PeerTube on Jitsi Meet.

So… how do YOU do it? How do you make on self-hosted service with another? Do you check after each one you install in the plugin category? Do you write your own plugins or extensions? Do you have a design pattern (e.g. Swagger API discovery with token generation per service, “cheat” via sockets, use a dedicate new service or even host) which you repeat?

I do ask because I bet most of you have a moment like this :

  • Hey how about we start this new project together?
  • Yes, let’s change the World!
  • OK let’s write manifesto.md
  • Where are we going to host it?
  • Hmmm we could use my Cryptpad instance…
  • OK but I don’t get notification on my GMail, could we use GoogleDocs instead?

So… I feel like FLOSS self-hosting is honestly on-par functionality-wise with proprietary solutions. I might be bias but it’s rare when I think “Damn… that’s cool, shame I can’t have it at home”. I can nearly always (in fact I have a hard time thinking of an example) self-host functional equivalent solutions myself. The ONE thing that I feel is often missing is integration which relies on interoperability.

How do YOU it?

PS: this isn’t about ntfy, PeerTube, HA or any specific service to a specific problem, it’s about HOW to facilitate, when one wants to, already great services work together.

  • dfense@lemmy.world
    link
    fedilink
    English
    arrow-up
    1
    ·
    edit-2
    3 hours ago

    As an example, what I do with n8n to hook services together:

    • We use Zello in firefighting to document the incident with short verbal notes or take pictures. Voice gets transcribed, sent to MQTT for dashboards, taken by Telegraf to influx. Pictures and mp3s get downloaded from zello, put into minio, linked back with the metadata and also sent to influx. Finally all is displayed in chronological order on a Dashboard. Zello, Minio, MQTT, influx all glued together with n8n.
    • Another one is the appsmith app for equipment maintenance. We need reports and appsmith is bad at that. n8n queries the Source pgsql, formats it to JSON, sends it to an online service to generate a PDF (with a template), downloads the PDF and puts it into Nextcloud.

    There is more, but just as two examples. Quite easy in n8n, because many integrations are preconfigured (e.g. Nextcloud), but also plain REST API if necessary (zello).

    All without AI…

    Edit: Forgot one, Rocket Chat to keep everybody updated on a bunch of stuff, e.g. new maintenance report available, message on the day of a training, based on caldav. Also all with n8n.