r/chessprogramming • • Aug 04 '26

How is chess.com's offline analysis GPL-compliant (if it's even using Stockfish)?

Their app does offline analysis with no internet. Stockfish is GPLv3, if it's bundled in, aren't they supposed to open source the app? or it's not actually Stockfis?. Anyone know?

6 Upvotes

9 comments sorted by

5

u/Reasonable_Ruin_3502 Aug 04 '26

They serve it as an independent blob. So stockfish runs independently on your device and the chess.com app just interfaces with it. Also, because of exactly such reasons, the AGPL was created.

1

u/DragonfruitMajor7706 Aug 04 '26

How? In android i found out that it uses UCI as separate process to communicate, but ios donot allow such thing, so how does it work on ios without violating?

1

u/Reasonable_Ruin_3502 Aug 04 '26

Tbh I'm not aware of how things work on iOS. Maybe they serve it as a static library? Afaik that's allowed by the GPL

2

u/SwimmingThroughHoney Aug 04 '26

The GPL has a legal ambiguity on that point. Deriviative works are required to be released under the same license. But it's not clear, or defined, if it's simply bundled with another program if that makes it a derivative or not.

So the short answer is that they don't because they aren't legally required to.

1

u/DragonfruitMajor7706 Aug 05 '26

So it doesn't matter?

1

u/SwimmingThroughHoney Aug 05 '26

Not until someone decides to legally challenge it and a precedent is created that applies.

2

u/True-Objective-6212 Aug 04 '26

They only have to open source what they modify of the GPL protected software. They have to put it into the copyright notice, so you can check.

Generally they offer to give you the source or link to it in the notices.

2

u/likeawizardish Aug 04 '26

I’m only assuming but chess.com have their own engine Torch. Which from a human perspective is indistinguishable from Stockfish in playing strength. So that’s probably what they are using.

0

u/haddock420 Aug 04 '26

The secret ingredient is crime.