3

Short description About My question

  • I would like to create a REST API in my server that internally use a GPL library. As far as I know the GPL license affects the 'distribution' not the 'usage'.

-So whoever calls(uses) my REST API shouldn't be affected by the GPL license right ? Am I obliged to distribute the API code that uses the GPL library?

  • So must I Distribute Code server and make it under GPL?
  • 1
    The title of this question does not match the body. And not the GPL is commercial. – ctrl-alt-delor Mar 9 at 19:01
4

This boils down to “what is a derivative work?” and the answer is “we don't really know”.

However, there seems to be general industry consensus that a server program and a client program that behave as separate programs and just communicate over some IPC mechanism such as HTTP messages are separate works, not derivative works of each other. If that is the case, distributing the client cannot trigger any GPL requirements in the server code.

This means your understanding seems correct.

  • As long as you don't distribute/convey your server software you do not have to disclose the source code.

  • You are correct that the GPL does not trigger when merely running the software.

  • Exception: if you include modified AGPL-covered software then that already triggers when users can interact with that software, i.e. when you publicly perform the software.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.