Code AI platform with Code Search & Cody
Go to file
2021-09-23 11:48:12 +02:00
.buildkite add status check (#21674) 2021-06-02 22:26:24 +00:00
.github Add logs for project automation (#25288) 2021-09-23 11:48:12 +02:00
.vscode vscode: exclude *.scss.d.ts (generated) files from explorer (#22572) 2021-09-07 20:29:41 -07:00
client web: enable apollo-cache-persist (#23351) 2021-09-23 16:28:53 +08:00
cmd search: check for wrapped errors in isContextError (#25232) 2021-09-23 08:37:15 +02:00
dev dev/release: do not close self when cleaning old issues (#25189) 2021-09-22 16:09:36 -04:00
doc Fix diff link for v3.22 (#25274) 2021-09-22 20:10:39 -07:00
docker-images rename files (#25086) 2021-09-20 12:12:56 +00:00
enterprise Don't run Buildkite CI on .github config changes (#25271) 2021-09-23 09:47:08 +02:00
internal API docs: codeintel: begin indexing API docs for search (#25206) 2021-09-23 00:02:15 +00:00
lib Make multierror type check more robust (#25107) 2021-09-20 12:02:07 +00:00
migrations migrations/codeintel: add API docs search indexing DB schema (#25199) 2021-09-22 12:42:12 -07:00
monitoring Revert "monitoring: remove repo-updater: syncer_synced_repos (#24678)" (#25208) 2021-09-22 10:42:50 +02:00
schema API docs: codeintel: begin indexing API docs for search (#25206) 2021-09-23 00:02:15 +00:00
third-party-licenses chore: update third-party licenses (#24862) 2021-09-13 00:15:37 +00:00
ui/assets Fix .gitignore to properly handle img assets (#25106) 2021-09-20 17:32:52 +00: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 endpoint: use serviceName when constructing StatefulSet pod names (#25146) 2021-09-21 10:12:55 +02: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 mod: remove grafana replace, document httpgzip replace (#25191) 2021-09-21 22:16:12 +00:00
go.sum mod: remove grafana replace, document httpgzip replace (#25191) 2021-09-21 22:16:12 +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 web: enable apollo-cache-persist (#23351) 2021-09-23 16:28:53 +08: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 update upstream alpine (#24896) 2021-09-13 12:27:29 -05:00
SECURITY.md consolidate security policy (#7906) 2020-01-21 10:03:11 -08:00
sg.config.yaml Delete BatchSpecExecutions (#25178) 2021-09-22 12:03:57 +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 web: enable apollo-cache-persist (#23351) 2021-09-23 16:28:53 +08: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.