mirror of
https://github.com/jlengrand/kotlin-samples.git
synced 2026-03-10 08:31:22 +00:00
GitHub Hacktoberfest tags
This module is a small utility used to add the Hacktoberfest topic to all of your GitHub repositories.
It works with organizations as well as personal repos
Setup
- Create a personal access token and save it on your system as environment variable
GITHUB_HACKTOBERFEST_TOKEN. - Set the
userandrepoTypeto the desired values - Have a quick look at the
getReposfunction, and possibly change the filters. Default is the last 10 updated repos you're owner of (type=owner&sort=updated&per_page=10); - Run the script, et voila
The script shouldn't be able to screw up anything, since it only alters topics, but I am not liable for any weird (side) effects.
Notable stuff
This utility is written in Kotlin, and pretty much only uses a Ktor Client and kotlinx serialization to do the bare minimum. Was fun to create. Be aware that for large amounts of repos you might run into API limits issues.
Have fun!