Code search and intelligence, self-hosted and scalable
Switch branches/tags
2.12 2.13 adapting-ls bext/release bl/admin-authz bl/gh-authn bl/gh-authz-org bl/husky bl/readme bl/sync-pr bl/validate bl/wip bl/2.12 browser-authz-flow browser-ext-testing-roadmap bugfix/1330-toggle-decorations ci-combine ci-npm-proxy combine-operator commit-oid ctrl-c-yarn cypress dbrepourl deprecate-custom-git-uris disable-canonicalurlredirect-by-default-v2.13.4 docker-images-patch-notest/frontend docker-images-patch/gitserver docker-images-patch/query-runner docker-images-patch/repo-updater docker-images-patch/searcher docker-images/gitserver docker-images/indexer docker-images/lsp-proxy docker-images/management-console docker-images/query-runner docker-images/repo-updater docker-images/searcher docker-images/server docker-images/symbols docker-images/xlang-go dont-auto-merge explore-contributions ext-cleanup-2 ext-cmd-observables ext-codeintel-python ext-location-context extension-file-system extension-repository extension-uris faec-webproxy feature/decoration-type fix-link-a fix-local-registry-prefix fix-repopath-to-reponame fix-webapp fix/1359-rendered-markdown-in-pr-comment fs/fix-ext-padding fs/logo-names fs/theme-switch fs/ui-fix-round-1 fs/ui-fix-round-2 gddo-shield generic-search-with-extension-code generic-search hier-search hover-actions issues-search-extension issues-search management-console markvis master nyc-resolution oss-master oss/bl/cherry-pick rb/contributions-tutorial rb/ext-docs-manifest rb/ext-schema rebuild remove-csrf-check renovate/github.com-boj-redistore-digest renovate/github.com-certifi-gocertifi-digest renovate/github.com-daviddengcn-go-colortext-digest renovate/github.com-golang-gddo-digest renovate/github.com-golang-groupcache-digest renovate/github.com-google-zoekt-digest renovate/github.com-graph-gophers-graphql-go-digest renovate/github.com-opentracing-contrib-go-stdlib-digest renovate/github.com-sourcegraph-docsite-digest renovate/github.com-xeipuuv-gojsonschema-digest renovate/golang.org-x-crypto-digest renovate/golang.org-x-net-digest renovate/golang.org-x-oauth2-digest renovate/golang.org-x-sys-digest renovate/graphiql-0.x renovate/sourcegraph-react-loading-spinner-0.x request-trial retry-logic-audit rm-canonicalurlredirect rouzbeh84-patch-1 search-graphql search-with-backend-fetches sg/merged sg/nodev sg/raw sqs/issue-538 sqs/tmp/ext-cleanup sqs/tmp/external-refs-locationProvider sqs/use-http-reverse-proxy starter-pricing stream-external-refs syntect-warning test-compile-error trueup-in-dev tsenart/remove-repos-list update-thread-loader updatecheck use-http-reverse-proxy vo/add-datadog-extension-to-roadmap with-issue-ext-code
Nothing to show
Clone or download
Latest commit d9f21bd Dec 14, 2018
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.github Update CODEOWNERS Dec 9, 2018
.vscode Configure typecheck tasks to run on folder open Dec 14, 2018
client clean up extension-related code (#1385) Dec 14, 2018
cmd Remove incorrect config validation and fix external services migration ( Dec 14, 2018
dev legacyschema: remove package (no longer has users) Dec 14, 2018
doc Update index.md Dec 14, 2018
docs sentence case for "Sourcegraph extensions", no capital E Oct 24, 2018
enterprise Remove incorrect config validation and fix external services migration ( Dec 14, 2018
migrations pkg/db/globalstatedb: add management console password state / generat… Dec 7, 2018
packages Extension API 19.5.0 Dec 14, 2018
pkg reposource: Prevent race on mocking cloneURLResolvers (#1421) Dec 14, 2018
schema remove external services feature flag (#1378) Dec 14, 2018
shared Fix type inference errors Dec 14, 2018
ui/assets Combine marketing and product homepage (#156) Oct 5, 2018
web clean up extension-related code (#1385) Dec 14, 2018
.editorconfig Publish Sourcegraph as open source 🚀 Oct 1, 2018
.gitattributes graphqlbackend: Set generated gitattr for schema.go Dec 3, 2018
.gitignore Configuration refactoring + management console (#966) Dec 12, 2018
.gitmodules Publish Sourcegraph as open source 🚀 Oct 1, 2018
.mailmap Publish Sourcegraph as open source 🚀 Oct 1, 2018
.prettierignore don't reformat JSON Schema files (it makes them invalid JSON) (#1205) Dec 3, 2018
.stylelintrc.json Publish Sourcegraph as open source 🚀 Oct 1, 2018
.yarnrc Use npmjs.org instead of yarnpkg.com (#926) Nov 10, 2018
CHANGELOG.md Add progress extension API (#1375) Dec 14, 2018
CONTRIBUTING.md fix: broken link to code of conduct in CONTRIBUTING.md (#1230) Dec 4, 2018
LICENSE enterprise license Oct 27, 2018
LICENSE.apache enterprise license Oct 27, 2018
README.md fix license info Nov 19, 2018
doc.go Publish Sourcegraph as open source 🚀 Oct 1, 2018
go.mod Revert "gomod: Replace sourcegraph.com/* pkgs with github.com/ (#1402)" Dec 13, 2018
go.sum Revert "gomod: Replace sourcegraph.com/* pkgs with github.com/ (#1402)" Dec 13, 2018
graphql-schema-linter.config.js Publish Sourcegraph as open source 🚀 Oct 1, 2018
gulpfile.ts use single root package.json, do not build intermediate shared code (#… Nov 12, 2018
package.json chore(deps): upgrade @sourcegraph/codeintellify Dec 14, 2018
prettier.config.js Publish Sourcegraph as open source 🚀 Oct 1, 2018
renovate.json Remove Renovate includePaths: enterprise Nov 6, 2018
tsconfig.json use single root package.json, do not build intermediate shared code (#… Nov 12, 2018
tslint.json More extension-related code cleanup (#1119) Nov 26, 2018
yarn.lock chore(deps): upgrade @sourcegraph/codeintellify Dec 14, 2018

README.md

Sourcegraph

build apache license

Sourcegraph is a fast, open-source, fully-featured code search and navigation engine.

Screenshot

Features

Try it yourself

Development

Prerequisites

  • Git
  • Go (1.11 or later)
  • Docker
  • PostgreSQL (version 9)
  • Node.js (version 8 or 10)
  • Redis
  • Yarn

For a detailed guide to installing prerequisites, see these instructions.

Installation

  1. Ensure Docker is running

  2. Initialize the PostgreSQL database

  3. Start the development server

    ./dev/launch.sh
    

Sourcegraph should now be running at http://localhost:3080.

For detailed instructions and troubleshooting, see the local development documentation.

Documentation

The docs folder 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 src/enterprise directories.

All files in the enterprise/ and src/enterprise/ directories are subject to the Sourcegraph Enterprise license.