this post was submitted on 03 Aug 2024
9 points (84.6% liked)

Selfhosted

40152 readers
856 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
 

many times I find myself in situations where I’m on some computer which is totally isolated - friends computer, completely newly installed (VM), some corporate remote desktop where I can’t install anything — and I need to transfer some information to this computer.

Ideally what I would have is:

  • some sort of web chat
  • self hosted (so that I can spin it up only when I need it, and that I can “destroy” all the data after each session)
  • simple URL where you specify a room name edit it (eg.: domain.com/qck-321)
  • on open you specify username (no other authentication)
  • first person who joins needs to confirm all the others (so people can’t just “drop in”)
  • no fancy technology (web sockets,…)

what I found so far:

  • https://tlk.io/ - quite close but not all points
  • https://chitchatter.im/ - this one is quite promising but unfortunately it failed me on first windows remote machine (probably due to some firewall rule)

I’m more that prepared to develop something my self but first I would like to check if there is really nothing out there to solve this.

Bonus question- do you have any other approach - how do you transfer (potentially sensitive) information to a “isolated” machine?

top 10 comments
sorted by: hot top controversial new old
[–] JASN_DE@lemmy.world 7 points 3 months ago (1 children)

Apart from the world of trouble you might get yourself into when doing such things on secured systems, why are you going at it in such a complicated way?

Why not simply use a self hosted file/document storage and sharing solution like Nextcloud or Pydio Cells or something like that? Reachable through standard HTTP(S), which is a lot easier to reach than most other protocols.

[–] mwalker789@lemmy.world -1 points 3 months ago

let’s just assume thatI know what security risks are.

now let’s follow you idea- so what would be first step? I need to keep running whole instance of nextcloud for a few minutes where I transfer data. what would be the URL I need to access on remote machine? If it some domain with additional parameters in it - I’m trying it, and even if I do.., do I need to TYPE my username and password then? I don’t remember when I lost time type my password somewhere… not to mention that usually systems have some weird keyboard layout and I’m spending hours finding & sign on it :/ not ideal at all

[–] solrize@lemmy.world 5 points 3 months ago (1 children)

I don't understand the bonus question, and there are a lot of subtlties to multi-person secure chat. Does the user agent really have to be a web browser instead of, say, an ssh terminal? What do you expect to use instead of web sockets, in a browser?

On different occasions I've used irc or nextcloud chat, neither of whichis ideal. Plus ytalk but that is 2-person only. There used to be fairly busy discussion on the moderncrypto.org messaging forum but I think that is quiet now.

/u/positive_intentions@lemmy.ml might be interested too.

[–] mwalker789@lemmy.world -1 points 3 months ago

well - I connect to WIN machine every 5years … I really don’t know compatibility of SSH on it. And i’m not planning to learn - on the other hand - browser is always there

[–] butitsnotme@lemmy.world 5 points 3 months ago

I would probably use ntfy.sh for this purpose. It doesn’t quite meet all your requirements, but you could use a random channel name and get some amount of security…

You can self host it, or use the hosted version. (I know it’s technically not chat, but it works on a series of messages, it just happens to call them notifications.)

[–] haerrii@feddit.org 4 points 3 months ago

Might not tick all boxes, but etherpad may be a nice alternative for you. It's more like a collaborative note taking thing, but gets the job done if you're not too concerned about encryption and hide the server behind a simple HTTP authentication.

[–] halm@leminal.space 3 points 3 months ago

I don't have a concrete suggestion for your use case, but IM doesn't seem like the most intuitive tool for this? If you're going to transfer files or data from one computer to another that is physically in the same room, maybe try a local network transfer instead of opening up an advanced web server with all kinds of moving parts?

I'd look at something like Sharedrop and see if there are alternatives that will offer a browser-based interface.

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

Are you actually chatting with anyone or is that just your authentication?

Something like magic-wormhole (or webwormhole) seems better suited to file transfers, or onetimesecret for shorter chunks of text. Both of which are self hostable.

[–] mwalker789@lemmy.world 1 points 3 months ago

wooow nice - first relevant answer! thx

[–] neatchee@lemmy.world 1 points 3 months ago

My solution for this type of situation is MicroBin running on my home network from a non-standard port, with a port knocker to open and close the port when needed.

My router handle DDNS so I can always contact my home network easily. I port-knock to trigger an iptables command on the router to forward traffic to the MicroBin host.

I also have my phone set up to connect via openvpn to my home network so that I can remotely do things like start and stop services, set port forwarding rules, etc.