Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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)
}
})
```