{"id":16841110,"url":"https://github.com/bobheadxi/raycast-sourcegraph","last_synced_at":"2025-04-11T05:51:13.804Z","repository":{"id":39670302,"uuid":"448969024","full_name":"bobheadxi/raycast-sourcegraph","owner":"bobheadxi","description":"*️⃣ Search code, manage Batch Changes, and browse Notebooks on Sourcegraph with Raycast","archived":false,"fork":false,"pushed_at":"2025-02-04T17:58:19.000Z","size":41770,"stargazers_count":5,"open_issues_count":0,"forks_count":3,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-25T03:51:11.508Z","etag":null,"topics":["code-search","extension","raycast","raycast-extension","search","sourcegraph"],"latest_commit_sha":null,"homepage":"https://raycast.com/bobheadxi/sourcegraph","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/bobheadxi.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-01-17T16:32:20.000Z","updated_at":"2025-02-04T17:58:23.000Z","dependencies_parsed_at":"2025-01-29T22:35:56.890Z","dependency_job_id":null,"html_url":"https://github.com/bobheadxi/raycast-sourcegraph","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bobheadxi%2Fraycast-sourcegraph","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bobheadxi%2Fraycast-sourcegraph/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bobheadxi%2Fraycast-sourcegraph/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bobheadxi%2Fraycast-sourcegraph/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bobheadxi","download_url":"https://codeload.github.com/bobheadxi/raycast-sourcegraph/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248351425,"owners_count":21089271,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["code-search","extension","raycast","raycast-extension","search","sourcegraph"],"created_at":"2024-10-13T12:40:19.547Z","updated_at":"2025-04-11T05:51:13.781Z","avatar_url":"https://github.com/bobheadxi.png","language":"TypeScript","readme":"\u003cbr /\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003cimg src=\"https://github.com/bobheadxi/raycast-sourcegraph/blob/main/assets/command-icon.png?raw=true\" alt=\"sourcegraph\" width=\"52px\" /\u003e\n\u003c/p\u003e\n\n\u003ch1 align=\"center\"\u003e\n  Sourcegraph for Raycast\n\u003c/h1\u003e\n\n\u003cp align=\"center\"\u003e\n  Search code, manage batch changes, and browse notebooks on \u003ca href=\"https://about.sourcegraph.com\"\u003eSourcegraph\u003c/a\u003e with \u003ca href=\"https://www.raycast.com\"\u003eRaycast\u003c/a\u003e.\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"#install\"\u003e\u003cstrong\u003eInstall\u003c/strong\u003e\u003c/a\u003e · \n  \u003ca href=\"#setup\"\u003e\u003cstrong\u003eSetup\u003c/strong\u003e\u003c/a\u003e · \n  \u003ca href=\"#commands\"\u003e\u003cstrong\u003eCommands\u003c/strong\u003e\u003c/a\u003e · \n  \u003ca href=\"https://github.com/bobheadxi/raycast-sourcegraph/issues\"\u003e\u003cstrong\u003eIssues\u003c/strong\u003e\u003c/a\u003e · \n  \u003ca href=\"#changelog\"\u003e\u003cstrong\u003eChangelog\u003c/strong\u003e\u003c/a\u003e · \n  \u003ca href=\"#contributing\"\u003e\u003cstrong\u003eContributing\u003c/strong\u003e\u003c/a\u003e\n\u003c/p\u003e\n\n![search demo](metadata/1-search.png)\n\n\u003cbr /\u003e\n\n## Install\n\nTo get started, [install Raycast](https://www.raycast.com/) and [install the Sourcegraph extension from the Raycast extensions store](https://www.raycast.com/bobheadxi/sourcegraph).\n\n\u003ca id=\"install-extension-button\" title=\"Install Sourcegraph Raycast Extension\" href=\"https://www.raycast.com/bobheadxi/sourcegraph#install\"\u003e\n  \u003cimg style=\"height: 64px\" src=\"https://assets.raycast.com/bobheadxi/sourcegraph/install_button@2x.png\" height=\"64\"\u003e\n\u003c/a\u003e\n\nAlternatively, you can [install this extension from source](https://github.com/bobheadxi/raycast-sourcegraph/blob/main/CONTRIBUTING.md).\n\n\u003cbr /\u003e\n\n## Setup\n\nThis extension adds a [variety of commands](#commands) for interacting with [Sourcegraph](https://about.sourcegraph.com).\nSome configuration is required to use certain features, most notably the [variants of each command for custom Sourcegraph Instances](#sourcegraph-instance-or-workspace), though you can get started with [Sourcegraph.com commands](#sourcegraphcom) without any additional setup.\n\n### Sourcegraph.com\n\nNo setup is required to connect to [Sourcegraph.com](https://sourcegraph.com/search) through the 'Sourcegraph.com' variants of this extensions's commands.\nTo configure your own [search contexts](#search-contexts), create search notebooks, and more, [sign up for a Sourcegraph.com account](https://sourcegraph.com/sign-up)!\n\nOnce you have an account, you can create an access token under the [\"Access tokens\" tab in your user settings on Sourcegraph.com](https://sourcegraph.com/user/settings/tokens/new).\nCopy that access token to the \"Sourcegraph.com: Access token\" field in the Sourcegraph Raycast extension preferences to authenticate your search queries.\n\nTo search your private code, please reach out [get a demo of the single-tenant solution](https://sourcegraph.com/contact/request-info) or [try out a self-hosted installation of Sourcegraph](https://about.sourcegraph.com/get-started/self-hosted).\n\n### Sourcegraph instance or workspace\n\nTo start searching code on a custom Sourcegraph instance or workspace:\n\n- [Sourcegraph workspace](https://workspaces.sourcegraph.com/)\n- [self-hosted Sourcegraph instance](https://sourcegraph.com/docs/admin/deploy)\n- [Sourcegraph Cloud instance](https://sourcegraph.com/docs/cloud)\n\nYou can set up access through the 'Sourcegraph' variants of this extensions's commands by configuring the \"Sourcegraph: URL\" and \"Sourcegraph Instance: Access token\" fields in the Sourcegraph Raycast extension preferences.\nYou can create an access token under the \"Access tokens\" tab in your user settings in Sourcegraph.\n\nFor example, you can configure `example.sourcegraph.app` as a URL and go to `https://example.sourcegraph.app/user/settings/tokens/new` to create an access token for use in this extension.\n\n\u003cbr /\u003e\n\n## Commands\n\n### Search Code\n\n![search demo](metadata/1-search.png)\n\nGet results as you type on [code search](https://about.sourcegraph.com/code-search) over your code and many public repositories.\n\n#### Search contexts\n\n[Search contexts](https://sourcegraph.com/docs/code-search/features#search-contexts) allow you to narrow down your search to code you care about.\n\nThe Sourcegraph Raycast extension allows you to set a default context for your searches in the \"Search Code\" command preferences.\n\n### Code Search History\n\nBrowse, manage, and run recent [code searches](#search-code). New searches can also easily be launched from the Code Search History command.\n\nRecent searches are persisted [locally through a native Raycast API](https://developers.raycast.com/api-reference/storage).\n\n![search history demo](metadata/2a-search-history.png)\n\n### Manage Batch Changes\n\nBrowse, view, publish, and merge changesets for [batch changes](https://about.sourcegraph.com/batch-changes) straight from Raycast.\nBatch 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.\n\n\u003e [!NOTE]\n\u003e Batch Changes are currently only supported when connected to a [self-hosted Sourcegraph instance](https://sourcegraph.com/docs/admin/deploy)\nor [Sourcegraph Cloud instance](https://sourcegraph.com/docs/cloud).\n\u003e To use this command, you must also enable it in the Raycast Sourcegraph extension preferences.\n\n![batch changes](metadata/3-batch-change-manage.png)\n\n### Find Search Notebooks\n\nBrowse and preview [search notebooks](https://sourcegraph.com/docs/notebooks) straight from Raycast.\nNotebooks enable powerful live – and persistent – documentation, shareable with your organization or the world.\n\n\u003e [!NOTE]\n\u003e Notebooks are currently only supported when connected to a [self-hosted Sourcegraph instance](https://sourcegraph.com/docs/admin/deploy)\nor [Sourcegraph Cloud instance](https://sourcegraph.com/docs/cloud).\n\u003e To use this command, you must also enable it in the Raycast Sourcegraph extension preferences.\n\n\u003cbr /\u003e\n\n## Changelog\n\nThe [changelog](CHANGELOG.md) documents all notable updates to the extension.\n\nUpdates will be regularly published to the [Raycast Extensions repository](https://github.com/raycast/extensions) from the [`bobheadxi/raycast-sourcegraph` repository](https://github.com/bobheadxi/raycast-sourcegraph).\nTo try out yet-to-be-published changes, you can [install this extension from source](./CHANGELOG.md).\n\n\u003cbr /\u003e\n\n## Contributing\n\nSee [CONTRIBUTING.md](CONTRIBUTING.md) if you're interested in contributing to this extension!\n\nHave ideas or suggestions? Please feel free to [open an issue with feedback](https://github.com/bobheadxi/raycast-sourcegraph/issues)!\n\n\u003cbr /\u003e\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbobheadxi%2Fraycast-sourcegraph","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbobheadxi%2Fraycast-sourcegraph","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbobheadxi%2Fraycast-sourcegraph/lists"}