sourcegraph

Code search and intelligence, self-hosted and scalable

Github stars Tracking Chart

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. Start the development server

    ./dev/start.sh
    

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

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.

Main metrics

Overview
Name With Ownersourcegraph/sourcegraph
Primary LanguageGo
Program languageJavaScript (Language Count: 38)
Platform
License:Other
所有者活动
Created At2015-08-24 07:27:28
Pushed At2024-08-13 13:40:06
Last Commit At2023-08-30 20:59:33
Release Count700
Last Release Namev5.6.185 (Posted on )
First Release Namev2.3.7 (Posted on )
用户参与
Stargazers Count10k
Watchers Count182
Fork Count1.2k
Commits Count37.7k
Has Issues Enabled
Issues Count21624
Issue Open Count4421
Pull Requests Count37309
Pull Requests Open Count405
Pull Requests Close Count4483
项目设置
Has Wiki Enabled
Is Archived
Is Fork
Is Locked
Is Mirror
Is Private