Code AI platform with Code Search & Cody
Go to file
2020-05-08 17:20:01 +02:00
.buildkite ci: add shellcheck linter for shell scripts (#9903) 2020-04-21 10:03:17 -07:00
.github Add precise-code-intel system integration tests (rough v0) (#10360) 2020-05-07 13:24:35 -05:00
.storybook Fix conflicting storybook styles (#10033) 2020-04-20 18:05:16 +02:00
.vscode Remove discussions feature from webapp (#10262) 2020-04-29 19:47:54 +02:00
browser Add code intelligence and CI checks for GQL queries (#10352) 2020-05-05 15:17:12 +02:00
client mv client/browser browser (#3826) 2019-05-06 19:36:03 +02:00
cmd repo-updater: Use code host URL as key for rate limit registry (#10492) 2020-05-08 16:55:46 +02:00
dev zoekt: use go.mod version for building docker images (#10384) 2020-05-04 13:10:42 +02:00
doc docs: add complete repo rev search syntax (#10488) 2020-05-08 00:53:41 -07:00
docker-images zoekt: use go.mod version for building docker images (#10384) 2020-05-04 13:10:42 +02:00
enterprise repo-updater: Use code host URL as key for rate limit registry (#10492) 2020-05-08 16:55:46 +02:00
internal codeintel: Remove tracing_context column from lsif_uploads (#10495) 2020-05-08 09:42:54 -05:00
migrations codeintel: Remove tracing_context column from lsif_uploads (#10495) 2020-05-08 09:42:54 -05:00
monitoring all: remove unused (#10289) 2020-04-30 17:12:41 +02:00
packages Fix firefox release script (#10392) 2020-05-04 20:23:08 +02:00
schema Integrate version contexts in the GraphQL API (#10346) 2020-05-07 16:09:55 +04:00
shared Fix requestGraphQL when no baseURL is provided (#10444) 2020-05-06 10:59:52 +02:00
ui/assets simplify Activation{Dropdown,Checklist} styles (#4538) 2019-06-16 19:44:30 -07:00
web Reducing feedback request from 60 to 30 days (#10425) 2020-05-05 18:29:16 -07:00
.dockerignore Rename lsif-server to precise-code-intel (#9376) 2020-03-31 15:59:13 -05:00
.editorconfig dev: add shfmt for shell script consistency (#9900) 2020-04-15 12:44:36 -07:00
.eslintrc.js Use asyncScheduler instead of animationFrameScheduler (#10367) 2020-05-02 19:18:58 +02:00
.gitattributes Don't count fixtures into GitHub language stats (#5817) 2019-10-02 17:22:49 +02:00
.gitignore Caddy workaround (#10021) 2020-04-20 10:45:58 +02:00
.gitmodules Publish Sourcegraph as open source 🚀 2018-09-30 23:13:36 -07:00
.graphqlconfig prefer using the Prisma GraphQL VS Code extension (#5268) 2019-08-18 04:05:33 -07:00
.mailmap Publish Sourcegraph as open source 🚀 2018-09-30 23:13:36 -07:00
.mocharc.js Fix regressions in regression suite (#7894) 2020-01-20 09:22:30 -06:00
.nvmrc Update Node.js to v13.12.0 (#9431) 2020-04-01 12:29:42 +02:00
.prettierignore Prettierignore gitignored Grafana files (#10256) 2020-04-29 11:00:37 +02:00
.stylelintignore Remove unused eslint disables (#9572) 2020-04-04 13:40:05 +02:00
.stylelintrc.json Publish Sourcegraph as open source 🚀 2018-09-30 23:13:36 -07:00
.tool-versions ci: add shellcheck linter for shell scripts (#9903) 2020-04-21 10:03:17 -07:00
.yarnrc Use npmjs.org instead of yarnpkg.com (#926) 2018-11-10 12:14:21 -08:00
babel.config.js Track Puppeteer coverage (#9551) 2020-04-06 23:15:33 +02:00
CHANGELOG.md changelog: don't advertise uppercase search option yet (#10391) 2020-05-05 16:29:18 -07: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 Add precise-code-intel system integration tests (rough v0) (#10360) 2020-05-07 13:24:35 -05:00
go.sum Add precise-code-intel system integration tests (rough v0) (#10360) 2020-05-07 13:24:35 -05:00
graphql-schema-linter.config.js Publish Sourcegraph as open source 🚀 2018-09-30 23:13:36 -07:00
gulpfile.js Fix copying integration assets (#7195) 2019-12-14 19:54:21 -05:00
jest.config.base.js Track loading states of providers (#9914) 2020-04-17 08:41:33 +02:00
jest.config.js Fix yarn test in root (#9629) 2020-04-07 14:42:57 +02:00
LICENSE clarify license (#2543) 2019-03-03 16:39:46 +08:00
LICENSE.apache clarify license (#2543) 2019-03-03 16:39:46 +08:00
LICENSE.enterprise clarify license (#2543) 2019-03-03 16:39:46 +08:00
package.json Update dependency ts-node to ^8.10.1 (#9579) 2020-05-08 17:20:01 +02:00
prettier.config.js Publish Sourcegraph as open source 🚀 2018-09-30 23:13:36 -07:00
README.md docs: Reference LSIF instead of LSP (#10109) 2020-04-21 19:37:10 -07:00
renovate.json Rename lsif-server to precise-code-intel (#9376) 2020-03-31 15:59:13 -05:00
SECURITY.md consolidate security policy (#7906) 2020-01-21 10:03:11 -08:00
ThirdPartyLicensesGo.csv Add ThirdPartyLicenses.csv with separate tools (#9823) 2020-04-16 22:44:54 +02:00
ThirdPartyLicensesNpm.csv codeintel: Add bundle writer abstraction (#10226) 2020-04-28 15:12:11 -05:00
tsconfig.json Rename lsif-server to precise-code-intel (#9376) 2020-03-31 15:59:13 -05:00
yarn.lock Update dependency ts-node to ^8.10.1 (#9579) 2020-05-08 17:20:01 +02:00

Sourcegraph

build apache license

Sourcegraph OSS edition is a fast, open-source, fully-featured code search and navigation engine. Enterprise editions are available.

Screenshot

Features

Try it yourself

Development

Prerequisites

  • Git
  • Go (1.13 or later)
  • Docker
  • PostgreSQL (v11 or higher)
  • Node.js (version 8 or 10)
  • Redis
  • Yarn
  • Nginx

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

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.

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 web/src/enterprise directories.

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