Code AI platform with Code Search & Cody
Go to file
2020-08-01 08:44:07 +00:00
.buildkite ci: add shellcheck linter for shell scripts (#9903) 2020-04-21 10:03:17 -07:00
.github Revert "remove replacer (#12480)" (#12541) 2020-07-29 11:53:46 -07:00
.storybook Fix monaco in storybooks (#12403) 2020-07-24 01:54:55 +02:00
.vscode Don't mark old go extension as unwanted (#11409) 2020-06-10 16:11:03 +02:00
browser Fix URL for open on sourcegraph button (#12570) 2020-07-30 22:05:54 -04:00
client mv client/browser browser (#3826) 2019-05-06 19:36:03 +02:00
cmd monitoring: add graphql endpoint to trigger alert, show owners (#12532) 2020-08-01 11:52:31 +08:00
dev Revert "remove replacer (#12480)" (#12541) 2020-07-29 11:53:46 -07:00
doc docs: correct note about testing alerts (#12596) 2020-08-01 12:28:56 +08:00
docker-images monitoring: link alerts back to grafana service dashboard (#12550) 2020-07-31 14:39:23 +08:00
enterprise Remove committed binary (#12594) 2020-07-31 15:36:59 -05:00
internal search: deny negated structural search (#12574) 2020-07-31 16:38:27 -07:00
migrations Add index on repo name column (#12591) 2020-07-31 15:35:58 -05:00
monitoring monitoring: add graphql endpoint to trigger alert, show owners (#12532) 2020-08-01 11:52:31 +08:00
packages build(deps): bump lodash in /packages/sourcegraph-extension-api (#12250) 2020-07-24 15:32:22 +02:00
schema monitoring: let opsgenie apiurl be optional (#12571) 2020-07-31 09:35:16 +08:00
shared Update dependency rxjs to ^6.6.2 (#12582) 2020-07-31 12:03:51 +02:00
third-party-licenses Update third-party licenses (#12488) 2020-07-27 12:04:00 +02:00
ui/assets Add private code CTAs (#12288) 2020-07-21 14:16:10 +08:00
web monitoring: add graphql endpoint to trigger alert, show owners (#12532) 2020-08-01 11:52:31 +08:00
.dockerignore codeintel: Remove old typescript services (#10566) 2020-05-14 15:29:03 -05:00
.editorconfig dev: add shfmt for shell script consistency (#9900) 2020-04-15 12:44:36 -07:00
.eslintrc.js Update dependency rxjs to ^6.6.0 (#11914) 2020-07-03 11:34:15 +02:00
.gitattributes Don't count fixtures into GitHub language stats (#5817) 2019-10-02 17:22:49 +02:00
.gitignore Adopt graphql-code-generator (#12559) 2020-07-30 15:58:41 +02:00
.gitmodules Publish Sourcegraph as open source 🚀 2018-09-30 23:13:36 -07:00
.golangci.yml golangci: remove several linters (#10901) 2020-05-21 13:58:50 +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 Fix regressions in regression suite (#7894) 2020-01-20 09:22:30 -06:00
.nvmrc Update Node.js to v14.5.0 (#11840) 2020-07-21 14:44:10 +02:00
.prettierignore Adopt graphql-code-generator (#12559) 2020-07-30 15:58:41 +02:00
.stylelintignore Remove unused eslint disables (#9572) 2020-04-04 13:40:05 +02:00
.stylelintrc.json Publish Sourcegraph as open source 🚀 2018-09-30 23:13:36 -07:00
.tool-versions Revert "specify nodejs version in .tools-versions" (#10924) 2020-05-22 12:46:21 +02:00
.yarnrc Use npmjs.org instead of yarnpkg.com (#926) 2018-11-10 12:14:21 -08:00
babel.config.js Polyfill URLSearchParams for Firefox (#10789) 2020-05-18 21:04:08 +02:00
CHANGELOG.md monitoring: add graphql endpoint to trigger alert, show owners (#12532) 2020-08-01 11:52:31 +08: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 zoekt: binary encoder for repo branches (#12546) 2020-07-30 09:26:08 +02:00
go.sum zoekt: binary encoder for repo branches (#12546) 2020-07-30 09:26:08 +02:00
graphql-schema-linter.config.js Publish Sourcegraph as open source 🚀 2018-09-30 23:13:36 -07:00
gulpfile.js Adopt graphql-code-generator (#12559) 2020-07-30 15:58:41 +02:00
jest.config.base.js Remove globalThis polyfill (#12024) 2020-07-08 16:01:46 +02:00
jest.config.js codeintel: Remove old typescript services (#10566) 2020-05-14 15:29:03 -05:00
LICENSE clarify license (#2543) 2019-03-03 16:39:46 +08:00
LICENSE.apache clarify license (#2543) 2019-03-03 16:39:46 +08:00
LICENSE.enterprise clarify license (#2543) 2019-03-03 16:39:46 +08:00
package.json Update dependency @types/chai to v4.2.12 2020-08-01 08:44:07 +00:00
prettier.config.js Publish Sourcegraph as open source 🚀 2018-09-30 23:13:36 -07:00
README.md use new sourcegraphstatic.com host for static assets (#12419) 2020-07-23 14:08:53 -07:00
renovate.json Update Node.js to v14 (#10515) 2020-05-15 20:45:36 +02:00
SECURITY.md consolidate security policy (#7906) 2020-01-21 10:03:11 -08:00
tsconfig.json Add UI integration tests backed by Polly (#11898) 2020-07-06 14:57:02 +02:00
yarn.lock Update dependency @types/chai to v4.2.12 2020-08-01 08:44:07 +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. Ensure Docker is running

  2. Initialize the PostgreSQL database

  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 web/src/enterprise directories.

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