Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

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.

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.