Code AI platform with Code Search & Cody
Last updated Jul 7, 2026
10.3k
Stars
1.4k
Forks
4.7k
Issues
0
Stars/day
Attention Score
75
Language breakdown
Go 57.0%
TypeScript 32.5%
Starlark 4.2%
SCSS 1.5%
PLpgSQL 1.5%
Svelte 1.5%
▸ Files
click to expand
README
[!NOTE]
Sourcegraph transitioned to a private monorepo. This repository,sourcegraph/sourcegraph-public-snapshotis a publicly available copy of thesourcegraph/sourcegraphrepository as it was just before the migration.
[!TIP]
If you are interested in working with the code, this commit is the last one made under an Apache License.
Docs • Contributing • Twitter • Discord
Sourcegraph makes it easy to read, write, and fix code—even in big, complex codebases.
- Code search: Search all of your repositories across all branches and all code hosts.
- Code intelligence: Navigate code, find references, see code owners, trace history, and more.
- Fix and refactor: Roll out large-scale changes to many repositories at once and track big migrations.
Getting started

Development
Refer to the Developing Sourcegraph guide to get started.
Documentation
The doc directory has additional documentation for developing and understanding Sourcegraph:
- Architecture: high-level architecture
- Database setup: database best practices
- Go style guide
- Documentation style guide
- GraphQL API: useful tips when modifying the GraphQL API
- Contributing
License
This repository contains primarily non-OSS-licensed files. See LICENSE.
Copyright (c) 2018-present Sourcegraph Inc.
🔗 More in this category