If it is an open source license, see what they are built on and use that.
And yes, using anything built on certain license is free and encouraged.