You found some code on the internet that solves the exact problem you’re having! Great! But can you use it? What licence does it have? I’ll discuss categories of software licences, a few representative software licences, and how they interact with each other and with proprietary code.
I am looking for editors/curators to help with branches of the tree. Please send me an email if you are interested.