It's really hard to comment on things like this because I'm no lawyer. I can only speak from experience and have yet to have any IP issues or have any "sue happy" clients. I would just put the library on Github, apply a license and move forward. I wouldn't get hung up on anything like this.
We're a place where coders share, stay up-to-date and grow their careers.
We strive for transparency and don't collect excess data.