Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/zoo-js/zoo-data
π© The data for zoo-js.
https://github.com/zoo-js/zoo-data
actions data js json nodejs workflow
Last synced: 6 days ago
JSON representation
π© The data for zoo-js.
- Host: GitHub
- URL: https://github.com/zoo-js/zoo-data
- Owner: zoo-js
- License: mit
- Created: 2020-10-23T03:09:39.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2024-11-07T15:40:34.000Z (9 days ago)
- Last Synced: 2024-11-07T16:37:29.958Z (9 days ago)
- Topics: actions, data, js, json, nodejs, workflow
- Language: JavaScript
- Homepage:
- Size: 580 KB
- Stars: 2
- Watchers: 2
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# zoo-data
π© The data for zoo-js.## π How to use ?
Request the raw address of the json file via http.
## π JSON
### π organizations
#### `name`
The name of pet organization.
#### `code`
The logo code of pet organization.
Use like: `https://avatars0.githubusercontent.com/u/${code}?s=100&v=4`
#### `fullName`
The organization full name.
#### `cnName`
The organization Chinese name.
#### `type`
| type | name | tip |
| -- | -- | -- |
| animal | ε¨η© | εζ―ζεΊ |
| food | ι£η© | εζ―ζεΊ |
| natural | θͺηΆ | εζ―ζεΊ |
| life | ηζ΄» | δΈιζ°ζεΊ |
| technology | ζζ― | δΈιζ°ζεΊ |### π members
#### `name`
The name of pet organization.
#### `number`
The number of people in the pet organization.
#### `total`
The number of people in all the pet organization. Since when `2020-12-1`.
## π script
### π₯ update-members
Update the number of members according to `organizations.json`.
### π₯ update-fork
Use env token to update fork for all orgs.
## π¬ How it work?
1. Copy `test.env` to `.env`
2. Create a token with the `org` scope and copy it (https://github.com/settings/tokens/new)
3. `yarn`
4. `node ./script/xxx.js`- In here, it will auto play with GitHub Actions.