revoltchat / desktop

Revolt Desktop App
GNU Affero General Public License v3.0
802 stars 97 forks source link

3rd Party Server Support #53

Open headap opened 2 years ago

headap commented 2 years ago

The client should be able to log in to self-hosted servers besides the flagship revolt.app server.

I suggest a third field upon login (besides email and password) which will by default contain the flagship server url but can be easily changed prior to logging in

Rexogamer commented 2 years ago

We've discussed this internally and right now we don't currently have plans to add support for third-party instances. I know this is disappointing, but if we have any updates on this (or we decide on any paths involving third-party support) we'll make sure to share them.

bitfl0wer commented 2 years ago

Are there any updates on this? It would be really great to be able to comfortably use self-hosted instances without having to manipulate config files.

aqua-pro commented 2 years ago

Greetings, dear friends

Is there any update to this issue? I'd like to selfhost my own server instance and use the desktop client. I believe many people who are privacy-minded like me would want to do so, too, it's how I found out about Revolt in first place

If you are not going to add support, would you mind showing me on what files the connection string is? This way I'd distribute the binary files myself to my friends

Thank you

Rexogamer commented 2 years ago

The URLs can be found in this function - replacing these with your own instance's Revite links should be sufficient

bitfl0wer commented 2 years ago

I am sorry to say it like this, but having to dig into config files and changing variables is absolutely not end-user-friendly. It would be great if you could choose the instance you'd like to connect to on login, via UI

insertish commented 2 years ago

I am sorry to say it like this, but having to dig into config files and changing variables is absolutely not end-user-friendly. It would be great if you could choose the instance you'd like to connect to on login, via UI

Two things:

There may be other security considerations here too.

GanimanSwift commented 1 year ago

This seems like it would be a relatively easy to add feature. Just dont hard-code the clients to connect to revolt.chat and make them variables, and put some option on the log in menu to enter a custom server URL and default it to revolt.chat. Its amazing that this is an open source project, but neglecting to add this type of feature goes against the spirit of open source. If you are trying to lock people into using Revolt on revolt.chat, then why even publish self-hosted methods.

ImVexed commented 6 months ago

Bump on this. Seems very strange to let people self-host the whole backend and access the same UI in the browser - yet gate keep setting the login url in the electron shim.

aqua-pro commented 2 weeks ago

Bump on this. Super easy change. privacy friendly, decentralized, giving people choice. All of these things are good things. Don't limit people's choice on which server to connect with your released binaries.

Just open it to the world, you've already opened the source code, why not add this option?

Why even have a docker backend if you need to modify and compile the binaries for anyone to connect to?

More people might use Revolt after this change. I would be one of them. I wanna use Revolt, but on my own terms.

Everything is ready except the hardcoded connection string. Just add an optional setting to change the server connection. Some people will appreciate it a lot.

insertish commented 2 weeks ago

Just re-opening the issue, anyone is free to tackle this.

NB. I think the direction we are heading is replacing revoltchat/desktop with a Tauri app which is currently in revoltchat/frontend!