{"id":23975890,"url":"https://github.com/d-oit/github-repo-summary","last_synced_at":"2026-05-21T05:02:07.316Z","repository":{"id":270519595,"uuid":"910629335","full_name":"d-oit/github-repo-summary","owner":"d-oit","description":"Output all created public GitHub repo filter by year","archived":false,"fork":false,"pushed_at":"2025-01-05T23:00:24.000Z","size":19,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-24T17:16:05.126Z","etag":null,"topics":["github","summary"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/d-oit.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2024-12-31T21:38:29.000Z","updated_at":"2025-01-05T22:59:32.000Z","dependencies_parsed_at":"2024-12-31T22:24:45.454Z","dependency_job_id":"57a92ff7-ac6b-4689-8324-8ff74d3552ad","html_url":"https://github.com/d-oit/github-repo-summary","commit_stats":null,"previous_names":["d-oit/github_repo_summary"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/d-oit/github-repo-summary","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/d-oit%2Fgithub-repo-summary","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/d-oit%2Fgithub-repo-summary/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/d-oit%2Fgithub-repo-summary/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/d-oit%2Fgithub-repo-summary/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/d-oit","download_url":"https://codeload.github.com/d-oit/github-repo-summary/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/d-oit%2Fgithub-repo-summary/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266253614,"owners_count":23900053,"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","summary"],"created_at":"2025-01-07T06:52:16.186Z","updated_at":"2026-05-21T05:02:02.293Z","avatar_url":"https://github.com/d-oit.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# GitHub Repository and Gist Filter Script\n\nThis Python script filters and lists public GitHub repositories that:\n- Were **created** in a specified year.\n- Have been updated only once (i.e., the `created_at` and `updated_at` timestamps are the same).\n\nThe script uses the GitHub API to fetch and display repository details, such as:\n- Repository name\n- Description\n- URL\n- Creation date\n\n## Features\n- Filters repositories by:\n  - Creation year.\n  - Update count (only shows repos with no updates after creation).\n  - Visibility (only public repositories).\n- Displays repository details in a user-friendly format.\n- Utilizes environment variables for secure configuration.\n\n## Prerequisites\n\n### 1. Python Installation\nMake sure you have Python 3.7+ installed. You can download it from the [official Python website](https://www.python.org/downloads/).\n\n### 2. Required Python Packages\nInstall the required Python modules using the `requirements.txt` file:\n```bash\npip install -r requirements.txt\n```\n\n### 3. GitHub Personal Access Token\nGenerate a personal access token from your GitHub account with the following scopes:\n- `public_repo` (to access public repositories).\n\n## Setup\n\n### 1. Clone the Repository\nClone this repository to your local machine.\n\n### 2. Create a `.env` File\nCreate a `.env` file in the root directory and add the following:\n```\nGITHUB_USERNAME=your_github_username\nGITHUB_TOKEN=your_github_personal_access_token\nFILTER_YEAR=2024\n```\nReplace `your_github_username` and `your_github_personal_access_token` with your actual GitHub username and token.\n\n### 3. Exclude Sensitive Files\nEnsure your `.env` file is excluded from version control by adding it to `.gitignore`:\n```\n.env\n```\n\n## Usage\nRun the script using Python:\n```bash\npython github_summary.py\n```\n\n## Running Tests\nRun the tests using `pytest`:\n```bash\npytest\n```\nThe script will output a list of repositories matching the criteria, including their name, description, URL, and creation date.\n\n## Example Output\n```\nRepositories created in 2024 with no updates:\n- Name: example-repo\n  Description: An example repository\n  URL: https://github.com/your_username/example-repo\n  Created At: 2024-01-15 10:23:45\n```\n\n## Notes\n- The script supports pagination for users with many repositories.\n- If no repositories match the criteria, it will display a relevant message.\n\n## License\nThis project is licensed under the MIT License.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fd-oit%2Fgithub-repo-summary","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fd-oit%2Fgithub-repo-summary","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fd-oit%2Fgithub-repo-summary/lists"}