https://github.com/aoki/freshness
List all pull requests from organizations and user
https://github.com/aoki/freshness
javascript next nodejs react redux
Last synced: about 1 year ago
JSON representation
List all pull requests from organizations and user
- Host: GitHub
- URL: https://github.com/aoki/freshness
- Owner: aoki
- Created: 2016-12-03T07:08:54.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2018-01-30T17:36:07.000Z (over 8 years ago)
- Last Synced: 2025-05-07T11:56:58.619Z (about 1 year ago)
- Topics: javascript, next, nodejs, react, redux
- Language: JavaScript
- Homepage:
- Size: 191 KB
- Stars: 5
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# freshness
List pull requests crossing to multiple organizations.
## Setup
```
git clone https://github.com/ringohub/freshness.git
npm i # or yarn install
```
Write configuration file (`config/default.js`).
Change api end-point, organization and github token.
**!! This application perform local only now !!**
If run at a server, then can't stop to expose AccessToken in HTTP requests.
Now, I implementing Auth feature. :bow: :pray:
## Run
```
npm run dev
```
### docker
```
docker run --rm -p 3000:3000 \
-e FRESHNESS_GITHUB_API_TOKEN=${FRESHNESS_GITHUB_API_TOKEN} \
-e FRESHNESS_GITHUB_API_URL=${FRESHNESS_GITHUB_API_URL} \
-e FRESHNESS_TARGET_ORGS=${FRESHNESS_TARGET_ORGS} \
-d freshness:0.3.4
```
### Environment Variables
| Key | Description | Default |
|:---------------------------|:------------------------------------------------------------------------------------------------------------------------------------------------------------|:-------------------------|
| FRESHNESS_GITHUB_API_URL | Specify GitHub or GitHub:Enterprise API URL | `https://api.github.com` |
| FRESHNESS_GITHUB_API_TOKEN | Specify GitHub personal access token (**Require**: [Generate here](https://github.com/settings/tokens)). Need `repo:status` and ` public_repo` permissions. | |
| FRESHNESS_TARGET_ORGS | Specify GitHub organizations for listing pull requests | `github,nodejs` |
## Test
```
npm test
```