Internet Programming

Open Source Matters: 6 Source Code Search Engines You Can Use For Programming Projects

Saikat Basu 30-07-2013

The Open source movement Why You Should Contribute To Open Source Projects [Opinion] The concept of open-source software is not new, and with huge, successful projects such as Ubuntu, Android, and other Linux-related OS's and apps, I think we can safely say it is a proven model for... Read More is playing a remarkable role in pushing technology and making it available to all. The success of Linux is also an example how open source can translate into a successful business model. Open source is pretty much mainstream now and in the coming years, it could have a major footprint across cutting edge educational technology and aerospace (think DIY drones).


Open source projects The 10 Best Open Source Projects You Should Be Volunteering To Help With You don't have to be a programmer. You could be a writer, a designer, a translator, just a Facebook or Twitter junkie, or someone who wants to just donate money for the cause. There are... Read More need all the help they can get. If not with funding, then with volunteers contributing to open source programming 8 Ways to Help Open-Source Projects If You're Not a Coder We’ve covered why it’s important to contribute to open-source projects, but what if you’re not a coder? You don't have to learn how to program to help your favorite open-source projects. Many non-programmers volunteer some... Read More and free tools they can brandish. Search engines tuned with algorithms to find source code for programming projects are among the tools for the kit bag. While reusing code is a much debated topic in higher circles, they could be of help to beginner programmers and those trying to work their way through a coding logjam by cross-referencing their code. Here are six:


Code search engine

Ohloh Code says it is one of the largest and more comprehensive code search engines with more than 10+ billion lines of code indexed and updated FOSS software directories. We did give it a mention when Danny showed us how to enhance our coding skills The Journey Of A Coder: How To Enhance Your Coding Skills By Contributing To An Open Source Project If you’re looking to market yourself as a competent programmer, there’s no better time to show off your skills in the best way possible — by contributing to open source projects. There are many reasons... Read More by contributing to an Open source project. Ohloh is the upgraded face of and is also freely available and freely editable by its community. It indexes all text files for search and has syntax highlighting support for 43 programming languages. The search query syntax supported by the service gives you the flexibility to search for different code classes. The search engine presently does not support regular expressions.


Code search engine

Krugle is an open source search portal which taps into open source search repositories like Apache, JavaDocs, and SourceForge among others. You can search for code in C++, Java, Perl, Python, SQL, Ruby, XML, HTML etc.  It is powered by OpenSearch. Krugle also has an advanced search feature that can help you narrow down to the right APIs, libraries, sample code or documentation. From the results page, you can browse to the project developed with the code.



Code search engine

SearchCode sifts through 16 billion lines of open source code from code repositories like GitHub, BitBucket, CodePlex, SourceForge, Fedora and more. The code and documentation search engine is maintained by a single developer. You can use filters like file extensions, specific repo name and URL, regular expressions, and special characters. Specific examples and documentation search support is listed on the Examples page.


Code search engine is a spic ‘n span source code search engine that just had a limited launch. The site claims to have indexed over 140 million webpages for code. If you are a web developer, you will find it of interest because it searches for HTML markup, JavaScript code, or CSS style code snippets. But NerdyData aims to be more than a simple search engine for code as it also is trying to develop a whole list of features around the web development process.


You can also search for documentation; you can do a comparative search to visualize on how many domains a term appears; and you can do a competitor analysis by checking which websites have their code. NerdyData has a free basic plan which lets you do 200 credit searches. Each search feature has a credit score attached to it. You can check out the three pricing plans and try it out with the free features first.

Symbol Hound

Code search engine

Google and other search engines aren’t that good when it comes to searching with special symbols. Google for instance, strips away many punctuation marks and special symbols, if not all. Google does recognize some and here’s a list which you can refer to. So, searching with regular search engines might not return the desired output if you are searching for variable or error codes with special characters. Symbol Hound is an alternative search engine that can help here.


Code search engine


Merobase is a different kind of search engine that helps you search and locate software components. Merobase does search for source code, but it also – and more importantly – can search for software components which are the discrete building blocks of software. It is a module that packages a set of functions. Component-Based Development (CBD) involves the creation of software from pre-written components. Merobase can search for interfaces with simple text based queries. You can also search with function-based, object-oriented, name-based, and test-driven queries. This abstract search method is a highlight of this engine. Merobase searches for components written in Java, C++, and C Sharp.

Are these the only six search engines for seeking out open source code? Well, they do seem to be the best. But if I have missed a blinder somewhere, do let us know in the comments. Searching for reputable source code on the web is one way of learning how to program Which Programming Language Should You Learn For Software Development? When starting on the path of programming, it’s important you invest your time wisely in choosing to learn something that will both benefit you in the immediate future with visible results on your platform of... Read More well. Strange as it may sound, source code references could also be a social handshake with the person who created the code in the first place. The open source community thrives on collaboration. Do you find these alternative search engines useful or would you search within a particular code repository like Google Code, GitHub, or any platform specific repository only?

Related topics: Open Source, Programming, Web Development, Web Search.

Affiliate Disclosure: By buying the products we recommend, you help keep the site alive. Read more.

Whatsapp Pinterest

Leave a Reply

Your email address will not be published. Required fields are marked *

  1. Amanda
    June 27, 2016 at 6:38 pm

    there's also a couple startups in this space now like and

    • Saikat Basu
      July 1, 2016 at 3:17 am

      Thanks. Bookmarked for future articles.

  2. Warren
    September 2, 2013 at 3:04 am

    There is a another one here,

    It uses Google's technology to do the searching.

    Disclaimer: I own the site.

  3. Bestgeek
    August 1, 2013 at 4:23 pm

    Stackoverflow. Though, search engine is not its trait, has huge resource. More importantly, most of the time one will see where they're stuck and figure whole code themselves, rather than having entire project written by someone else.

    • Saikat B
      August 2, 2013 at 8:26 am

      True. We have covered StackOverflow in previous articles, and is a very important knowledge center if you are learning to code.

  4. Ben Boyter
    August 1, 2013 at 1:16 am

    Thanks for the write up on (I am the developer). Any questions about it let me know and I will be happy to answer them.

    • Saikat B
      August 2, 2013 at 8:24 am

      Hi Ben, thanks for dropping in.

  5. Jack
    July 31, 2013 at 10:45 am

    Watch out for NerdyData it's red flaged by WOT.

    • Saikat Basu
      July 31, 2013 at 11:27 am

      Google Safe Browsing and Norton Web Safe don't list the site as suspicious. It is a comparatively new site and it queries against the source code of webpages. Maybe, that is the cause of the WOT rating. WOT has a lot of false positives to its credit so, I don't take this at face value.

      • Jack
        July 31, 2013 at 11:37 am

        That's grand so, I was only saying it as a precaution. Rather safe than sorry you know.

  6. Zach Greenberg
    July 31, 2013 at 12:29 am

    Wow, I've never heard of a site like The others seem to search code repositories... is NerdyData the only one that searches real live popular websites?

    - zach

    • Saikat Basu
      July 31, 2013 at 11:28 am

      So far it seems to be the only one. There are very few sites left standing actually as my research told me.

  7. dragonmouth
    July 30, 2013 at 10:53 pm

    I wish I knew about these sites when I was working. Would have made my life and job much easier. At least I had a lot of practice in reinventing the wheel. LOL

    • Saikat Basu
      July 31, 2013 at 11:30 am

      Look at it this way, probably, you didn't even have the Web when you were growing up. I didn't. We did our "homework' by hand! :)

      • dragonmouth
        July 31, 2013 at 1:25 pm

        And we walked to school in the snow, barefoot, up hill both ways! :-)

        • Lumpy Gravy
          August 2, 2013 at 11:18 am

          ... yeah, like Monty Python's "Four Yorkshiremen" :-)