Self hosted Wetransfer?

eggbert1234@feddit.de to Selfhosted@lemmy.world – 35 points –

Hello, i am looking for a self hosted application for sharing files like with wetransfer. I have tried the discontinued Firefox Send which has nice features like link expiry and works great in general but lacks authentication (only offers simple password protection). I also want the option to share with registered users. Is there anything similar out there? Thanks

39

You can selfhost Bitwarden/Vaultwarden (which I recommend, since it's rewritten in Rust and you get all the premium features for free) and use Bitwarden Send. This is probably more secure than most other options.

Though for the actual password selfhosting part of it, that is too much for my blood. Much higher chance that I would seriously fuck something up and lose access to hundreds of services than the remote bitwarden server gets compromised or becomes too shitty to use.

You can continue using the cloud hosted version of Bitwarden and only use your own instance for file sharing.

Or pay the astoundingly low $10/yr for Premium and use Send on the cloud servers.

Sure, I've been a premium customer for years because I find the service very useful, but this community is all about selfhosting.

True enough, but I like to slide in an ad in for Bitwarden every once in a while. I don't think my $10 alone is going to keep them afloat :)

I pay my $10 license and a personal organisation license for bitwarden because I like their platform but after yet another irrecoverable loss of data (partly my fault for not sufficiently backing it up) I've moved over to vaultwarden for my family's password management.

I don't think I'll stop supporting bitwarden even if I'm not using their platform directly though as I do like the service I've had from them for something like 4 or 5 years now.

How'd you manage to lose data? I've never even noticed the sync service be down, let alone lose anything.

One time I ran out of disk space due to it having created since 200gb log files (not sure why that happened) then another time I think I broke something whilst moving from I've got to another. I can't remember what else happened to break my instances but it was always big enough there I couldn't restore it to working it after hours if work, so if just export the vaults from everyone's machine, nuke it, start again and try to learn how I broke it so I didn't do it again.

I believe I was the problem for most of them except the massive log files one, but still, it was probably my fault as the things usually are. (Guess whose wife has them well trained at accepting the blame πŸ˜‹)

Oh, sorry. I thought you were saying the Bitwarden cloud server was losing your passwords or something.

If you have regular backups, not an issue. I use bitwarden self hosted through home assistant, which makes daily backups trivial.

I was recently introduced to Croc which is great for point-to-point immediate shares. If you want something async, I wrote Korra some years ago. It might do the job for you.

Croc has worked nicely for me when I had to transfer very large files. I'll check out Korra next time if "async" means it will start transferring once the first file is hashed. That always annoyed me about Croc and I'd manually break my transfers into chunks because I didn't want to wait 10min before even one file was transferred.

Not really. It's async in the sense that you can send a file now, and the server will hold it in an encrypted state until your recipient comes to collect it.

Ah, so it's not [necessarily] a direct transfer between peers.

Nope. It's definitely not. The idea is just to make it safe(r) to share files within an organisation. The assumption is that for direct P2P sharing you'll want something simpler like Croc.

I guess nextcloud could do it, but you get a whole lot more in the same package.

https://docs.nextcloud.com/server/latest/admin_manual/configuration_files/file_sharing_configuration.html

This is a bit overkill for my purposes...i just need the filesharing part...

No personal experience with it but this project seem to be interesting for your use case and have a docker so it's easy to test:
https://github.com/filebrowser/filebrowser

Filebrowser is awesome, but I dont think you can share files with non users.

It supports sharing via public link. But I don't think it has sharing with registered users via username.

Dang I didnt know that, my bad...

Yeah, I've used Nextcloud for this in the past too, but it looks like there's a ton of other options as well judging by this thread.

I use Pingvin only thing it does not have is sharing with registered users but it seems that feature has been requested so might be added at some point.

Seafile. I've used it for years, but I'm moving over to nextcloud as I could use other features it provides. They have paid options too, but unless you need LDAP or something more sophisticated for user management the community edition works just fine.