https://github.com/integrations/jsonwebtokenydoo
Command line utility that assists with GitHub App Authentication
https://github.com/integrations/jsonwebtokenydoo
Last synced: 7 months ago
JSON representation
Command line utility that assists with GitHub App Authentication
- Host: GitHub
- URL: https://github.com/integrations/jsonwebtokenydoo
- Owner: integrations
- Created: 2018-05-10T17:38:53.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2025-03-08T19:00:12.000Z (about 1 year ago)
- Last Synced: 2025-04-15T12:13:44.872Z (12 months ago)
- Language: JavaScript
- Size: 21.5 KB
- Stars: 17
- Watchers: 6
- Forks: 8
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# jsonwebtokenydoo
Command line utility that assists with GitHub App Authentication

## Installation
* Install as dev dependency: `npm install --save-dev jsonwebtokenydoo`
* Run using `ghtoken`
This installation assumes that the current `/node_modules/.bin` is in your `PATH`. If you don't have this set up already you can add the following to your `~/.bashrc` or `~/.zshrc`:
```
export PATH=${PATH}:node_modules/.bin/
```
`jsonwebtokenydoo` assumes that you have a private key (.pem file) in your current directory or that you have a `PRIVATE_KEY` or `PRIVATE_KEY_PATH` environment variable set via your `.env` file. This is the default pattern for [Probot apps](https://github.com/probot/probot).
`jsonwebtokenydoo` will automatically detect your app id if it's set as an `APP_ID` environment variable via your `.env` file. If it can't detect your app id, it will ask you for it.
## Run directly
Don't want to install `jsonwebtokenydoo` as a dev dependency?
You can run it directly with `npx jsonwebtokenydoo`
Note that `jsonwebtokenydoo` still expects a private key (.pem file) in your current directory or a `PRIVATE_KEY` or `PRIVATE_KEY_PATH` environment variable set via your `.env` file.