An open API service indexing awesome lists of open source software.

https://github.com/jklewa/sourcegraph-alfred

Sourcegraph workflow for Alfred
https://github.com/jklewa/sourcegraph-alfred

alfred-workflow sourcegraph

Last synced: 11 months ago
JSON representation

Sourcegraph workflow for Alfred

Awesome Lists containing this project

README

          

# Sourcegraph for Alfred 4 [ [Download Workflow](https://github.com/jklewa/sourcegraph-alfred/releases/latest) ]
![GitHub Downloads (all assets, all releases)](https://img.shields.io/github/downloads/jklewa/sourcegraph-alfred/total?logo=github)
![GitHub last commit (branch)](https://img.shields.io/github/last-commit/jklewa/sourcegraph-alfred/master)
![GitHub repo size](https://img.shields.io/github/repo-size/jklewa/sourcegraph-alfred)
![GitHub Release](https://img.shields.io/github/v/release/jklewa/sourcegraph-alfred?include_prereleases)

*Based on the archived [sourcegraph/sourcegraph-alfred](https://github.com/sourcegraph/sourcegraph-alfred) Feedback or issue? [File an issue.](https://github.com/jklewa/sourcegraph-alfred/issues)*

[Sourcegraph](https://sourcegraph.com) is a global code search and cross‑references engine. Search for a function, type, or package, and see how other developers use it, across all repositories. Sourcegraph for Alfred brings you the power of Sourcegraph global code search to your Alfred application launcher.

## Overview

Sourcegraph for Alfred allows you to view Sourcegraph search results in Alfred, the macOS productivity app.

![Sourcegraph for Alfred](images/setup.png)

## Installation

In order to use this Workflow you must have [Alfred](https://www.alfredapp.com/) and the [Alfred Powerpack](https://www.alfredapp.com/powerpack/).

To install Sourcegraph for Alfred, [download the latest .alfredworklow.](https://github.com/jklewa/sourcegraph-alfred/releases/latest) and open the workflow file.

![Sourcegraph for Alfred](images/install.png)

## Usage
Launch Alfred using [your configured hotkey](https://www.alfredapp.com/help/workflows/triggers/hotkey/). Type `sg` followed by a search term relevant to the documentation you're looking for and select the most relevant item from the menu. Search items open in your default browser.

Try some common searches:
- `http.Get`
- `Sprintf`
- `func Decode`
- `gorilla/mux`
- To see what else works, try [global code search on Sourcegraph](https://sourcegraph.com/search)

## Support

Sourcegraph for Alfred is compatible with Alfred version 4 and Python 3.