RareDevs / Rare

Rare is an Epic Games Launcher open source alternative, using Legendary.
https://raredevs.github.io/Rare/
GNU General Public License v3.0
663 stars 23 forks source link

Support XMPP friends service? #93

Open poVoq opened 3 years ago

poVoq commented 3 years ago

This will probably require a bit of reverse-engineering, but it seems like the Epic Store friends service uses a pretty standard (but feature limited) XMPP server as the backend.

Some public info here: https://www.epicgames.com/fortnite/de/news/postmortem-of-service-outage-at-3-4m-ccu

It stands to reason that the setup is similar or indeed identical to the Fortnite XMPP chat with can be accessed through fairly standard XMPP means: https://github.com/Vrekt/Athena/blob/master/src/main/java/athena/xmpp/XMPPConnectionManager.java

There are two really high quality Python XMPP libraries that could probably be utilized: https://slixmpp.readthedocs.io/en/latest/ https://github.com/horazont/aioxmpp

And Gajim is a Python based xmpp client that could maybe also serve as inspiration: https://dev.gajim.org/gajim/gajim

Edit: https://github.com/jabbercat/jabbercat This might be even easier to adapt, as it is qt5 & python based. Uses Aioxmpp internally.

Would be cool if you could look into this :)

Edit: This also includes several XMPP references: https://github.com/MixV2/EpicResearch

ChemicalXandco commented 3 years ago

This is out of the scope of rare. You should create an issue at https://github.com/derrod/legendary/issues instead. Rare cannot implement it unless legendary has the capability to use it.

poVoq commented 3 years ago

I would say this is way out of scope for Legendary, as the social features need an UI and are totally independent of the API calls that Legendary does. But of course if there is no interest in including this in Rare then I guess I can close this.

Dummerle commented 3 years ago

Legendary plans to add friend services, but I don't know how long it takes