The is a single file source code that I have used as a base for my little project. That source code already works as it is.
The problem is its syntaxes, variable naming, spacing, and so many unused lines of code/variables. I consider it as bad and does not follow the conventions at all.
Now I have re-written the code and added some new features. The changes in the code are over 80%.
The source code that I used as a base is licensed Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License
According to the license, I can:
Share — copy and redistribute the material in any medium or format
This is what I am going to do.
Under the following terms:
Attribution — You must give appropriate credit, provide a link to the license, and indicate if changes were made. You may do so in any reasonable manner, but not in any way that suggests the licensor endorses you or your use.
In this case, I will give a link back to the original repository/source code.
NonCommercial — You may not use the material for commercial purposes.
I will not sell it and will publish it as free.
NoDerivatives — If you remix, transform, or build upon the material, you may not distribute the modified material.
I don't understand this part. Why am I not allowed to distribute "modified material" when I can just "indicate if changes were made" as stated in the attribution.
I want to publish my re-written code with new features on GitHub with MIT license. Can I do it or will I encounter problems?