How would one advertise based on the contents of a repository anyways? Searching for a lot of swearing in the commit messages and recommending anger management?
[edit: not to mention company lawyers looking to sue some NDA violating employees]
Perhaps you could grep for common libraries like "ffmpeg" and make a guess as to what sort of software it is. Maybe a video editor/player in the case of ffmpeg. Once you figure that out, you could show advertisements for the same sort of software.