Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Latest commit

 

History

History
History
42 lines (29 loc) · 1.22 KB

File metadata and controls

42 lines (29 loc) · 1.22 KB
Copy raw file
Download raw file
Outline
Edit and raw actions

GitHub Repository Export List

A tiny script to get list of all repository of a GitHub user and generate HTML output with style.

Features of github-repos-exporter

  • Auto get name from username
  • Auto detect number of repositories
  • Auto pagination to get list of all repos
  • Groupination repos by its main language name
  • Groupination non-language repo to other
  • Generate HTML output page

Using GitHub export repositories

Set your username at export.py file. then:

$ git clone https://github.com/BaseMax/GitHub-Repository-Export-List/
$ cd GitHub-Repository-Export-List
$ python export.py > output.html

You can watch/see example HTML generated in output.html at here.

Rate Limit

Keep in mind that the GitHub server has limitations.

While I was writing and testing, I seemed to be blocked and GitHub servers no longer answered, so I had to use the torsocks to continue the project.

TODO

  • Get username from $argv
  • Move functions to a new class
  • Remove the example code from lib file (export.py)
  • Create examples and tests file
  • Publish the package to pip
  • Generate JSON output
  • Generate csv output

© Copyright Max Base

Morty Proxy This is a proxified and sanitized view of the page, visit original site.