{"id":27048608,"url":"https://github.com/leg3ndary/githubextract","last_synced_at":"2025-04-09T18:44:53.371Z","repository":{"id":286031697,"uuid":"960137159","full_name":"Leg3ndary/githubExtract","owner":"Leg3ndary","description":"Quick Script to extract your repositories","archived":false,"fork":false,"pushed_at":"2025-04-03T23:23:03.000Z","size":3,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-04T00:25:07.494Z","etag":null,"topics":["github","javascript"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/Leg3ndary.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":"2025-04-03T23:21:41.000Z","updated_at":"2025-04-03T23:23:06.000Z","dependencies_parsed_at":"2025-04-04T00:35:18.381Z","dependency_job_id":null,"html_url":"https://github.com/Leg3ndary/githubExtract","commit_stats":null,"previous_names":["leg3ndary/githubextract"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Leg3ndary%2FgithubExtract","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Leg3ndary%2FgithubExtract/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Leg3ndary%2FgithubExtract/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Leg3ndary%2FgithubExtract/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Leg3ndary","download_url":"https://codeload.github.com/Leg3ndary/githubExtract/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247299851,"owners_count":20916193,"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","javascript"],"created_at":"2025-04-05T07:15:21.521Z","updated_at":"2025-04-05T07:15:22.092Z","avatar_url":"https://github.com/Leg3ndary.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# GitHub Repository Extractor\n\nA simple script that extracts your GitHub profile and repository data for resume building.\n\n## Features\n\n- Fetches your GitHub user profile information\n- Retrieves all your public repositories (excluding forks)\n- Calculates repository statistics (languages, stars, forks, etc.)\n- Saves everything to a structured JSON file\n\n## Prerequisites\n\n- Node.js installed\n- GitHub Personal Access Token\n\n## Installation\n\n1. Clone or download this repository\n2. Install dependencies:\n   ```\n   npm install\n   ```\n3. Create a `.env` file in the project root with your GitHub token:\n   ```\n   GITHUB_TOKEN=your_github_token_here\n   ```\n\n## Usage\n\n1. Modify the config section in the script if you want to change:\n   - Your GitHub username\n   - The output file name\n\n2. Run the script:\n   ```\n   npm start\n   ```\n\n3. Find your data in the generated JSON file (default: `github_resume_data.json`)\n\n## Output Format\n\nThe script generates a JSON file with the following structure:\n\n```json\n{\n  \"user\": {\n    \"username\": \"YourUsername\",\n    \"name\": \"Your Name\",\n    \"bio\": \"Your bio\",\n    ...\n  },\n  \"repositories\": [\n    {\n      \"name\": \"repo-name\",\n      \"description\": \"Repository description\",\n      \"language\": \"JavaScript\",\n      \"stars\": 5,\n      ...\n    },\n    ...\n  ],\n  \"statistics\": {\n    \"totalRepos\": 10,\n    \"languageCounts\": {\n      \"JavaScript\": 5,\n      \"Python\": 3,\n      ...\n    },\n    ...\n  }\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fleg3ndary%2Fgithubextract","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fleg3ndary%2Fgithubextract","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fleg3ndary%2Fgithubextract/lists"}