Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/billiegoose/ghkeys
Obtain the PGP keys of your fellow Githubbers using the Github API
https://github.com/billiegoose/ghkeys
Last synced: about 1 month ago
JSON representation
Obtain the PGP keys of your fellow Githubbers using the Github API
- Host: GitHub
- URL: https://github.com/billiegoose/ghkeys
- Owner: billiegoose
- License: mit
- Created: 2018-11-27T19:36:28.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2018-11-27T20:02:56.000Z (about 6 years ago)
- Last Synced: 2024-10-06T03:23:46.230Z (4 months ago)
- Language: JavaScript
- Homepage:
- Size: 3.91 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# ghkeys
Obtain the PGP keys of your fellow Githubbers using the Github API
## CLI usage
`ghkeys` takes a single argument, the github username, and outputs all the PGP keys (newline separated) on stdout.
```sh
npx ghkeys [github username] | gpg --import
```## JS API
```js
const ghkeys = require('ghkeys')ghkeys(username).then(keys => {
for (let key of keys) {
// do something with the key
console.log(key)
}
})
```