mirror of
https://github.com/sourcegraph/sourcegraph.git
synced 2026-02-06 15:12:02 +00:00
Code AI platform with Code Search & Cody
| .github | ||
| .vscode | ||
| client/contrib | ||
| cmd | ||
| dev | ||
| doc | ||
| docs | ||
| migrations | ||
| pkg | ||
| schema | ||
| src | ||
| ui/assets | ||
| xlang | ||
| .editorconfig | ||
| .gitattributes | ||
| .gitignore | ||
| .gitmodules | ||
| .huskyrc.json | ||
| .mailmap | ||
| .prettierignore | ||
| .stylelintrc.json | ||
| babel.config.js | ||
| CHANGELOG.md | ||
| CONTRIBUTING.md | ||
| doc.go | ||
| go.mod | ||
| go.sum | ||
| graphql-schema-linter.config.js | ||
| gulpfile.ts | ||
| LICENSE | ||
| package.json | ||
| postcss.config.js | ||
| prettier.config.js | ||
| README.md | ||
| renovate.json | ||
| tsconfig.dist.json | ||
| tsconfig.json | ||
| tsconfig.test.json | ||
| tslint.json | ||
| webpack.config.ts | ||
| yarn.lock | ||
Sourcegraph is a fast, open-source, fully-featured code search and navigation engine.
Features
- Fast global code search with a hybrid backend that combines a trigram index with in-memory streaming
- Code intelligence for many languages via the Language Server Protocol
- Enhances GitHub, GitLab, Phabricator, and other code hosts and code review tools via the Sourcegraph browser extension
- Integration with third-party developer tools via the Sourcegraph extension API
Try it yourself
- Try out the public instance on any open-source repository at sourcegraph.com.
- Install the free and open-source browser extension.
- Spin up your own instance with the quickstart installation guide.
- File feature requests and bug reports in our issue tracker.
- Visit about.sourcegraph.com for more information about product features.
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
-
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:
- Project FAQ
- Architecture: high-level architecture
- Database setup: database setup and best practices
- Style guide
- GraphQL API: useful tips when modifying the GraphQL API
- Contributing

