# Sourcegraph

Sourcegraph is a self-hosted code search and code intelligence platform that helps large development teams explore complex codebases with AI-assisted code context. It is open source and self-hosted, installable on Docker Hub and Unraid.

Canonical page: https://ourlocalhost.com/app/5079/sourcegraph

## Description

Sourcegraph is a self-hosted code search and code intelligence platform that helps large development teams explore complex codebases with AI-assisted code context.

## Platform availability

Available on 1 of 10 platforms: Unraid.

## Health score

5/100 (Low), based on 2 of 4 factors.
- Maintained: 0 (GitHub repository no longer exists)
- Easy to install: 15 (0 install platforms, install notes)

## Links

- Docker Hub: https://hub.docker.com/r/sourcegraph
- Unraid: https://ca.unraid.net/apps?q=Sourcegraph&app=w9b4qb
- Official website: https://sourcegraph.com

## Common questions

### How can I run Sourcegraph self-hosted quickly?

The fastest way is with the Docker container. There are also several additional ways to run a production instance.

### Why does .NET indexing fail if scip-dotnet is missing?

Install the indexer first with dotnet tool install --global scip-dotnet. Without the scip-dotnet command, you cannot generate the Sourcegraph index.

### What must be configured to upload a code intelligence index?

Set SRC_ACCESS_TOKEN and SRC_ENDPOINT, install the Sourcegraph CLI, and run src code-intel upload. Without the token or endpoint, the upload fails.

### How can I keep old Sourcegraph repository links working after changing repositoryPathPattern?

Set up redirect URLs. Changing the code host configuration to a different repositoryPathPattern changes repository URLs, and redirects preserve links to the old URLs.

### Is self-hosted Sourcegraph Enterprise free for small teams?

Sourcegraph Enterprise is free up to 10 users.

## Alternatives

- Claude Code: Claude Code is a self-hosted Docker container that keeps an always-on Claude Code session on your homelab, so the agent stays reachable fro…
- Cline: Autonomous coding agent right in your IDE, capable of creating/editing files, executing commands, using the browser, and more with your per…
- Codex: Codex is a web-based comic archive browser and reader for organizing, importing, and reading personal CBZ, CBR, CB7, CBT, and PDF comic lib…
- Cursor: The AI-first Code Editor.
- Emdash: EmDash is a full-stack TypeScript CMS based on Astro; the spiritual successor to WordPress
- GitHub Copilot: GitHub Copilot leverages the power of OpenAI Codex to provide real-time suggestions for code and complete functions, all within your editor.
- Google Antigravity: Google Antigravity is an agentic IDE and coding environment designed to support real world software projects through autonomous development…
- Jules: Jules is an asynchronous agent that gets out of your way.
- Pi Agent
- Void: The open source AI code editor.
- Xiaomi MiMo Code
- opencode: OpenCode is an open-source AI (artificial intelligence) coding agent for terminal, editor, and desktop environments that helps developers w…

---
Source: Our Local Host (https://ourlocalhost.com/app/5079/sourcegraph), the self-hosted and open-source app directory.
