Skip to content
This repository has been archived by the owner on Dec 16, 2021. It is now read-only.

Litecord support (how to edit base URL) #325

Open
Titaniumtown opened this issue Aug 25, 2020 · 7 comments
Open

Litecord support (how to edit base URL) #325

Titaniumtown opened this issue Aug 25, 2020 · 7 comments
Labels
enhancement New feature or request

Comments

@Titaniumtown
Copy link

What do you want

A way to change the base URL for cordless in the form of a config file in ~/.config/cordless/

Why

It would benefit cordless because it would be able to connect to custom backends for discord. One of those custom backend is litecord (https://gitlab.com/litecord/litecord), which is written from scratch in python, that can be self-hosted.

Implementation hints

Make a config file of some sort in ~/.config/cordless/ that has an option to change the base url. And by default, this option would be the official discord servers, but with the added ability of the user to change it.

@Bios-Marcel
Copy link
Owner

Nice idea, love it

@Titaniumtown
Copy link
Author

I just found out about litecord and would love to give it a spin, but cordless doesn't have support for custom Base URLs. Once this is implemented, someone might want to make a PR to https://gitlab.com/litecord/litecord/-/blob/master/docs/clients.md to add cordless to the supported clients.

@Titaniumtown
Copy link
Author

Titaniumtown commented Aug 25, 2020

Where is it hardcoded now? I can't seem to find it. I did

grep -R "https://discord.com/" .

@Bios-Marcel
Copy link
Owner

@Titaniumtown
Copy link
Author

Ok. I'll look forward for a commit that adds this option!

@Bios-Marcel Bios-Marcel added the enhancement New feature or request label Aug 31, 2020
@NDagestad
Copy link
Contributor

Would you consider keeping cordless around so it can be used as a litecord client ?

@Bios-Marcel
Copy link
Owner

Bios-Marcel commented Nov 23, 2020

Hey @NDagestad , I'll probably keep up the repository either way and probably even do another official release. However, I've already informed everyone who uses a package manager via an intentionally crippled build. You can still install cordless manually and you can still fork it, it is and stays open ;)

I've already added the ability to change the URLs, so litecord might already work. I might add a way to configure the URLs from within the cordless config today. Do you have a litecord backend in mind that I can test with?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants