Code AI platform with Code Search & Cody
Go to file
2021-09-13 14:29:57 +00:00
.buildkite add status check (#21674) 2021-06-02 22:26:24 +00:00
.github ci: disable demo LSIF uploads for now (#24821) 2021-09-09 20:44:37 +00:00
.vscode vscode: exclude *.scss.d.ts (generated) files from explorer (#22572) 2021-09-07 20:29:41 -07:00
client Kelvin lee GitHub docs (#24616) 2021-09-10 12:09:29 -07:00
cmd roll back symbol transaction on error (#24864) 2021-09-13 07:24:55 -06:00
dev dev/release: improve automation for ensuring followup (#24614) 2021-09-09 15:52:57 -04:00
doc fix docker command (#24891) 2021-09-13 17:28:57 +03:00
docker-images bump alpine tag (#24857) 2021-09-10 17:59:53 -05:00
enterprise Add CreateTestRepo helper to simplify code a bit (#24888) 2021-09-13 15:00:43 +02:00
internal Update sourcegraph/alpine-3.12 (#24855) 2021-09-10 17:34:35 -05:00
lib Add WorkspacesExecutionInput to lib/batches (#24720) 2021-09-08 09:34:16 +00:00
migrations Fix migration tests blocking infinitely if migrations fail (#24840) 2021-09-10 15:30:56 +02:00
monitoring monitoring: dashboards docs improvements (#24563) 2021-09-02 16:05:36 -04:00
schema authz/github: validate provider against default github URL if not set (#24598) 2021-09-06 12:37:33 -04:00
third-party-licenses chore: update third-party licenses (#24862) 2021-09-13 00:15:37 +00:00
ui/assets Fix gitignore in ui/assets (#24680) 2021-09-07 17:18:47 +02:00
.dockerignore web: flatten frontend packages inside of the client folder (#19378) 2021-03-26 15:35:26 +08:00
.editorconfig sg: add run-set for core app (#23156) 2021-07-23 07:59:43 +00:00
.eslintignore web: flatten frontend packages inside of the client folder (#19378) 2021-03-26 15:35:26 +08:00
.eslintrc.js Allow default export for storybook stories (#23630) 2021-08-05 12:28:40 -07:00
.gitattributes monitoring: migrate monitoring docs to Sourcegraph API Docs (#22876) 2021-07-16 10:34:17 +08:00
.gitignore Add a sitemap for Sourcegraph.com covering over 400k+ Go symbols and packages (#24490) 2021-09-02 23:51:52 +00:00
.gitmodules Publish Sourcegraph as open source 🚀 2018-09-30 23:13:36 -07:00
.golangci.yml Fix ioutil rule in golangci-lint (#24583) 2021-09-03 12:42:57 +02:00
.graphqlrc.yml Support multiple GraphQL schema files (#20077) 2021-04-19 14:35:49 +02:00
.mailmap Add Camden to mailmap (#19488) 2021-03-26 16:32:13 +00:00
.mocharc.js Move all client code into client/ folder (#14480) 2020-10-07 22:23:53 +02:00
.nvmrc Upgrade to node.js 16 (#24109) 2021-08-19 12:32:43 +02:00
.percy.yml Code Insights: another attempt to fix flaky screenshot tests (#24383) 2021-08-27 23:18:42 +00:00
.prettierignore monitoring: migrate monitoring docs to Sourcegraph API Docs (#22876) 2021-07-16 10:34:17 +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 executors: Build AWS AMI in addition to google compute image (#24058) 2021-09-10 22:11:42 +02:00
.yarnrc Ignore workspace root check (#19608) 2021-03-31 15:30:11 +01:00
babel.config.js GraphQL Client: Add Apollo/client and implement on profile settings page (#22166) 2021-06-29 09:23:33 +01:00
CHANGELOG.md changelog: document deploy-sourcegraph-docker#580 (#24843) 2021-09-10 16:48:30 -04: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 gomod: update zoekt with perf improvements (#24726) 2021-09-08 12:03:38 +00:00
go.sum gomod: update zoekt with perf improvements (#24726) 2021-09-08 12:03:38 +00:00
graphql-schema-linter.config.js Support multiple GraphQL schema files (#20077) 2021-04-19 14:35:49 +02:00
gulpfile.js Improve integration test suite CI run script (#24666) 2021-09-07 16:07:11 +02:00
jest.config.base.js fix types for jest.config.base.js (using @jest/types package) (#24339) 2021-08-26 02:33:21 -07:00
jest.config.js fix types for jest.config.base.js (using @jest/types package) (#24339) 2021-08-26 02:33:21 -07:00
LICENSE move comma outside quotes in LICENSE (#24828) 2021-09-13 14:29:57 +00: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 Improve integration test suite CI run script (#24666) 2021-09-07 16:07:11 +02:00
postcss.config.js extensibility: add featured extensions to registry (#21665) 2021-06-10 13:55:20 -04:00
prettier.config.js Publish Sourcegraph as open source 🚀 2018-09-30 23:13:36 -07:00
README.md doc: Clear up quickstart step order (#24098) 2021-08-24 09:27:45 +02:00
renovate.json Mark code insights related deps and add code insights team as reviewers (#24721) 2021-09-08 17:21:14 +03:00
SECURITY.md consolidate security policy (#7906) 2020-01-21 10:03:11 -08:00
sg.config.yaml Add BatchSpecWorkspaces, BatchSpecWorkspaceExecutionJobs, BatchSpecResolutionJobs (#24749) 2021-09-10 12:31:32 +02:00
shell.nix nix: use go 1.17 (#24716) 2021-09-08 10:18:58 +02:00
tsconfig.all.json extensibility: create integration test harness for browser extension (#23235) 2021-08-04 09:28:47 -04:00
tsconfig.json web: flatten frontend packages inside of the client folder (#19378) 2021-03-26 15:35:26 +08:00
yarn.lock esbuild: new experimental option for web builds (#24487) 2021-09-01 19:29:26 +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.

sourcegraph com_github com_golang_go_-_blob_src_net_http_request go_L855_6

Features

Try it yourself

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.

Development

Refer to the Developing Sourcegraph guide to get started.

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.