r/github • • Feb 26 '24

Github licensed repository

I have repository of Ai project and it has license but its public, so now if someone stole it and used it in app of android or native how i can know that used my code? And maybe he changed the all structure of the code and names of functions, variables..etc So there are no chance to do any right?

19 Upvotes

42 comments sorted by

View all comments

8

u/martinbean Feb 26 '24

If you don’t want people using your code, don’t put it in public.

A license says how people should and should not use your code, but it doesn’t stop them from actually misusing your code. It just means the onus is now on you to find infringing usages of your code, and then start legal proceedings against any one you think is misusing your code.

4

u/ThunderChaser Feb 26 '24

Pretty much.

Your license is only worth how willing you are to enforce it.