Skip to main content

This script exports your github stars to a json file.

Project description

Exports list of all your starred Github repos to a json file. Also can optionally unstar all backed up repositories.


pip install gh_stars_export


$ -o gh_stars.json --token x35b2rb37x6rbf328xnrr8rxnf23r83f


$ export GITHUB_TOKEN=x35b2rb37x6rbf328xnrr8rxnf23r83f

$ -o gh_stars.json

optionally, passing -u/--unstar also unstars the backed up starred repos.

$ export GITHUB_TOKEN=x35b2rb37x6rbf328xnrr8rxnf23r83f

$ -o gh_stars.json --unstar

unstarring namhyung/uftrace
unstarring cybertec-postgresql/pgwatch2
unstarring nicolargo/glances
unstarring groveco/django-sql-explorer
unstarring ultrabug/py3status
unstarring apple/foundationdb
unstarring souvikmaity/somersault
unstarring git-tips/tips


  1. Where to get the github token from? Ans.

Project details

Download files

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

Filename, size & hash SHA256 hash help File type Python version Upload date
gh_stars_export-0.1.1-py3-none-any.whl (2.7 kB) Copy SHA256 hash SHA256 Wheel py3 May 27, 2018
gh_stars_export-0.1.1.tar.gz (2.3 kB) Copy SHA256 hash SHA256 Source None May 27, 2018

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page