Exporting starred Github repos
SoftwareI’m getting closer to exporting all my data from Github to a self-hosted system. My gists are now all in my lunchbox which will be easy to move in one swoop. Then I remembered all the repos I’d starred over the years.
Jeff Carpenter’s export-stars Python script does a great job of exporting your stars to CSV, which is easily parsed by everything. It’s now also my last starred repository which I kinda like.
Install the PyGithub dependency, then all you need to do is supply your username:
$ pip3 install PyGithub $ GH_USER=$YourUsername python3 export_stars.py > stars.csv
I’m not sure what’s the best way to present this list, but for now it’s gone into the lunchbox too.