Code AI platform with Code Search & Cody
Go to file
2022-09-08 09:39:50 -07:00
.buildkite [SG-39284] Upgrade yarn to the latest version (#39728) 2022-08-31 20:39:53 -07:00
.github dev: explicitly state that PR has to be merged (#41519) 2022-09-08 11:42:44 -04:00
.vscode [SG-39284] Upgrade yarn to the latest version (#39728) 2022-08-31 20:39:53 -07:00
.yarn [SG-39284] Upgrade yarn to the latest version (#39728) 2022-08-31 20:39:53 -07:00
client regression-tests: update custom mocha reporter to exit rather than mocha itself (#41266) 2022-09-08 16:16:33 +00:00
cmd search: highlight repository matches in RepoSearchJob (#41470) 2022-09-08 08:50:15 -05:00
dev regression-tests: update custom mocha reporter to exit rather than mocha itself (#41266) 2022-09-08 16:16:33 +00:00
doc schema: do not use 'sourcegraph' in urlTemplate example, add doc note about urlTemplate (#41490) 2022-09-08 09:39:50 -07:00
docker-images executors: Publish VM image to docker hub (#41231) 2022-09-05 15:37:21 +02:00
enterprise auth/oauth: add serviceType to trace family (#41532) 2022-09-08 16:36:49 +00:00
hacktoberfest hacktoberfest: fix sentence case in the subheading (#29297) 2022-01-11 12:09:48 +08:00
internal search: merge description matches during repo match merging (#41521) 2022-09-08 16:14:24 +00:00
lib lib: upgrade github.com/sourcegraph/log (#41217) 2022-09-01 17:01:34 +00:00
migrations repo stats tables: fix migration to only update function (#41038) 2022-08-30 13:23:00 +02:00
monitoring monitoring: migrate log15 to sourcegraph/log (#41292) 2022-09-08 08:38:58 -07:00
schema schema: do not use 'sourcegraph' in urlTemplate example, add doc note about urlTemplate (#41490) 2022-09-08 09:39:50 -07:00
third-party-licenses chore: update third-party licenses (#37085) 2022-08-15 12:27:23 -07:00
ui/assets Sunset extensions: Open in Editor (#41105) 2022-09-06 18:39:16 +02:00
.browserslistrc Performance: Update browserslist and drop broken Safari 13 support (#39349) 2022-08-10 11:02:32 +01:00
.dockerignore symbols: Build in Docker (#34335) 2022-04-25 16:03:55 -06:00
.editorconfig sg: add run-set for core app (#23156) 2021-07-23 07:59:43 +00:00
.eslintignore vscode: create integration test harness (#33921) 2022-04-22 09:54:35 -04:00
.eslintrc.js Refactor InputTooltip to use new Tooltip component (#38822) 2022-07-15 10:34:38 -04:00
.gitattributes chore: Mark __snapshots__ directories as generated. (#37546) 2022-06-27 08:23:35 +02:00
.gitignore web: add Analyzing the Bundlesize check failure docs (#41164) 2022-09-01 04:47:57 -07:00
.golangci.yml ci: disable depguard again (#34359) 2022-04-22 17:53:21 +02:00
.graphqlrc.yml Support multiple GraphQL schema files (#20077) 2021-04-19 14:35:49 +02:00
.hadolint.yaml bump comby version to 1.7.1 (#35830) 2022-05-20 20:12:01 -07:00
.mailmap mailmap: update replacements for Joe (#29614) 2022-01-12 10:56:56 +08:00
.mocharc.js regression-tests: update custom mocha reporter to exit rather than mocha itself (#41266) 2022-09-08 16:16:33 +00:00
.percy.yml Update browser extention installation detection logic on web (#32449) 2022-03-14 23:29:39 +06:00
.prettierignore Fix VS Code extension issue by sending a different GQL query for VSCE (#40621) 2022-08-22 10:13:14 +02:00
.stylelintignore web: named Webpack chunks (#39481) 2022-07-28 20:22:05 -07:00
.stylelintrc.json web: drop bootstrap depenedency (#41401) 2022-09-07 03:11:26 -07:00
.tool-versions Update .tool-versions (#41498) 2022-09-08 09:34:45 +00:00
.trivyignore ci: ignore benign CVE-2021-43816 in prometheus (#31069) 2022-02-11 16:49:10 +00:00
.yarnrc.yml [SG-39284] Upgrade yarn to the latest version (#39728) 2022-08-31 20:39:53 -07:00
babel.config.js Remove d3 ignore (#40048) 2022-08-07 08:37:21 -05:00
buf.gen.yaml Code intel to code nav redirects (#40729) 2022-08-24 12:11:12 +02:00
buf.work.yaml RFC 519: Add LSIF typed schema (#29457) 2022-01-11 16:16:12 -06:00
CHANGELOG.md search: highlight repository matches in RepoSearchJob (#41470) 2022-09-08 08:50:15 -05:00
CODENOTIFY api docs: bye (#34798) 2022-05-18 01:03:03 +00:00
CONTRIBUTING.md update broken links (#39673) 2022-07-29 09:05:41 -06:00
doc.go
gen.go chore: Update go-mockgen (#40288) 2022-08-11 23:14:26 +00:00
go.mod zoekt: update to include ctagsPath fix (#40887) 2022-09-07 06:52:27 +00:00
go.sum zoekt: update to include ctagsPath fix (#40887) 2022-09-07 06:52:27 +00:00
graphql-schema-linter.config.js Support multiple GraphQL schema files (#20077) 2021-04-19 14:35:49 +02:00
gulpfile.js web: lint root *.js files (#34164) 2022-04-20 05:22:08 -07:00
jest.config.base.js notebooks: use sticky sidebar (#38513) 2022-07-13 11:22:22 -07:00
jest.config.js tests: use glob for jest projects field (#29681) 2022-01-13 01:11:52 -08:00
LICENSE update licensing language (#25620) 2021-10-04 15:40:59 +01:00
LICENSE.apache Move all client code into client/ folder (#14480) 2020-10-07 22:23:53 +02:00
LICENSE.enterprise
lighthouserc.js Lighthouse: Fix protocol_timeout (#27565) 2021-12-10 15:56:16 +00:00
mockgen.temp.yaml [codenav]: refactor of upload resolver (#41004) 2022-09-07 11:12:42 -04:00
mockgen.test.yaml [codenav]: refactor of upload resolver (#41004) 2022-09-07 11:12:42 -04:00
mockgen.yaml mocks: Reorganize mock definitions into multiple files (#36967) 2022-06-27 20:59:16 +00:00
package.json Inline sourcegraph/code-intel-extensions (#41128) 2022-09-08 07:32:28 +00:00
postcss.config.js extensibility: add featured extensions to registry (#21665) 2021-06-10 13:55:20 -04:00
prettier.config.js
README.md doc: use absolute images for image links in README (#33299) 2022-03-31 22:08:51 -07:00
renovate.json chore: add test plans to bot and release tool PRs (#31351) 2022-02-22 07:53:25 -08:00
SECURITY.md
sg.config.yaml sg: set license generation key for codeintel-worker (#41302) 2022-09-05 10:16:27 +00:00
shell.nix nix: enable esbuild by default (#40727) 2022-08-23 13:14:44 +01:00
svgo.config.js Performance: Optimize static SVG assets with SVGO (#26285) 2021-10-27 15:27:36 +01:00
tsconfig.all.json web: create the observability-client package (#40398) 2022-08-17 01:57:00 -07:00
tsconfig.eslint.json web: lint root *.js files (#34164) 2022-04-20 05:22:08 -07:00
tsconfig.json web: flatten frontend packages inside of the client folder (#19378) 2021-03-26 15:35:26 +08:00
yarn.lock Inline sourcegraph/code-intel-extensions (#41128) 2022-09-08 07:32:28 +00:00

Sourcegraph

build

Sourcegraph is a fast and featureful code search and navigation engine.

sourcegraph com_github com_golang_go_-_blob_src_net_http_request go_L855_6

Features

Try it now

Sourcegraph has three editions:

  • Sourcegraph Cloud lets you search over the open-source ecosystem plus your private code. Search strings, search patterns, search symbols and find references across your entire codebase and the open-source world.
  • Sourcegraph Enterprise lets you run your own Sourcegraph instance in your own environment.
  • Sourcegraph OSS is an open-source version of Sourcegraph that provides the core functionality of Sourcegraph (code search, code browsing, basic code navigation), but lacks more advanced features (enterprise authentication, repository permissions, admin controls, advanced code navigation, etc.)

Source code for all three editions is contained in this repository. See the License section for more details.

More:

  • Install the open-source browser extension to add Sourcegraph-like powers to your code review and code host.
  • File feature requests and bug reports in our issue tracker.
  • Visit about.sourcegraph.com for more information about features, use cases, and organizations that use Sourcegraph.

Self-hosted installation

Sourcegraph Enterprise (free up to 10 users)

The fastest way to run Sourcegraph self-hosted is with the Docker container. See the quickstart installation guide. There are also several additional ways of running a production instance.

Sourcegraph OSS

  1. Go through Quickstart to install sg and dependencies
  2. Start the development environment in OSS mode:
    sg start oss
    

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

This repository contains both OSS-licensed and non-OSS-licensed files. We maintain one repository rather than two separate repositories mainly for development convenience.

All files in the enterprise and client/web/src/enterprise fall under LICENSE.enterprise.

The remaining files fall under the Apache 2 license. Sourcegraph OSS is built only from the Apache-licensed files in this repository.