Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Replacement for Google Code Search? [closed]

I have reviewed the following sites

The good

  • Krugle
  • search[code]
  • GrepCode (only Java)

The broken or unsuitable

(I'll have to try these again later)

  • Antepedia (GitHub login broken as of 2016-08-23; no code search?)
  • SymbolHound (generic search engine, not just code)
  • Codase (only C, C++, Java; service unavailable as of 2016-08-23)
  • Codefetch (unreachable as of 2016-08-23)

The dead

  • Koders (discontinued)
  • SymbolHound Code Search (discontinued)

When I originally did the review, Koders turned out to be the winner for my purposes, but I really liked the user interface and features of SymbolHound Code Search better. The only problem with SymbolHound was the small number of sites it has indexed. The search[code] engine was also promising at that time.

Many of the sites I've reviewed have since been discontinued completely or have disabled their code search functionality. Krugle and search[code] seem to be chugging along, and GrepCode is good if you live in the Java world.


Take a look at these:

  • searchcode

  • krugle


Another one to consider is http://searchcode.com/ It supports regex search as Google Code search does. For example,

http://searchco.de/?q=/[cb]at/
http://searchco.de/?q=/a{2,3}/
http://searchco.de/?q=/^import/
http://searchco.de/?q=/atoi/%20ext:c
http://searchco.de/?q=/dll$/

Are all valid searches.


There is http://opensearch.krugle.org