ghstar
Star GitHub repos from the command line.
# set the environment variables GH_UNAME and GH_TOKEN
# to your GitHub username and token/password
$ ghstar gokulsoumya/ghstar
Starred gokulsoumya/ghstar
(Because the command line is awesome, browsers are a hassle, and I'm lazy.)
Installation
ghstar is written in Python3, available on PyPI and installable via pip:
pip install ghstar
Usage
You must first set the environment variables GH_UNAME and GH_TOKEN to
your GitHub username and token/password. It is recommended to use a
token with public_repo scope
instead of your password though either one works.
$ ghstar --help
usage: ghstar [-h] [-i] [-n SEARCH_COUNT] repo
Star GitHub repos from the command line.
positional arguments:
repo name of repo to star
optional arguments:
-h, --help show this help message and exit
-i, --interactive search for a repo and star interactively
-n SEARCH_COUNT, --search-count SEARCH_COUNT
number of search results to show when run
interactively
examples:
ghstar gokulsoumya/ghstar
ghstar jlevy/the-art-of-command-line
Contributing
If you have a feature request or if you've found a nasty lil bug, definitely open an issue. And PRs are, as always, welcome.
Metadata
Release files for ghstar 0.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| ghstar-0.2.0.tar.gz | 4.4 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| ghstar-0.2.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 9.3 kB
Release files / ghstar-0.2.0.tar.gz
| Download URL | ghstar-0.2.0.tar.gz |
|---|---|
| Size | 4.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
09c96a3b970c56292ce0e0648daf06579240ff607b96ecf97ac778c963ea5482
|
|
BLAKE2b-256 checksum How to use checksums |
7b3365c853a89ca3f89fd91f213faec803c81094380417c6783adc02ece81a4f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/0.12.17 CPython/3.7.5rc1 Linux/5.2.0-19.1-liquorix-amd64
|
Release files / ghstar-0.2.0-py3-none-any.whl
| Download URL | ghstar-0.2.0-py3-none-any.whl |
|---|---|
| Size | 4.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
157fa700a4eeac415fe613115f3534ca70b210f14004235183daee8c72464d98
|
|
BLAKE2b-256 checksum How to use checksums |
8747a9fe17f4fbc57a4de529e851590b10677445e4e74bff0d1d342177245982
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/0.12.17 CPython/3.7.5rc1 Linux/5.2.0-19.1-liquorix-amd64
|