{"id":30261654,"url":"https://github.com/peerigon/github-ssh-keys","last_synced_at":"2025-08-15T20:55:23.072Z","repository":{"id":33930572,"uuid":"37652992","full_name":"peerigon/github-ssh-keys","owner":"peerigon","description":"Fetch SSH keys from GitHub for given usernames. Optionally save them to `authorized_keys`.","archived":false,"fork":false,"pushed_at":"2020-08-27T13:02:31.000Z","size":12,"stargazers_count":6,"open_issues_count":0,"forks_count":2,"subscribers_count":16,"default_branch":"master","last_synced_at":"2025-08-09T07:11:04.681Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/peerigon.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}},"created_at":"2015-06-18T10:26:50.000Z","updated_at":"2021-07-27T16:47:35.000Z","dependencies_parsed_at":"2022-08-03T08:15:42.585Z","dependency_job_id":null,"html_url":"https://github.com/peerigon/github-ssh-keys","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/peerigon/github-ssh-keys","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/peerigon%2Fgithub-ssh-keys","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/peerigon%2Fgithub-ssh-keys/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/peerigon%2Fgithub-ssh-keys/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/peerigon%2Fgithub-ssh-keys/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/peerigon","download_url":"https://codeload.github.com/peerigon/github-ssh-keys/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/peerigon%2Fgithub-ssh-keys/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":269713883,"owners_count":24463244,"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","status":"online","status_checked_at":"2025-08-10T02:00:08.965Z","response_time":71,"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":[],"created_at":"2025-08-15T20:55:20.887Z","updated_at":"2025-08-15T20:55:23.068Z","avatar_url":"https://github.com/peerigon.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# github-ssh-keys\n\nfetch ssh keys from github for a given username\n\n[![Build Status](https://travis-ci.org/peerigon/github-ssh-keys.svg)](https://travis-ci.org/peerigon/github-ssh-keys) [![Dependency Status](https://david-dm.org/peerigon/github-ssh-keys.svg)](https://david-dm.org/peerigon/github-ssh-keys)\n\n## Usage (cli)\n\nUse `github-ssh-keys` to fetch users ssh public keys from github.\n\n```bash\n$ github-ssh-keys flootr meaku\n```\n\n### --format\n\nIf you use the `--format` flag you are able to auto format keys to fit in a `authorized-keys` file.\n\n```bash\n$ github-ssh-keys --format flootr meaku jhnns \u003e\u003e authorized_keys\n```\n\n## Library (API)\n\n```javascript\nvar fetchKeys = require(\"github-ssh-keys\");\nvar username = \"flootr\";\n\nfetchKeys(username).then(console.log).catch(console.error);\n```\n\nOr, if you want to fetch the keys for more than one user.\n\n```javascript\nvar users = [\"jhnns\", \"meaku\", \"topa\", \"matthaias\", \"sbat\", \"flootr\"];\n\nPromise.all(users.map(fetchKeys)).then(console.log).catch(console.error);\n```\n\n---\n\n## License\n\nMIT\n\n## Sponsors\n\n[\u003cimg src=\"https://assets.peerigon.com/peerigon/logo/peerigon-logo-flat-spinat.png\" width=\"150\" /\u003e](https://peerigon.com)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpeerigon%2Fgithub-ssh-keys","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpeerigon%2Fgithub-ssh-keys","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpeerigon%2Fgithub-ssh-keys/lists"}