Search your code and 2M+ public repositories.
Search code on a self-hosted Sourcegraph instance.
Browse search notebooks on Sourcegraph Cloud.
Browse search notebooks on a self-hosted Sourcegraph instance.
Manage batch changes on a self-hosted Sourcegraph instance.
To get started, install Raycast and install the Sourcegraph extension from the Raycast extensions store.
Alternatively, you can install this extension from source.
This extension adds a variety of commands for interacting with Sourcegraph. Some configuration is required to use certain features, most notably the variants of each command for Sourcegraph Self-Hosted, though you can get started with Sourcegraph Cloud commands without any additional setup.
No setup is required to connect to Sourcegraph Cloud! To search your private code, configure your own search contexts, create your own search notebooks, and more, sign up for a Sourcegraph Cloud account!
Once you have an account, you can create an access token under the "Access tokens" tab in your user settings on Sourcegraph Cloud. Copy that access token to the "Sourcegraph Cloud: Access token" field in the Sourcegraph Raycast extension preferences to authenticate your search queries.
To start searching code on a self-hosted Sourcegraph instance, you can set up access to any Sourcegraph instance by configuring the "Sourcegraph Self-Hosted: Instance URL" and "Sourcegraph Self-Hosted: Access token" fields in the Sourcegraph Raycast extension preferences. You can create an access token under the "Access tokens" tab in your user settings on your Sourcegraph instance.
Get results as you type on code search over your code and 2M+ public repositories.
Search contexts allow you to narrow down your search to code you care about. To get started, you can try the public Sourcegraph Cloud contexts, or configure your own in your Sourcegraph Cloud account or self-hosted Sourcegraph instance's "Contexts" page!
The Sourcegraph Raycast extension allows you to set a default context for your searches in the "Search Code" command preferences.
Browse and preview search notebooks straight from Raycast. Notebooks enable powerful live – and persistent – documentation, shareable with your organization or the world.
To get started, you can try the public Sourcegraph Cloud notebooks, or configure your own from your Sourcegraph Cloud account or self-hosted Sourcegraph instance!
Browse, view, publish, and merge changesets for batch changes straight from Raycast. Batch changes automate large-scale code changes to keep your code up to date, fix critical security issues, and pay down tech debt across all of your repositories.
Batch changes is currently only supported on Sourcegraph Self-Hosted.
The changelog documents all notable updates to the extension.
Updates will be regularly published to the Raycast Extensions repository from the
To try out yet-to-be-published changes, you can install this extension from source.
See CONTRIBUTING.md if you're interested in contributing to this extension!
Have ideas or suggestions? Please feel free to open an issue with feedback!