Sourcegraph: fast, global, semantic code search & cross-reference engine
Remember the last time you were in flow while coding? You got a ton done and felt great.
But staying in flow is hard. While coding, you often waste minutes digging for examples in Q&A forums, finding documentation, deciphering code, or interrupting teammates.
Sourcegraph helps you find the answers you need in seconds, not minutes—so you stay in flow, get more done, and feel great.
Try Sourcegraph:
- 🔎 Instantly jump to any function/type/package in any repository — global, semantic code search
- 🌍 See where/how a function/type/package is used, across all repositories — live usage examples & global cross-refs
- ⚡ Navigate and jump around code like an IDE
...all in your web browser at sourcegraph.com. No installation or signup required. It just works, for both open-source code and your private projects (unless you do crazy stuff with your build tooling).
It's cross-repository and scalable, with 2,000,000,000+ nodes in the public code index (and growing).
Supported languages
Coming soon: JavaScript, Python, C#, PHP, Objective-C, C/C++, Scala, Perl, TypeScript, etc. (email us to get early beta access to these languages for your team or project)
Getting started
- ✅ Sign up for Sourcegraph.com for public and (your/your company's) private GitHub code
- ✅ Install the Sourcegraph Chrome extension for seamless jump-to-def and doc tooltips when you're on GitHub.com
You can also:
- Browse the code that powers Sourcegraph on Sourcegraph or on GitHub
- Run Sourcegraph on your own servers (paid; contact us about Sourcegraph Enterprise)
Questions Sourcegraph answers for you
Contributing
We welcome all types of contributions: bug reports, code, documentation, and feedback. We will compensate you for certain contributions (bug fixes, or enhancements on our roadmap) if you contact us and receive preapproval. See CONTRIBUTING.md for more information.
(Want to contribute full-time? Join our team and work with others who share your passion for software development.)
Security
Security is very important to us. If you discover a security-related issue, please responsibly disclose it by emailing security@sourcegraph.com and not by creating an issue.
Read our complete security policy.
License
Sourcegraph's code is public and licensed as Fair Source 15 (v0.9), not open source. Charging companies that get value from Sourcegraph lets us build a sustainable business.