All Projects → Link- → Starred_search

Link- / Starred_search

Licence: apache-2.0
Fuzzy search your list of starred ★ repositories on GitHub

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to Starred search

Create Component App
Tool to generate different types of React components from the terminal. 💻
Stars: ✭ 879 (+887.64%)
Mutual labels:  cli, tool
Lucid
A simple mock-application for programs that work with child processes
Stars: ✭ 45 (-49.44%)
Mutual labels:  cli, tool
Durt
Command line tool for calculating the size of files and directories
Stars: ✭ 27 (-69.66%)
Mutual labels:  cli, tool
Tb Cli
🛠️ CLI for rapid TB generate
Stars: ✭ 8 (-91.01%)
Mutual labels:  cli, tool
Boilr
⚡️ boilerplate template manager that generates files or directories from template repositories
Stars: ✭ 1,268 (+1324.72%)
Mutual labels:  cli, tool
Auto Cpufreq
Automatic CPU speed & power optimizer for Linux
Stars: ✭ 843 (+847.19%)
Mutual labels:  cli, tool
Scout
Friendly fuzzy finder made in rust
Stars: ✭ 43 (-51.69%)
Mutual labels:  cli, fuzzy-search
Git2json
Simple tool to get a JSON from your git log.
Stars: ✭ 18 (-79.78%)
Mutual labels:  cli, tool
Neutron
Neutron is a CLI developed to help developers create new react projects with Redux + Redux Saga and offers well-structured code standardization.
Stars: ✭ 65 (-26.97%)
Mutual labels:  cli, tool
Fsq
A tool for querying the file system with a SQL-like language.
Stars: ✭ 60 (-32.58%)
Mutual labels:  cli, tool
Fileinfo
📄Get information on over 10,000 file extensions right from the terminal
Stars: ✭ 86 (-3.37%)
Mutual labels:  cli, tool
Nostromo
CLI for building powerful aliases
Stars: ✭ 76 (-14.61%)
Mutual labels:  cli, tool
Inquirer Checkbox Plus Prompt
Checkbox with autocomplete and other additions for Inquirer
Stars: ✭ 25 (-71.91%)
Mutual labels:  cli, fuzzy-search
Ddecmd
DDE command line query tool
Stars: ✭ 11 (-87.64%)
Mutual labels:  cli, tool
Mprislyrics
Small command-line utility that displays lyrics in sync with the currently playing song in a MPRIS2 capable player.
Stars: ✭ 24 (-73.03%)
Mutual labels:  cli, tool
Wait4x
Wait4X is a cli tool to wait for everything! It can be wait for a port to open or enter to rquested state.
Stars: ✭ 30 (-66.29%)
Mutual labels:  cli, tool
Pixterm
Draw images in your ANSI terminal with true color
Stars: ✭ 782 (+778.65%)
Mutual labels:  cli, tool
Dotnet Ignore
.NET CLI tool that can download .gitignore file from gitignore repository
Stars: ✭ 18 (-79.78%)
Mutual labels:  cli, tool
Pizza Cli
🍕 Order a pizza in a CLI app (just for fun!)
Stars: ✭ 58 (-34.83%)
Mutual labels:  cli, tool
Image To Xls
A simple tool to make ascii art from an image using excel colored cells.
Stars: ✭ 75 (-15.73%)
Mutual labels:  cli, tool

starred_search

Search your starred repositories on GitHub for a keyword.

Notice: This project is still in alpha and the API might change without notice. Update only after reviewing the changelog for breaking changes.

You know those repositories you like and star into the abyss? Yes those, this cli tool will help you do a fuzzy search on them. You can search any GitHub user's starred repositories by providing their handle only.

This tool will cache the results locally so that you don't risk abusing the API requests limit.

"Starred Search Demo"

Installation

Minimum Requirements

  • Node v12.x.x+

Setup

OS X & Linux:

# Install
npm install starred_search -g

# Usage
starred_search --user 'link-' --cache-dir '/tmp/.cache' --find 'es6'

I recommend that you create an alias in your shell to avoid repeating the required parameters.

Example alias in fish and bash:

# Create an alias (this is temporary, you might want to make it permanent)
alias stars="starred_search --user 'link-' --cache-dir '/tmp/.cache'"

# Then you can use it as:
stars -f 'es6'

Usage

Usage: starred_search [OPTIONS] [ARGS]...

  Search your or any other user's starred repositories on GitHub for a keyword.

Options:
  -h, --help
    Show this message and exit.
  
  -u, --user <handle>
    Any GitHub handle. Example: link-

  -c, --cache-dir <directory>
    Directory you want to store the cache file in. Example: /tmp/.cache

  -f, --find <keyword>
    The keyword you want to search for. Example: es6

  -l, --limit <number>
    Limit the search results to the specified number. Default is 10
    
  -V, --verbose
    Outputs debugging log

  -v, --version
    Outputs release version

Example output

Non-verbose Output:

$: starred_search --user 'link-' --find 'es6'

[
  {
    "repo_name": "lukehoban/es6features",
    "repo_description": "Overview of ECMAScript 6 features",
    "repo_url": "https://github.com/lukehoban/es6features",
    "repo_stars": 27672
  },
  {
    "repo_name": "google/sa360-flightsfeed",
    "repo_description": "Generate SA360 compatible feeds for airlines on BigQuery  🚀",
    "repo_url": "https://github.com/google/sa360-flightsfeed",
    "repo_stars": 8
  },
  {
    "repo_name": "DrkSephy/es6-cheatsheet",
    "repo_description": "ES2015 [ES6] cheatsheet containing tips, tricks, best practices and code snippets",
    "repo_url": "https://github.com/DrkSephy/es6-cheatsheet",
    "repo_stars": 11410
  }
]

Verbose Output:

$: starred_search --user 'link-' --cache-dir '/tmp/.cache' --find 'es6' --verbose

🕵    INFO: Searching for "es6" in "link-'s" starred catalogue
⚠️    INFO:: Serving search results from cache
[
  {
    "repo_name": "lukehoban/es6features",
    "repo_description": "Overview of ECMAScript 6 features",
    "repo_url": "https://github.com/lukehoban/es6features",
    "repo_stars": 27672
  },
  {
    "repo_name": "google/sa360-flightsfeed",
    "repo_description": "Generate SA360 compatible feeds for airlines on BigQuery  🚀",
    "repo_url": "https://github.com/google/sa360-flightsfeed",
    "repo_stars": 8
  },
  {
    "repo_name": "DrkSephy/es6-cheatsheet",
    "repo_description": "ES2015 [ES6] cheatsheet containing tips, tricks, best practices and code snippets",
    "repo_url": "https://github.com/DrkSephy/es6-cheatsheet",
    "repo_stars": 11410
  }
]

Parsing the output with jq You can pipe the standard output to be handled by tools like jq for more magic:

# Return the first search result only
$: starred_search -u 'link-' -f 'es6' | jq '.[0]'

{
  "repo_name": "lukehoban/es6features",
  "repo_description": "Overview of ECMAScript 6 features",
  "repo_url": "https://github.com/lukehoban/es6features",
  "repo_stars": 27672
}

# Return repo_name of every result element
starred_search -u 'link-' -f 'es6' | jq 'map(.repo_name)'

[
  "lukehoban/es6features",
  "google/sa360-flightsfeed",
  "DrkSephy/es6-cheatsheet"
]

Release History

  • 0.1.8
    • API BREAKING CHANGES
    • Change alias for --verbose from -v to -V
    • Add -v, --version option
  • 0.1.7
    • Added -h, --help option
    • Added -l, --limit option to limit the search results
  • 0.1.6
    • Added aliases to documentation
  • 0.1.5
    • API BREAKING CHANGES
    • Add verbose flag
    • Fix output to return valid JSON
    • Fix output to return results in an array instead of separated objects
  • 0.1.0 - 0.1.4
    • Basic functionality
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].