Sourcegraph App
⚠️ Experimental ⚠️
Sourcegraph App is highly experimental and early-stages-we do not advise you try it yet. If you're interested, reach out to us on Twitter or Discord and we'll let you know when it's ready to try out!
The following is intended primarily for Sourcegraph employees
What is it?
Sourcegraph App runs alongside your IDE and provides a better way to understand, browse, and search both your local and remote code. It is lightweight, and provides IDE-like code navigation, powerful regexp/commit/diff search, etc. all on your local machine.
We're still working out all the details, this is a very early-stages version which doesn't live up to that vision yet. Still, we'd love if you try it out and let us know how it goes and what you think!
Learn more about how this fits into our product strategy
Installation
macOS: via homebrew:
brew install sourcegraph/sourcegraph-app/sourcegraph
Linux: via deb pkg installer:
dpkg -i sourcegraph_0.0.196391-snapshot+20230131-f10a97_linux_amd64.deb
Single-binary zip download:
Prerequisites
Ensure you have the following:
src
CLI available on your PATH (installation)docker
is installed and on your PATH- Redis is running, e.g. via Docker:
docker run -p 127.0.0.1:6379:6379 -d redis redis-server --save 60 1 --loglevel warning
Usage
Start Sourcegraph by running the following in a terminal:
sourcegraph
Navigate to http://localhost:3080 and you can add your remote repositories from there (we're still working on ability to add local code.)
Troubleshooting
If it doesn't start, make sure:
- Redis is running on port 6379
docker
andgit
are installed and on your pathsrc
is installed and on your path
What works
- Adding repositories from GitHub, GitLab, etc.
- Code navigation
- Search
- Batch changes
- Precise code intel
Known issues
- Can't add local code yet, only remote code
- Syntax highlighting is broken
- We're working on eliminating the Redis,
src
CLI, and Docker dependencies - macOS binaries are not code-signed yet, so you may need to right-click -> open the binary if you do not use Homebrew.
Feedback
You can provide feedback and get help in our Discord or tweet @sourcegraph.
Sourcegraph employees: join #app
in Slack!