{"id":18085058,"url":"https://github.com/jwodder/repolist","last_synced_at":"2025-04-06T00:14:10.625Z","repository":{"id":204933381,"uuid":"712975189","full_name":"jwodder/repolist","owner":"jwodder","description":"List \u0026 filter GitHub repositories","archived":false,"fork":false,"pushed_at":"2025-01-23T14:47:25.000Z","size":30,"stargazers_count":1,"open_issues_count":2,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-21T00:21:20.789Z","etag":null,"topics":["github","github-repositories","github-repository-management"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jwodder.png","metadata":{"files":{"readme":"README.rst","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-11-01T15:31:50.000Z","updated_at":"2025-01-23T14:47:28.000Z","dependencies_parsed_at":null,"dependency_job_id":"3e09f523-9731-4390-8df3-a0ff9b7dba20","html_url":"https://github.com/jwodder/repolist","commit_stats":null,"previous_names":["jwodder/repolist"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jwodder%2Frepolist","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jwodder%2Frepolist/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jwodder%2Frepolist/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jwodder%2Frepolist/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jwodder","download_url":"https://codeload.github.com/jwodder/repolist/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247415966,"owners_count":20935387,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["github","github-repositories","github-repository-management"],"created_at":"2024-10-31T15:09:15.262Z","updated_at":"2025-04-06T00:14:10.602Z","avatar_url":"https://github.com/jwodder.png","language":"Python","readme":"|repostatus| |ci-status| |license|\n\n.. |repostatus| image:: https://www.repostatus.org/badges/latest/concept.svg\n    :target: https://www.repostatus.org/#concept\n    :alt: Project Status: Concept – Minimal or no implementation has been done\n          yet, or the repository is only intended to be a limited example,\n          demo, or proof-of-concept.\n\n.. |ci-status| image:: https://github.com/jwodder/repolist/actions/workflows/test.yml/badge.svg\n    :target: https://github.com/jwodder/repolist/actions/workflows/test.yml\n    :alt: CI Status\n\n.. |license| image:: https://img.shields.io/github/license/jwodder/repolist.svg\n    :target: https://opensource.org/licenses/MIT\n    :alt: MIT License\n\n`GitHub \u003chttps://github.com/jwodder/repolist\u003e`_\n| `Issues \u003chttps://github.com/jwodder/repolist/issues\u003e`_\n\n``repolist`` is a command for listing \u0026 filtering GitHub repositories belonging\nto you or other users/organizations on GitHub.\n\nInstallation\n============\n``repolist`` requires Python 3.10 or higher.  Just use `pip\n\u003chttps://pip.pypa.io\u003e`_ for Python 3 (You have pip, right?) to install it::\n\n    python3 -m pip install git+https://github.com/jwodder/repolist.git\n\n\nUsage\n=====\n\n::\n\n    repolist [\u003coptions\u003e] [\u003cuser\u003e ...]\n\nWhen no arguments are given, ``repolist`` lists all repositories affiliated\nwith the authenticated user (i.e., you).  When one or more user and/or\norganization names are given, ``repolist`` lists all public repositories\nbelonging to them.  In both cases, archived repositories and forks are omitted\nfrom the output by default, but this can be changed via command-line options.\n\nBy default, only the fullname of each repository is shown, but the ``--array``\nand ``--json`` options can be used to instead output the complete repository\nobjects returned by the GitHub REST API.\n\n\nOptions\n-------\n\n--affiliation AFFILIATION       Only list repositories affiliated with the\n                                authenticated user in the given ways.  The\n                                value must be a comma-separated list of\n                                \"owner\", \"collaborator\", and/or\n                                \"organization_member\".\n\n                                This option can only be given when listing\n                                repositories for the authenticated user, i.e.,\n                                when no usernames are given on the command\n                                line.\n\n-A, --archived                  Include archived repositories\n\n--archived-only                 Only list archived repositories\n\n--array                         Output an array of JSON objects\n\n-F, --forks                     Include forks\n\n--forks-only                    Only list forks\n\n-J, --json                      Output a JSON object for each repository.  The\n                                JSON objects are separated by newlines but are\n                                otherwise not grouped.  The result is not valid\n                                JSON (unless there's only one repository), but\n                                it can be processed with a tool like jq_.\n\n-L, --language NAME             Only list repositories with the given\n                                programming language as their primary language.\n\n                                The language name must be spelled out\n                                completely (i.e., \"Python\", not \"Py\"), but case\n                                is not significant.\n\n--private-only                  Only list private repositories\n\n                                This option can only be given when listing\n                                repositories for the authenticated user, i.e.,\n                                when no usernames are given on the command\n                                line.\n\n--public-only                   Only list public repositories.\n\n                                This option can only be given when listing\n                                repositories for the authenticated user, i.e.,\n                                when no usernames are given on the command\n                                line.\n\n-R, --reverse                   Reverse the sort order\n\n-S, --sort-by \u003ccreated|updated|pushed|full_name\u003e\n                                Sort the repositories for each\n                                user/organization based on the given attribute.\n                                [default: ``full_name``]\n\n                                Note that sorting only applies on a\n                                per-user/organization basis.  If multiple users\n                                or organizations are specified on the command\n                                line, the repositories for each individual\n                                owner are sorted, but repositories from\n                                different owners are not merged together.\n\n-t, --topic TOPIC               Only list repositories with the given topic\n                                (case insensitive).  This option can be given\n                                multiple times to only list repositories with\n                                all of the specified topics.\n\n-T, --exclude-topic TOPIC       Only list repositories without the given topic\n                                (case insensitive).  This option can be given\n                                multiple times.\n\n--no-topics                     Only list repositories without any topics\n\n.. _jq: https://jqlang.github.io/jq/\n\n\nAuthentication\n--------------\n\n``repolist`` requires a GitHub access token with appropriate permissions in\norder to run.  Specify the token via the ``GH_TOKEN`` or ``GITHUB_TOKEN``\nenvironment variable (possibly in an ``.env`` file), by storing a token with\nthe ``gh`` or ``hub`` command, or by setting the ``hub.oauthtoken`` Git config\noption in your ``~/.gitconfig`` file.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjwodder%2Frepolist","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjwodder%2Frepolist","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjwodder%2Frepolist/lists"}