Answers.Body: <p>I'm the Technical Lead of Chessable and the exact person who integrated SF on Chessable.</p>
  <p>There are no license issues here because web app is not the same work as a Universal Chess Interface (UCI) chess engine.</p>
  <p>Technically you do have the code because the whole UI in JavaScript is being sent to your web browser. Check your Google Chrome network tab, you will find all the JS source code there! We are doing client side JS Stockfish integration, so we can't stop you from copying the minified but working JS code. However, we are not going to give you the code like in GitHub format.</p>
  <p>Thanks for trying our SF integration!</p>
  <p><a href="https://opensource.stackexchange.com/questions/11490/minified-gpl-code-inside-javascript-webapp">https://opensource.stackexchange.com/questions/11490/minified-gpl-code-inside-javascript-webapp</a> is incorrect. The answer failed to address the UCI protocol. All communications via the engine is being done by the UCI protocol. The exact same code without any kind of modification can run on any other chess engines following the UCI protocol. Komodo on chess.com is an excellent example.</p>
  <p>The engine and rest of the app is not considered a standalone work, which is what GPL is about. It's like Chessbase shipping their GUI and Fat Fritz 2. Did you ask Chessbase for source code of their GUI? The SF engine in JS is not an executable linking to the app. It's actually <strong>you</strong> who chooses a browser and run the SF. It does that by running web workers like Chessbase on a standard UCI protocol. Stockfish is not a library or derived work, it's an independent piece of code that your own browser runs it.</p>
  <p>PS: Any views here are not my employer's and purely mine.</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2021-03-29T15:35:18.523Z
Answers.Text: Comments are not for extended discussion; this conversation has been [moved to chat](https://chat.stackexchange.com/rooms/122415/discussion-on-answer-by-smallchess-using-stockfish-in-commercial-apps).
Answers.UserDisplayName: Brian Towers
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2021-03-30T07:26:29.903Z
Answers.Text: Didn't expect my simple answer attracted so many brilliant responses! My most successful response ever!
Answers.UserDisplayName: SmallChess
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2021-03-26T15:50:00.487Z
Answers.LastActivityDate: 2021-03-30T15:42:42.720Z
Answers.LastEditDate: 2021-03-30T15:42:42.720Z
Answers.UserDisplayName: SmallChess
Body: <p>Stockfish uses a GPLv3 license, which requires you to release your source code if you use it. This then makes your own code GPLv3. However, chess.com, chessable and decodechess all use Stockfish.</p>
  <p>So, how do they use it without releasing their source code? Or, are they taking a risk?</p>
  <p>I've read some stuff about pipes, wrappers, running off the server does not count as distribution. Perhaps someone with more knowledge on this can share what they know.</p>
  
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2021-03-29T10:29:37.800Z
Comments.Text: Related: https://opensource.stackexchange.com/q/11490/9666 . This also answers partially your question.
Comments.UserDisplayName: Federico Poloni
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2021-03-31T19:20:20.840Z
Comments.Text: In case of doubt, lichess is fully compliant with stockfish;s GPLv3 license.
Comments.UserDisplayName: aloisdg
Tags: <engines><stockfish><development>
Title: Using Stockfish in Commercial Apps
ThreadText: # Using Stockfish in Commercial Apps
  
  (Asked by: username_0 on 2021-03-26)
  
  Stockfish uses a GPLv3 license, which requires you to release your source code if you use it. This then makes your own code GPLv3. However, chess.com, chessable and decodechess all use Stockfish.
  
  So, how do they use it without releasing their source code? Or, are they taking a risk?
  
  I've read some stuff about pipes, wrappers, running off the server does not count as distribution. Perhaps someone with more knowledge on this can share what they know.
  
  **Tags:** engines, stockfish, development
  
  > **Comments:**
  > **username_1**: Related: https://opensource.stackexchange.com/q/11490/9666 . This also answers partially your question.  
  > **username_2**: In case of doubt, lichess is fully compliant with stockfish;s GPLv3 license.  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_3 on 2021-03-26. Score: 6 | Accepted answer
  
  I'm the Technical Lead of Chessable and the exact person who integrated SF on Chessable.
  
  There are no license issues here because web app is not the same work as a Universal Chess Interface (UCI) chess engine.
  
  Technically you do have the code because the whole UI in JavaScript is being sent to your web browser. Check your Google Chrome network tab, you will find all the JS source code there! We are doing client side JS Stockfish integration, so we can't stop you from copying the minified but working JS code. However, we are not going to give you the code like in GitHub format.
  
  Thanks for trying our SF integration!
  
  <https://opensource.stackexchange.com/questions/11490/minified-gpl-code-inside-javascript-webapp> is incorrect. The answer failed to address the UCI protocol. All communications via the engine is being done by the UCI protocol. The exact same code without any kind of modification can run on any other chess engines following the UCI protocol. Komodo on chess.com is an excellent example.
  
  The engine and rest of the app is not considered a standalone work, which is what GPL is about. It's like Chessbase shipping their GUI and Fat Fritz 2. Did you ask Chessbase for source code of their GUI? The SF engine in JS is not an executable linking to the app. It's actually **you** who chooses a browser and run the SF. It does that by running web workers like Chessbase on a standard UCI protocol. Stockfish is not a library or derived work, it's an independent piece of code that your own browser runs it.
  
  PS: Any views here are not my employer's and purely mine.
  
  > **Comments:**
  > **username_4**: Comments are not for extended discussion; this conversation has been [moved to chat](https://chat.stackexchange.com/rooms/122415/discussion-on-answer-by-smallchess-using-stockfish-in-commercial-apps).  
  > **username_3**: Didn't expect my simple answer attracted so many brilliant responses! My most successful response ever!  
  
  ---
  
  