Code AI platform with Code Search & Cody
Go to file
2021-08-31 15:10:16 +00:00
.buildkite add status check (#21674) 2021-06-02 22:26:24 +00:00
.github Add unclejustin to code-insights team (#24464) 2021-08-31 15:10:16 +00:00
.vscode dx: enable problems mode for eslint-vscode extension (#22637) 2021-07-08 14:46:25 +08:00
client Code Insights: Use native link for the Edit context menu item (#24423) 2021-08-31 13:33:26 +03:00
cmd search: log error to honeycomb (#24447) 2021-08-31 10:30:03 +02:00
dev ci: 10m timeout for go tests (#24461) 2021-08-31 14:08:23 +00:00
doc Update filtering_an_insight.md (#24448) 2021-08-31 00:15:25 -07:00
docker-images Update sourcegraph/alpine-3.12 (#24437) 2021-08-30 23:46:38 +00:00
enterprise Fix data race in Syncer tests by wrapping shared state in mutex (#24462) 2021-08-31 14:32:03 +00:00
internal ratelimit: Set fallback burst to 1 from 100 (#24454) 2021-08-31 16:33:42 +02:00
lib Move changeset spec type and parsing into lib (#24429) 2021-08-31 14:21:02 +02:00
migrations insights: index columns on insights queue table to speed up dequeue (#24291) 2021-08-24 11:33:23 -07:00
monitoring monitoring: remove hard_timeout_search_api_responses alert (#24403) 2021-08-30 10:38:55 +00:00
schema doc: add guidance about GitHub token permissions for caching (#24332) 2021-08-26 14:41:28 +00:00
third-party-licenses chore: update third-party licenses (#24399) 2021-08-30 00:23:45 +00:00
ui/assets search is dotcom (feature branch) (#23866) 2021-08-17 16:01:01 -07: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 ignore .direnv (#24371) 2021-08-27 07:21:54 +00:00
.gitmodules Publish Sourcegraph as open source 🚀 2018-09-30 23:13:36 -07:00
.golangci.yml dx: Vet use of errors (#22704) 2021-07-12 19:51:38 +00: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 Remove nodejs from .tool-versions (#23255) 2021-07-29 09:57:45 -07: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: remove mention of Cue syntax highlighting (did not work) 2021-08-30 11:09:38 -07: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 to respect ranking again (#24456) 2021-08-31 13:30:38 +00:00
go.sum gomod: update zoekt to respect ranking again (#24456) 2021-08-31 13:30:38 +00:00
graphql-schema-linter.config.js Support multiple GraphQL schema files (#20077) 2021-04-19 14:35:49 +02:00
gulpfile.js web: add CSS-modules support (#19919) 2021-04-14 18:46:49 +08: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 Code Insights: Use native link for the Edit context menu item (#24423) 2021-08-31 13:33:26 +03: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 web: enable cross-theme screenshots in Chromatic (#20349) 2021-04-28 22:19:55 +08:00
SECURITY.md consolidate security policy (#7906) 2020-01-21 10:03:11 -08:00
sg.config.yaml codeintel: add dependency repositories referenced in LSIF uploads (#22984) 2021-08-24 15:48:21 +01:00
shell.nix nix: use unstable version of node (#24285) 2021-08-24 17:51:39 +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 Code Insights: Use native link for the Edit context menu item (#24423) 2021-08-31 13:33:26 +03: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.