SpacingBat3 / WebCord

A Discord and SpaceBar :electron:-based client implemented without Discord API.
MIT License
1.98k stars 99 forks source link

Discord RPC #292

Open MenacingPerson opened 2 years ago

MenacingPerson commented 2 years ago

This would be cool. I couldn't find an issue already tracking it.

SpacingBat3 commented 2 years ago

Previously, my main excuse to not implement it was to avoid the use of the API, but since I saw Discord can actually handle some request via specific pages it might be possible to use that with my current WebSocket and future IPC socket implementation.

I'll probably not work on it for now through, but I just wanted to share it might be possible to do this only by wrapping the Discord web pages (like in case of invite requests).

CanadaHonk commented 2 years ago

You can try RPC with Webcord unofficially using arRPC with this guide (confirmed working for a few people) :)

Alee14 commented 2 years ago

Is there a way to implement it without having to do things manually?

CanadaHonk commented 2 years ago

@Alee14 Would require integration with Webcord which I can't really do myself.

orowith2os commented 1 year ago

Maybe bump the milestone, since v4 is out @SpacingBat3

Additionally, arRPC integration seems to work nicely, maybe I could try implementing it myself? Not sure what changes WebCord will need to support it OOTB though.

RiQuY commented 5 months ago

Is this feature planned or are there any news on its current status?

SpacingBat3 commented 4 months ago

Some work was done on it in Disconnection, and I've also implemented some way of process separation of IPC/WebSocket server implementation, giving some benefits like crashes or DoS of it not affecting the main app. As of Disconnection, I really need to test these changes and polish them for a proper error handling support that is compatible with what's Discord's doing…

Please check/track Disconnection for more details and updates on this…