brainstate

sourcegraph/sourcegraph-public-snapshot · source

Snapshot 0 · 2026-11-04T12:47:23Z · Go ·

Content fingerprintfb646303729abddb9353646b6e8da1d0c053bdaaa4b37896d2221ecd10fc854a

GitHub description at capture

Code AI platform with Code Search & Cody

README at capture

> [!NOTE]
> Sourcegraph transitioned to a private monorepo. This repository, `sourcegraph/sourcegraph-public-snapshot` is a publicly available copy of the `sourcegraph/sourcegraph` repository as it was just before the migration.

> [!TIP]
> If you are interested in working with the code, this [commit](https://github.com/sourcegraph/sourcegraph-public-snapshot/commit/1cd36d2dbbd2a9ab638cc437d208d2717eaefb0b) is the last one made under an Apache License.

---


<p align="center">
<a href="https://sourcegraph.com/" target="_blank">
<picture>
  <source media="(prefers-color-scheme: dark)" srcset="https://p21.p4.n0.cdn.getcloudapp.com/items/6qub2y6g/8c25cf68-2715-4f0e-9de6-26292fad604f.svg" width="50%">
  <img src="https://p21.p4.n0.cdn.getcloudapp.com/items/12u7NWXL/5e21725d-6e84-4ccd-8300-27bf9a050416.svg" width="50%">
</picture></a>
</p>

<p align="center">
    <a href="https://sourcegraph.com/docs">Docs</a> •
    <a href="https://sourcegraph.com/github.com/sourcegraph/sourcegraph/-/blob/CONTRIBUTING.md">Contributing</a> •
    <a href="https://twitter.com/sourcegraph">Twitter</a> •
    <a href="https://discord.gg/s2qDtYGnAE">Discord</a>
    <br /><br />
    <a href="https://buildkite.com/sourcegraph/sourcegraph">
        <img src="https://badge.buildkite.com/00bbe6fa9986c78b8e8591cffeb0b0f2e8c4bb610d7e339ff6.svg?branch=main" alt="Build status" />
    </a>
    <a href="https://api.securityscorecards.dev/projects/github.com/sourcegraph/sourcegraph">
        <img src="https://img.shields.io/ossf-scorecard/github.com/sourcegraph/sourcegraph?label=openssf%20scorecard" alt="Scorecard" />
    </a>
    <a href="https://github.com/sourcegraph/sourcegraph/releases/">
        <img src="https://img.shields.io/github/release/sourcegraph/Sourcegraph.svg" alt="Latest release" />
    </a>
    <a href="https://srcgr.ph/discord">
        <img src="https://img.shields.io/discord/969688426372825169?color=5765F2" alt="Discord" />
    </a>
    <a href="https://github.com/sourcegraph/sourcegraph/contributors/">
        <img src="https://img.shields.io/github/contributors/sourcegraph/Sourcegraph.svg?color=000000" alt="Contributors" />
    </a>
</p>
<br />

**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

- [Use Sourcegraph on the cloud or self-hosted](https://sourcegraph.com/docs/)
- [Sourcegraph.com public code search](https://sourcegraph.com/search)

<br><br>

<img src="https://sourcegraph.com/home/banner.png" />

## Development

Refer to the [Developing Sourcegraph guide](https://docs-legacy.sourcegraph.com/dev) to get started.

### Documentation

The `doc` directory has additional documentation for developing and understanding Sourcegraph:

- [Architecture](./doc/dev/background-information/architecture/index.md): high-level architecture
- [Database setup](./doc/dev/background-information/postgresql.md): database best practices
- [Go style guide](./doc/dev/background-information/languages/go.md)
- [Documentation style guide](https://handbook.sourcegraph.com/engineering/product_documentation)
- [GraphQL API](./doc/api/graphql/index.md): useful tips when modifying the GraphQL API
- [Contributing](./CONTRIBUTING.md)

## License

This repository contains primarily non-OSS-licensed files. See [LICENSE](LICENSE).

Copyright (c) 2018-present Sourcegraph Inc.