sourcegraph/pssourcegraph — explained in plain English
Analysis updated 2026-07-18 · repo last pushed 2026-07-12
Find every place a deprecated function is called across your company's codebase from the terminal.
Search for a specific function or class name across all your repositories without opening a browser.
Jump to a symbol definition or list all its references while debugging in PowerShell.
Set up a default private Sourcegraph endpoint and API token for team-wide terminal searches.
| sourcegraph/pssourcegraph | chawyehsu/base16-concfg | woodfishhhh/ez_math_model | |
|---|---|---|---|
| Stars | 10 | 10 | 11 |
| Language | PowerShell | PowerShell | PowerShell |
| Last pushed | 2026-07-12 | 2026-06-17 | — |
| Maintenance | Active | Maintained | — |
| Setup difficulty | moderate | easy | moderate |
| Complexity | 2/5 | 1/5 | 3/5 |
| Audience | developer | developer | researcher |
Figures from each repo's GitHub metadata at analysis time.
Requires a Sourcegraph instance URL and API token, token storage on macOS/Linux needs manual handling via keychain or plain text.
PSSourcegraph is a plugin for PowerShell that lets you search across all your code using Sourcegraph directly from the command line. Instead of opening a browser to look up a function, find where something is defined, or see who references a particular piece of code, you can run a command and get nicely formatted results right in your terminal. The tool works by connecting to Sourcegraph (either the public version or your company's private instance) and running searches through its API. You can search for plain text, specific files, or symbols like function and class names. Beyond just searching, it also supports "code intelligence" features, you can hover over code to see documentation, jump to a definition, or list all references to a symbol. Results are formatted to be readable in the terminal, and you can pipe output from one command into another, which is a common PowerShell pattern for chaining tasks together. This is built for developers or IT teams who already use Sourcegraph and spend a lot of time in PowerShell on Windows, macOS, or Linux. For example, if you're debugging an issue and need to quickly find every place a deprecated function is called across your company's codebase, you could run a single command to get that list without leaving your terminal. Teams running a private Sourcegraph instance can configure a default endpoint and API token so the commands always point at the right place. One notable tradeoff is around token security. On Windows, your API token can be encrypted using built-in OS-level protection. On macOS and Linux, that same encryption isn't available, so the README recommends either storing the token in plain text (if you're not worried about that) or pulling it from a password manager or system keychain at startup. It's a reasonable but slightly clunky experience for non-Windows users.
A PowerShell plugin that lets you search your code on Sourcegraph from the command line. You can find definitions, references, and docs without leaving the terminal.
Mainly PowerShell. The stack also includes PowerShell, Sourcegraph API.
Active — commit in last 30 days (last push 2026-07-12).
The license terms are not specified in the repository explanation, so check the repo for details before using it.
Setup difficulty is rated moderate, with roughly 5min to a first successful run.
Mainly developer.
This repo across BitVibe Labs
double-check against the repo, no cap.