Code AI platform with Code Search & Cody
Go to file
2021-01-01 10:53:46 +00:00
.buildkite Speed up coverage collection for storybooks (#16819) 2020-12-17 15:57:58 +01:00
.github Update documentation for Codenotify experiment (#16407) 2020-12-04 14:15:01 -08:00
.storybook Speed up coverage collection for storybooks (#16819) 2020-12-17 15:57:58 +01:00
.vscode Improve go integration in vscode (#16692) 2020-12-14 14:57:07 +01:00
client search: monitor frontend performance in Prometheus (#16935) 2020-12-18 17:46:32 -07:00
cmd monitoring: dashboards reference, refresh observability docs (#16939) 2020-12-23 10:36:41 +08:00
dev release: bump MINIMUM_UPGRADEABLE_VERSION on non-patch release (#16975) 2020-12-30 11:20:44 +08:00
doc grafana: upgrade to 7.3 (#16973) 2020-12-30 10:44:04 +08:00
docker-images grafana: upgrade to 7.3 (#16973) 2020-12-30 10:44:04 +08:00
enterprise release: bump MINIMUM_UPGRADEABLE_VERSION on non-patch release (#16975) 2020-12-30 11:20:44 +08:00
internal trace: upgrade Sentry client to have better reporting (#16872) 2020-12-21 18:58:20 +08:00
migrations executor: allow running multiple commands per step-container (#16625) 2020-12-17 16:46:31 +00:00
monitoring monitoring: fix alerting docs, clean up shared observables API (#16971) 2020-12-29 20:51:00 +08:00
schema Code monitoring: hide send test email button behind feature flag (#16922) 2020-12-18 09:47:52 -08:00
third-party-licenses chore: update third-party license (#16970) 2020-12-28 00:32:38 +00:00
ui/assets Theme Storybook with global dark and light theme (#14606) 2020-11-24 22:34:53 +01:00
.dockerignore Move all client code into client/ folder (#14480) 2020-10-07 22:23:53 +02:00
.editorconfig Hide monaco cursor in Chromatic and Percy (#13643) 2020-09-04 23:29:27 +02:00
.eslintrc.js Use EXPERIMENTAL_useSourceOfProjectReferenceRedirect (#16416) 2020-12-04 00:02:21 +01:00
.gitattributes Don't count fixtures into GitHub language stats (#5817) 2019-10-02 17:22:49 +02:00
.gitignore Move shared branded code to branded/ (#14515) 2020-10-08 15:14:34 +02:00
.gitmodules Publish Sourcegraph as open source 🚀 2018-09-30 23:13:36 -07:00
.golangci.yml Move all client code into client/ folder (#14480) 2020-10-07 22:23:53 +02:00
.graphqlconfig prefer using the Prisma GraphQL VS Code extension (#5268) 2019-08-18 04:05:33 -07:00
.mailmap Publish Sourcegraph as open source 🚀 2018-09-30 23:13:36 -07:00
.mocharc.js Move all client code into client/ folder (#14480) 2020-10-07 22:23:53 +02:00
.nvmrc Update Node.js to v14.15.1 (#13506) 2020-12-04 15:35:11 +01:00
.percy.yml Configure better Percy widths (#14902) 2020-10-20 13:30:28 +02:00
.prettierignore monitoring: generator docs, move definitions to subpackage (#16214) 2020-11-28 14:04:42 +08:00
.stylelintignore docs: extension architecture (#15679) 2020-12-02 21:17:24 -05:00
.stylelintrc.json Publish Sourcegraph as open source 🚀 2018-09-30 23:13:36 -07:00
.tool-versions Cluster QA tests (#15678) 2020-11-18 11:54:54 -07:00
.yarnrc Use npmjs.org instead of yarnpkg.com (#926) 2018-11-10 12:14:21 -08:00
babel.config.js Pin cssnano version that treats :focus-visible correctly (#14086) 2020-09-23 22:21:31 +02:00
CHANGELOG.md monitoring: dashboards reference, refresh observability docs (#16939) 2020-12-23 10:36:41 +08:00
CODENOTIFY Deglobalize CODENOTIFY settings for eseliger (#16710) 2020-12-14 15:50:22 +01:00
CONTRIBUTING.md fix: update broken link to code of conduct (#7781) 2020-01-15 13:45:14 -08:00
doc.go Publish Sourcegraph as open source 🚀 2018-09-30 23:13:36 -07:00
go.mod trace: upgrade Sentry client to have better reporting (#16872) 2020-12-21 18:58:20 +08:00
go.sum chore: update third-party license (#16970) 2020-12-28 00:32:38 +00:00
graphql-schema-linter.config.js Publish Sourcegraph as open source 🚀 2018-09-30 23:13:36 -07:00
gulpfile.js gulp: disable graphql-codegen's watch feature (#16411) 2020-12-07 10:22:35 +01:00
jest.config.base.js Theme Storybook with global dark and light theme (#14606) 2020-11-24 22:34:53 +01:00
jest.config.js Move shared branded code to branded/ (#14515) 2020-10-08 15:14:34 +02:00
LICENSE Move all client code into client/ folder (#14480) 2020-10-07 22:23:53 +02:00
LICENSE.apache Move all client code into client/ folder (#14480) 2020-10-07 22:23:53 +02:00
LICENSE.enterprise clarify license (#2543) 2019-03-03 16:39:46 +08:00
package.json Update dependency @types/lodash to v4.14.166 2021-01-01 10:53:46 +00:00
postcss.config.js Implement new toggle components (#13774) 2020-09-11 17:43:08 -04:00
prettier.config.js Publish Sourcegraph as open source 🚀 2018-09-30 23:13:36 -07:00
README.md Update logo in README (#15078) 2020-11-04 13:40:51 +01:00
renovate.json Don't open Renovate PRs for typescript nightly (#13378) 2020-08-26 21:19:05 +02:00
SECURITY.md consolidate security policy (#7906) 2020-01-21 10:03:11 -08:00
tsconfig.all.json Move shared branded code to branded/ (#14515) 2020-10-08 15:14:34 +02:00
tsconfig.json Some dev environment QoL improvements (#16445) 2020-12-07 15:33:47 +01:00
yarn.lock Update dependency @types/lodash to v4.14.166 2021-01-01 10:53:46 +00:00

Sourcegraph

build apache license

Sourcegraph OSS edition is a fast, open-source, fully-featured code search and navigation engine. Enterprise editions are available.

Screenshot

Features

Try it yourself

Development

Prerequisites

  • Git
  • Go (1.13 or later)
  • Docker
  • PostgreSQL (v11 or higher)
  • Node.js (version 8 or 10)
  • Redis
  • Yarn
  • Nginx

For a detailed guide to installing prerequisites, see these instructions.

Installation

Prebuilt Docker images are the fastest way to use Sourcegraph Enterprise. See the quickstart installation guide.

To use Sourcegraph OSS:

  1. Initialize the PostgreSQL database

  2. Ensure Docker is running

  3. Configure the HTTPS reverse proxy

  4. Start the development server

    ./dev/start.sh
    

Sourcegraph should now be running at https://sourcegraph.test:3443.

For detailed instructions and troubleshooting, see the local development documentation.

Documentation

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

License

Sourcegraph OSS is available freely under the Apache 2 license. Sourcegraph OSS comprises all files in this repository except those in the enterprise/ and client/web/src/enterprise directories.

All files in the enterprise/ and client/web/src/enterprise/ directories are subject to the Sourcegraph Enterprise license.