📜 ⬆️ ⬇️

Searchcode 2.0



Recently launched a new version of search engine source code Searchcode . In his index - projects with Github, Bitbucket, Google Code, Codeplex, Sourceforge, Fedora Project and others. There are more than 18 billion lines of code from more than 200,000 projects in total.

Searchcode has open APIs with no limit (for now) on the number of requests, even an API key is not required.

Searchcode feature - filter support for more than 90 programming languages ​​and the ability to use special characters when searching. There are also filters by source and repository.
')
Query examples
using System.Linq;
i ++;
api.duckduckgo.com
Backbone.Collection.extend
import pandas
mysql_query lang: PHP
List
re.compile lang: Python



By the way, if you specify ! Code in the request in the DuckDuckGo search engine, it will immediately redirect to Searchcode. This is very convenient if DuckDuckGo is installed as the default search engine in the browser.

Searchcode developer Ben Boyter writes that he rewrote a new version on Django, but still uses Sphinx as a search engine. The site runs on two servers, so do not load it too much through the unlimited API.

Source: https://habr.com/ru/post/227761/


All Articles