Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Suggestion]: Make discord-presence optional #123

Open
1 task done
Bqleine opened this issue Mar 9, 2025 · 1 comment
Open
1 task done

[Suggestion]: Make discord-presence optional #123

Bqleine opened this issue Mar 9, 2025 · 1 comment
Labels
enhancement New feature or request

Comments

@Bqleine
Copy link

Bqleine commented Mar 9, 2025

Is your suggestion related to a problem? Please describe.
Discord is non-free software, and it is too bad that an unrelated free software would try to interact with it, while I understand the fun intent I would enjoy it remaining optional.

Describe the solution you'd like
I would like the discord-presence dependency to be made optional, possibly under a cargo feature.

Describe alternatives you've considered
Patching the source to remove the dependency.


I’m open to making a pull request for this, if you agree with the suggestion.

@Bqleine Bqleine added the enhancement New feature or request label Mar 9, 2025
@bragefuglseth
Copy link
Owner

bragefuglseth commented Mar 9, 2025

Hi, and thanks for voicing your concern. I’ve been thinking about something like this too, but for a different reason, which is that the current implementation of the Discord integration requires Keypunch to poke a persistent hole in the Flatpak sandbox. This results in e.g. Flathub and GNOME Software downgrading our safety rating (and rightly so). It’s not a good look in terms of neither privacy nor security.

What we’ll end up with is likely a solution where the Discord integration has to be manually enabled in the app by "opening" Discord’s system folder in a one-time setup process, thus granting Keypunch sandboxed access to it in a transparent manner. Doing this is of course going to be optional and revokable; after all Keypunch works just fine without it.

I’m not really interested in making the discord-presence dependency optional, though, as it would unnecessarily complicate the codebase with minimal to no gains from my perspective. It’s also worth noting that discord-presence is fully open and licensed under the MIT license; I would never ship proprietary software in Keypunch itself to enable this.

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

No branches or pull requests

2 participants