list-github-stars

command module
v1.1.5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 10, 2023 License: CC0-1.0 Imports: 10 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

README

Tests GitHub tag

list-github-stars

Tiny CLI program capable of retrieving a GitHub user's starred repositories and formatting the data into a nice markdown document. You can see an example of the program's output here.

Usage

Authentication is made via personal access tokens. Create a token, export to the environment variable GITHUB_TOKEN and run. The output is sent to STDOUT, so to create a file, just do:

./list-github-stars >> my-stars.md

You can use external programs such as pandoc to convert the output to other formats. E.g.:

# MS Word document
./list-github-stars | pandoc -o stars.docx

# HTML page
./list-github-stars | pandoc -o stars.html

# HTML page with custom stylesheet
./list-github-stars | pandoc -o stars.html --self-contained --css=style.css
Run with Docker
docker run --rm -e GITHUB_TOKEN="your-github-auth-token" caian/list-github-stars >> stars.md

License

To the extent possible under law, Caian Ertl has waived all copyright and related or neighboring rights to this work. In the spirit of freedom of information, I encourage you to fork, modify, change, share, or do whatever you like with this project! ^C ^V

License

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL