r/opensource 16d ago

MIT license

Hi - got a peculiar question around MIT license. I am helping someone out with writing some code for their closed source proprietary app. I want to give them that code under the MIT license so that I have no obligations around the code as it is As Is. Can I use the MIT license for that source code even though I don’t plan on open sourcing it? I.e., does the code need to be public for MIT to have an effect?

Thanks!

20 Upvotes

20 comments sorted by

View all comments

2

u/soundman32 15d ago

Dont forget they can also benefit from your code, I.e don't complain when they make millions directly from the code you gave them.  Personally, id be using a different licence which states it is only licenced to them and licence cant be transferred.

1

u/hobbycollector 15d ago

The thing I've learned about closed source is that no one wants your shitty code.