Re:Ask HN: Good source code search engines?
by boyter on Monday August 29, 2016 @08:34PM
(#12386527)
Thank you.
That's one that comes up a lot. The trick is knowing the difference between the two which I am still thinking about how to implement.
If you could email me at [email protected] that would be very helpful. It looks like most of these are down to just not having enough code indexed.
For the record I tend to crawl bitbucket/gitlab more often then github simply because they do not have a search and I want that code to be available. I have started a full refresh of everything though so hopefully your results should improve in a few weeks.
Re:Ask HN: Good source code search engines?
by supersan on Monday August 29, 2016 @09:10PM
(#12386685)
That is really great news. One way I can think off to distinguish a library from other code is how many times the file shows up in your search results, i.e. the more the duplicates of a file you find (in various repos), the higher the chance it is a library.
Anyway, here are some links you can try for yourself:
No php results:
1. https://searchcode.com/?q=CORSConfiguration+CORSRules 1. https://github.com/search?l=php&q=CORSConfiguration+CORSRule...
Only SDK libraries, what I think would be useful if the search engine somehow prioritized code built on SDK/API over libraries (though I don't have the first clue how you would distinguish the two but that would be a killer feature because that is super useful)
2. https://searchcode.com/?q=createEnvironment+ElasticBeanstalk... 2. https://github.com/search?l=php&q=createEnvironment+ElasticB...
I can provide you with more examples, if that helps. Thanks!