Skip to main content

Export Github starred repos list to file

Project description

githubstar

Export GitHub starred repositories, lists and topics to HTML, JSON, Markdown, or bookmark, grouped by language or topic, ordered by time, stargazer count etc.

Installation

$ 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 a 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>

Export to json format

$ githubstar --username <username> --token <Access-Token> --format json

Run with language grouping 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,json,md,bookmark}]
                [--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 the program's version number and exit
  --username USERNAME   [required]username to export for
  --token TOKEN         the token from https://github.com/settings/tokens, to avoid rate limiting, can also store in
                        environment as 'GITHUB_TOKEN'.
  --format {html,json,md,bookmark}
                        output format, default: html
  --groupby {none,language,topic}
                        default: none
  --orderby {timestarred,timeupdated,reponame,starscount,forkscount,language}
                        default: timestarred
  --orderdirection {desc,asc}
                        default: desc
  --ordernum {true,false}
                        choose whether to display the order number before the repository name, 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

License

This project is licensed under the GNU Affero General Public License v3.0 (AGPL-3.0-only).

Copyright (C) 2026 kevinapps@github

You can find the full license text in the LICENSE file.

Important: Any modified version of this software, especially if provided as a network service (SaaS), must also be released under AGPL-3.0 and provide the source code to users.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

githubstar-1.1.1.tar.gz (55.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

githubstar-1.1.1-py3-none-any.whl (46.1 kB view details)

Uploaded Python 3

File details

Details for the file githubstar-1.1.1.tar.gz.

File metadata

  • Download URL: githubstar-1.1.1.tar.gz
  • Upload date:
  • Size: 55.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for githubstar-1.1.1.tar.gz
Algorithm Hash digest
SHA256 62f0ef3131ac3c30fbd339719a2df899d5ccbe1297501acf57dcaad33aaa3ebe
MD5 cad961353862717aff851a0c25cd6e47
BLAKE2b-256 a4dc6f80e46a836fc750f84188a91e0cfcefd3a1f1abd370bb3830eb64b24ba7

See more details on using hashes here.

File details

Details for the file githubstar-1.1.1-py3-none-any.whl.

File metadata

  • Download URL: githubstar-1.1.1-py3-none-any.whl
  • Upload date:
  • Size: 46.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for githubstar-1.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 d75f57698a0740dafe3ca50a852ef8a4d5d8d043209af052562101515156ff22
MD5 b4da05b8054a95b23f71f65f2864ffcf
BLAKE2b-256 9197df2375f1d4b39ba13cf0a37ee72dc7c3b7b68ee66adc608b389bfab6d6c4

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page