Export Github starred repos list to file
Project description
githubstar
Export Github starred repos list to html, bookmark, json or markdown format, grouped by language or topics, order by time, stargazers count etc..
Installation
- Using pip
$ pip install githubstar
-
Using Binaries (x64 architecture only) from Release page
-
You can also clone the repo and build from source
Quick Start
Run with username
$ githubstar --username <username>
Run with username, Github access token and default options
$ export GITHUB_TOKEN=<Access-Token>
$ githubstar --username <username>
or
$ githubstar --username <username> --token <Access-Token>
Run with language grouped and bookmark format
$ githubstar --username <username> --token <Access-Token> --format bookmark --groupby language
Usage
$ githubstar -h
usage: githubstar [-h] [--version] --username USERNAME [--token TOKEN] [--format {html,bookmark,md,json}]
[--groupby {none,language,topic}]
[--orderby {timestarred,timeupdated,alphabet,starscount,forkscount,language}]
[--orderdirection {desc,asc}] [--ordernum {true,false}] [--excludeprivate {true,false}]
[--destpath DESTPATH] [--destname DESTNAME]
Export a GitHub user's starred list to local file.
options:
-h, --help show this help message and exit
--version show program's version number and exit
--username USERNAME [required]username to export from
--token TOKEN token from https://github.com/settings/tokens, to avoid rate-limiting, can also store in
environment as 'GITHUB_TOKEN'.
--format {html,bookmark,md,json}
output format, default: html
--groupby {none,language,topic}
default: none
--orderby {timestarred,timeupdated,alphabet,starscount,forkscount,language}
default: timestarred
--orderdirection {desc,asc}
default: desc
--ordernum {true,false}
show order number before repository name or not, default: true
--excludeprivate {true,false}
exclude private repositories, default: false
--destpath DESTPATH path to store the exported file
--destname DESTNAME filename of the exported file
FAQ
-
A 'RateLimitExceededException' error is met?
The Github API rate limiting is reached. An access token is needed in this case. Check out this https://docs.github.com/rest/overview/resources-in-the-rest-api#rate-limiting for more details.
-
Where to get the access token?
Login with your Github account and go to this page: https://github.com/settings/tokens
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file githubstar-1.0.0.tar.gz
.
File metadata
- Download URL: githubstar-1.0.0.tar.gz
- Upload date:
- Size: 15.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | abb251eed99e86a9335b0ef20e276f2d30a98382588bf207b92805c4fc60a536 |
|
MD5 | 8dcb903003ae148cf56079edc2a5f7a2 |
|
BLAKE2b-256 | 561b811b4cd8242bb3b373307bff003f871c1a7e89813072c844304c5909c23f |
File details
Details for the file githubstar-1.0.0-py3-none-any.whl
.
File metadata
- Download URL: githubstar-1.0.0-py3-none-any.whl
- Upload date:
- Size: 14.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8712063b2c73bb36d63db23d332016797e9a9d7ea00fe5214a97d1267a484757 |
|
MD5 | 135da4dc3ea17f8373094ef143228d7c |
|
BLAKE2b-256 | bc17164cb98127ceb2bbb9793ecae6f5d8407988fc43a5c1b701cc6afffe8d1b |