I'm wondering how to make a repository that gets all my current repositories and puts links to them in the repo

I’m wondering how to make a repository that gets all my current repositories and puts links to them in the repo. For example, I have my API, https://api.github.com/users/DaCuteRaccoon/repos, but I don’t know how to put that into an HTML, markdown, or any markup file. Anyone know how to do this? Is it even possible?
Thanks :slight_smile:

Do I understand correctly that you want to have a file in a repository that contains a list of links to all your repositories? You can do that with Actions by having a workflow that does the following:

  • Check out the repository.
  • Make the API call(s) to get the list of repositories.
  • Use a template engine (e.g. Jinja2 if you use Python) to (re-)generate the file.
  • If there are any changes relative to the version already in the repository, commit and push.

Run that on a schedule and you’re done. :slightly_smiling_face:

Yes, you understand correctly. But how would I use Python and Jinja2 to do that? Would I use a webhook or something?
Thanks

I was thinking of using Actions. You can have the workflow run regularly or manually. And then just have the workflow run (for example) a Python script that makes the API calls that gathers the information and generates the document you want.