Sourcegraph
Sourcegraph is a self-hosted code search and code intelligence platform that helps large development teams explore complex codebases with AI-assisted code…
Platform availability
Available on 1 of 10 platforms
- Unraid
- TrueNAS (not listed)
- Umbrel (not listed)
- ZimaOS (not listed)
- Proxmox (not listed)
- Helm (not listed)
- Mac (not listed)
- Windows (not listed)
- Linux (not listed)
- Any server (not listed)
Health score?A 0-100 score computed nightly from four factors: maintained (40%: recent commits and steady activity), popular (25%: GitHub stars, log scale), easy to install (20%: platforms, install notes, setup guides, Docker image) and light to run (15%: minimum RAM, ARM support). When the source code has been checked, a fifth factor, security check (20%: automated scan for committed secrets, unsafe desktop-app settings, known-vulnerable dependencies and project hygiene; any serious finding caps it at 20), is added. Factors without data are left out and the rest are rescaled.
5/100 Low
- Maintained
- 0GitHub repository no longer exists
- Popular
- No data
- Easy to install
- 150 install platforms, install notes
- Light to run
- No data
Based on 2 of 4 factors.
No GitHub repository data collected yet.
Checked 54 days ago - source: GitHub (sourcegraph/sourcegraph)
Resources & Compatibility
Requirements not published yet.
First-install notes
- Install the indexer first Use the .NET command-line tool (dotnet) to run `dotnet tool install --global scip-dotnet`. This puts the `scip-dotnet` command on your machine, and without it you can't generate the Sourcegraph index. source
- Skip generated build folders Run `scip-dotnet index MyApp.sln` and add `--exclude **/bin/**` and `--exclude **/obj/**`. That skips generated build folders, keeping the index smaller and less likely to show junk. source
- Upload the index with a token Use npm (the Node.js package manager) to run `npm install -g @sourcegraph/src`, then set `SRC_ACCESS_TOKEN` and `SRC_ENDPOINT` and run `src code-intel upload`. The token authorizes the upload, and the endpoint points to the right Sourcegraph server; without either, the upload fails. source
Fetched 53 days ago - each note links to its source
Variants
Alternatives (12)
- 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…
Checked 54 days ago - source: AlternativeTo
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.
Answers sourced from github.com, github.com, github.com, sourcegraph.com
Community
- Sourcegraph, a hackable self-hosted Git code host with code ... - Reddit (reddit)
- sourcegraph - Reddit (reddit)
- Sourcegraph is now open source : r/programming - Reddit (reddit)
- Self-hosted code search? : r/selfhosted - Reddit (reddit)
- Why Sourcegraph is indexing the open source universe - Reddit (reddit)
Collected 48 days ago - public community threads