{"id":50719298,"url":"https://github.com/shazeus/ghspy","last_synced_at":"2026-06-09T22:01:54.627Z","repository":{"id":357080823,"uuid":"1235286889","full_name":"shazeus/ghspy","owner":"shazeus","description":"GitHub OSINT tool — extract intelligence from any GitHub user profile","archived":false,"fork":false,"pushed_at":"2026-05-11T07:35:13.000Z","size":15,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-05-11T09:33:40.896Z","etag":null,"topics":["cli","developer-tools","email-discovery","github","github-api","intelligence","osint","python","reconnaissance","security","terminal","timezone"],"latest_commit_sha":null,"homepage":null,"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/shazeus.png","metadata":{"files":{"readme":"README.md","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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-05-11T07:20:10.000Z","updated_at":"2026-05-11T08:30:25.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/shazeus/ghspy","commit_stats":null,"previous_names":["shazeus/ghspy"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/shazeus/ghspy","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shazeus%2Fghspy","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shazeus%2Fghspy/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shazeus%2Fghspy/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shazeus%2Fghspy/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/shazeus","download_url":"https://codeload.github.com/shazeus/ghspy/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shazeus%2Fghspy/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34127345,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-09T02:00:06.510Z","response_time":63,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["cli","developer-tools","email-discovery","github","github-api","intelligence","osint","python","reconnaissance","security","terminal","timezone"],"created_at":"2026-06-09T22:01:54.539Z","updated_at":"2026-06-09T22:01:54.613Z","avatar_url":"https://github.com/shazeus.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n  \u003ch1 align=\"center\"\u003eGhSpy\u003c/h1\u003e\n  \u003cp align=\"center\"\u003eGitHub OSINT tool — extract intelligence from any GitHub user profile.\u003c/p\u003e\n  \u003cp align=\"center\"\u003e\n    \u003ca href=\"https://pypi.org/project/ghspy/\"\u003e\u003cimg src=\"https://img.shields.io/pypi/v/ghspy?color=blue\u0026label=PyPI\" alt=\"PyPI\"\u003e\u003c/a\u003e\n    \u003ca href=\"https://pypi.org/project/ghspy/\"\u003e\u003cimg src=\"https://img.shields.io/pypi/pyversions/ghspy\" alt=\"Python\"\u003e\u003c/a\u003e\n    \u003ca href=\"https://github.com/shazeus/ghspy/blob/main/LICENSE\"\u003e\u003cimg src=\"https://img.shields.io/github/license/shazeus/ghspy\" alt=\"License\"\u003e\u003c/a\u003e\n    \u003ca href=\"https://github.com/shazeus/ghspy/stargazers\"\u003e\u003cimg src=\"https://img.shields.io/github/stars/shazeus/ghspy?style=social\" alt=\"Stars\"\u003e\u003c/a\u003e\n  \u003c/p\u003e\n\u003c/p\u003e\n\n---\n\nDiscover emails, estimate timezones, map tech stacks, find collaborators, and analyze activity patterns — all from your terminal. GhSpy uses the public GitHub API to gather open-source intelligence on any GitHub user.\n\n- **Email Discovery** — extract real email addresses from commit history\n- **Timezone Estimation** — estimate location from commit hour patterns\n- **Activity Analysis** — peak hours, active days, contribution streaks\n- **Tech Stack Mapping** — languages, topics, original vs forked repos\n- **Collaborator Detection** — frequent interactions, orgs, following\n- **Identity Mapping** — cross-reference commit emails and author names\n\n## Installation\n\n```bash\npip install ghspy\n```\n\nRequires Python 3.8+. Works on Linux, macOS, and Windows.\n\n## Usage\n\n```bash\n# Full OSINT scan\nghspy scan torvalds\n\n# Extract emails from commit history\nghspy emails dhh\n\n# Estimate timezone\nghspy timezone antirez\n\n# Activity patterns\nghspy activity shazeus\n\n# Tech stack\nghspy techstack gvanrossum\n\n# Collaborators \u0026 organizations\nghspy collabs octocat\n\n# Export to JSON\nghspy export torvalds --format json -o report.json\n\n# Export to CSV\nghspy export torvalds --format csv -o report.csv\n```\n\n## Commands\n\n| Command | Description |\n|---------|-------------|\n| `ghspy scan \u003cuser\u003e` | Full OSINT scan with all modules |\n| `ghspy emails \u003cuser\u003e` | Extract emails from commit history |\n| `ghspy timezone \u003cuser\u003e` | Estimate timezone from commit patterns |\n| `ghspy activity \u003cuser\u003e` | Activity breakdown by hour, day, and event type |\n| `ghspy techstack \u003cuser\u003e` | Languages, topics, and repo statistics |\n| `ghspy collabs \u003cuser\u003e` | Collaborators, organizations, and following |\n| `ghspy export \u003cuser\u003e` | Export findings to JSON or CSV |\n| `ghspy rate-limit` | Check GitHub API rate limit |\n\n## Configuration\n\n### GitHub Token\n\nWithout a token you get **60 requests/hour**. With a token you get **5,000 requests/hour**. A full scan uses 20–50 requests depending on the user's repo count.\n\n```bash\n# Set as environment variable (recommended)\nexport GH_TOKEN=ghp_your_token_here\n\n# Backward-compatible alternative\nexport GITHUB_TOKEN=ghp_your_token_here\n\n# Or pass directly\nghspy --token ghp_xxxx scan torvalds\n```\n\nGenerate a token at [github.com/settings/tokens](https://github.com/settings/tokens) — no special scopes needed for public data.\n\n### JSON Output\n\nEvery command supports `--json-output` for piping to other tools:\n\n```bash\nghspy scan user --json-output | jq '.emails'\nghspy scan user --json-output | jq '.timezone.estimated_timezone'\n```\n\n## How It Works\n\nGhSpy queries the public GitHub REST API to collect:\n\n1. **User profile** — public info, bio, location, social links\n2. **Repositories** — languages, topics, fork status, activity dates\n3. **Commit history** — author emails, timestamps, committer info\n4. **Public events** — pushes, PRs, issues, comments\n5. **Social graph** — followers, following, organizations\n\nAll data is publicly available through GitHub's API. No authentication bypass or scraping is involved.\n\n## Disclaimer\n\nThis tool only accesses **publicly available data** through the official GitHub API. It does not bypass access controls, scrape private information, or violate GitHub's Terms of Service. Use responsibly.\n\n## License\n\n[MIT](LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshazeus%2Fghspy","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fshazeus%2Fghspy","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshazeus%2Fghspy/lists"}