I have question about MIT licence code sources

  1. Can I publish code snippets [MIT licence] from site like bootsnipp to my blog?
  2. Do I have to include source link to site where I have found that snippet (it has been published there first and its MIT)? or not?
  • 4
    ...have you read the license? – jonrsharpe Aug 30 '15 at 11:58
  • Yeah.. i have read MIT license the first answer is rhetorical and clear "yes".. but for second am not sure.. that's why i ask – Adam Demotiv Aug 30 '15 at 12:01

The MIT license states:

Permission is hereby granted ... to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software ... subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

There's only one condition you are subject to: include the copyright notice. Therefore, the answers to your questions are:

1) Yes, you can copy and publish them as long as you include the copyright notice.

2) No, you are not required to link to where you found it. But it's still a good idea to cite your sources even if the license doesn't require you to do so.

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.