All Projects → wolfg1969 → oh-my-stars

wolfg1969 / oh-my-stars

Licence: MIT License
An offline CLI tool to search your GitHub Stars.

Programming Languages

python
139335 projects - #7 most used programming language
shell
77523 projects

Projects that are alternatives of or similar to oh-my-stars

alfred-chinese-converter
支持 OpenCC 簡繁體中文詞彙級別轉換、異體字轉換以及地區習慣用詞轉換的 Alfred 2 workflow
Stars: ✭ 42 (-46.15%)
Mutual labels:  alfred-workflow
SABnzbd-Alfred
Control SABnzbd from Alfred app
Stars: ✭ 16 (-79.49%)
Mutual labels:  alfred-workflow
Track-Stargazers
Have fun tracking your project's stargazers
Stars: ✭ 38 (-51.28%)
Mutual labels:  github-stars
WeiboPictureWorkflow
微博图床 Alfred Workflow,警告:微博修改了登录方式,此 workflow 暂时不能用了,何时修复未定,推荐使用 iPic
Stars: ✭ 23 (-70.51%)
Mutual labels:  alfred-workflow
dotfiles
Software Installation, Configuration and Preferences for Springload
Stars: ✭ 23 (-70.51%)
Mutual labels:  alfred-workflow
alfred-chrome-history
Search your Google Chrome history in Alfred
Stars: ✭ 169 (+116.67%)
Mutual labels:  alfred-workflow
alfred-caniuse
Quickly reference caniuse.com support tables using Alfred 3.
Stars: ✭ 16 (-79.49%)
Mutual labels:  alfred-workflow
alfred-timing
⏳ Alfred workflow for Timing app
Stars: ✭ 21 (-73.08%)
Mutual labels:  alfred-workflow
alfred-mailto
Send emails to recipients and groups from Alfred
Stars: ✭ 59 (-24.36%)
Mutual labels:  alfred-workflow
linguee-alfred-workflow
Dictionary workflow for Alfred based on linguee.de
Stars: ✭ 59 (-24.36%)
Mutual labels:  alfred-workflow
alfred-default-folder-x
Access your Default Folder X favourites and recent items in Alfred
Stars: ✭ 21 (-73.08%)
Mutual labels:  alfred-workflow
alfred-percent-change
An Alfred workflow to help you do percentage calculations
Stars: ✭ 17 (-78.21%)
Mutual labels:  alfred-workflow
pandoc alfred
Pandoc-Suite for Academic Writing in Markdown
Stars: ✭ 68 (-12.82%)
Mutual labels:  alfred-workflow
alfred-workflows
Collection of Alfred workflows
Stars: ✭ 24 (-69.23%)
Mutual labels:  alfred-workflow
speak.awf
An Alfred 3 workflow that uses macOS's TTS (text-to-speech) feature to speak text aloud.
Stars: ✭ 29 (-62.82%)
Mutual labels:  alfred-workflow
alfred-ask-create-share
Alfred workflow for creating web submissions (Stack Exchange, Forums and more)
Stars: ✭ 30 (-61.54%)
Mutual labels:  alfred-workflow
alfred-microsoft-onenote-navigator
Use Alfred to browse through your Microsoft OneNote notebooks, section groups and sections and then jump to them instantly.
Stars: ✭ 52 (-33.33%)
Mutual labels:  alfred-workflow
alfred-latex-symbols-workflow
🔎 Alfred 3-4 workflow to search for latex symbol commands
Stars: ✭ 33 (-57.69%)
Mutual labels:  alfred-workflow
alfred-relative-dates
Alfred workflow to generate relative dates in different locales
Stars: ✭ 30 (-61.54%)
Mutual labels:  alfred-workflow
AlfredWorkflows
My workflow creations for Alfred on macOS.
Stars: ✭ 55 (-29.49%)
Mutual labels:  alfred-workflow

oh-my-stars

Search your stars locally.

usage: mystars [-h] [-l LANGUAGE [LANGUAGE ...]] [-u] [-r] [-a] [-3] [-i]
                   [-v]
                   [keywords [keywords ...]]

a CLI tool to search your starred Github repositories.

positional arguments:
  keywords              Search by keywords

optional arguments:
  -h, --help            show this help message and exit
  -l LANGUAGE [LANGUAGE ...], --language LANGUAGE [LANGUAGE ...]
                        Filter by language
  -u, --update          Create(first time) or update the local stars index
  -r, --reindex         Re-create the local stars index
  -c WHEN, --color WHEN
                        Colorize the output; WHEN can be 'always' (default if
                        omitted), 'auto', or 'never'
  -a, --alfred          Format search result as Alfred Script Filter output
  -3, --three           Alfred 3 support
  -i, --install         Import Alfred workflow
  -v, --version         show program's version number and exit

oh-my-stars

Works with Alfred Workflow

oh-my-stars-alfred-workflow

Configuration

You can avoid entering your GitHub API credentials every time you update the index, by adding them to the ~/.netrc file as follows:

machine api.github.com
    login ‹GH_USERNAME›
    password ‹GH_API_TOKEN›

Use an API token as the password – you can create one via Settings » Developer settings » Personal access tokens in the GitHub web interface.

Once you have stored credentials, you can also automate the index update by adding a job with crontab -e:

# GitHub stars
0 6 * * *	~/.local/bin/mystars -u

Installation (Mac OSX)

$ pip install oh-my-stars --upgrade --user
$ mystars --help
$ mystars --update
$ mystars angular upload
$ mystars --language python
$ mystars awesome python

if install failed, try following commands

$ pip uninstall distribute
$ pip install setuptools
$ pip install --upgrade setuptools

Integration with Alfred

$ mystars -i -3

For Alfred v2

$ mystars -i

Change logs

v1.5.1

  • Fix error 'IOError: [Errno 32] Broken pipe'
v1.5.0
  • Disable the pagination and add a --color option. Thanks for the suggestions from @jhermann
  • Speed up result display with CachingMiddleware of TinyDB
v1.4.9
  • Fix workflow for Alfred v2
v1.4.8
  • Fix Alfred XML output
  • Rewrite Alfred workflow script
v1.4.5
  • Drop Python 2.6 Support
  • Update docs: using ~/.netrc + cron. @jhermann
v1.3.5
  • Output Alfred 3 JSON ouput with "-a -3" option.
  • Import Alfred Workflow with "-i" (append "-3" for Alfred 3) option.
v1.2.3
  • Get user + password from netrc. @jhermann.
  • Use pipenv to manage project requirements.
v1.1.3
  • Upgrade to TinyDB 3.7.0.
  • Build index when updating.
  • Search result pagination.

Note

  • Uninstall existing version.
  • Rebuild existing index with mystars -r.
v1.0.2
  • Rename to oh-my-stars.
v1.0.1
  • Support Github two-factor authentication. @yanyaoer
v1.0.0
  • Replace kc with TinyDB, no more non-python dependencies.
  • Only update stars since last time.
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].