szimek / sharedrop

Easy P2P file transfer powered by WebRTC - inspired by Apple AirDrop
https://www.sharedrop.io
MIT License
9.94k stars 725 forks source link

Deployment without firebase #84

Open NoverNobida opened 4 years ago

NoverNobida commented 4 years ago

How to deploy it without Firebase?

szimek commented 4 years ago

Unfortunately, it's not really possible at the moment. I had an idea to introduce some kind of adapter that would allow to switch backends (e.g. to https://socket.io/ or something that can be self-hosted), but never had time to do so.

Firebase has a free option (which ShareDrop is using ;)), so unless your goal is to have everything self-hosted without any external network communication, you could use that.

SuperSandro2000 commented 4 years ago

your goal is to have everything self-hosted without any external network communication

Yes?

I would love to see this feature in the future if you or someone else finds the time to implement it.

stephen304 commented 3 years ago

This would also be necessary to deploy sharedrop for peer to peer file sharing on a mesh network with no internet connectivity (such as devices networked with cjdns or yggdrasil).

unmellow commented 3 years ago

@stephen304 also if you wanted it on beaker browser if you heard of that

danperks commented 3 years ago

@szimek Are you accepting external pull requests, e.g. if I was to work on some of these features, as you said you didn't have alot of time right now?

szimek commented 3 years ago

@danperks Sure, but this would really have to be possible to configure which service one would like to use for presence and WebRTC signaling. I really don't want to worry about socket.io, monitoring it, maintaining it, maybe even persistence if more than one server would ever be needed etc.

If you have time to extract both the existing Firebase integration and e.g. socket.io integration into separate adapters, then sure.