Code AI platform with Code Search & Cody
Go to file
2021-09-08 17:54:55 -04:00
.buildkite add status check (#21674) 2021-06-02 22:26:24 +00:00
.github chore: use token with correct permissions for issues beta (#24761) 2021-09-08 17:54:55 -04:00
.vscode vscode: exclude *.scss.d.ts (generated) files from explorer (#22572) 2021-09-07 20:29:41 -07:00
client Code Insights: Move insights to the enterprise version (#24741) 2021-09-08 22:31:42 +03:00
cmd frontend: add hidden zoekt interface to /-/debug/zoekt/ (#24728) 2021-09-08 16:33:40 +02:00
dev dev/ci: unify traps to ensure cluster cleanup (#24746) 2021-09-08 15:50:53 +00:00
doc support standalone dev server for esbuild (#24622) 2021-09-08 03:45:17 +00:00
docker-images open source redis images (#24695) 2021-09-07 18:57:05 +00:00
enterprise codeintel: Ensure generated mocks are test files (#24756) 2021-09-08 17:36:29 +00:00
internal perf: Don't fetch feature flags when not used in request (#24725) 2021-09-08 19:08:26 +02:00
lib Add WorkspacesExecutionInput to lib/batches (#24720) 2021-09-08 09:34:16 +00:00
migrations codeintel: Add CommitsVisibleToUpload to dbstore (#24606) 2021-09-08 08:21:55 -05: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 (#24628) 2021-09-06 00:23:36 +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 build with go 1.17 (#24566) 2021-09-03 14:46:55 +00: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 Code Insights: Move insights to the enterprise version (#24741) 2021-09-08 22:31:42 +03: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 exclude all directories named "enterprise" from apache license (#23150) 2021-07-22 17:58:33 -07: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 dotcom commandset & allow setting env per commandset (#24688) 2021-09-08 08:41:06 +00: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.