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

https://github.com/albingroen/gh-status-updater

A simple command you can use to update your GitHub profile status.
https://github.com/albingroen/gh-status-updater

github javascript node status

Last synced: 3 months ago
JSON representation

A simple command you can use to update your GitHub profile status.

Awesome Lists containing this project

README

          

# gh-status-updater

A simple command you can use to update your GitHub profile status.

![Minzipped size](https://img.shields.io/bundlephobia/minzip/gh-status-updater?style=plastic)

## Installation

Use the package manager [npm](https://www.npmjs.com) to install gh-status-updater.

```bash
npm install -g gh-status-updater
```

## Usage

### CLI

```bash
update-gh-status
# GitHub user-level access token (Only necessary on first run)
--token=XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

# The message of the status
--message="Working from home"

# The emoji of the status
--emoji=🏡
```

### JavaScript module

```javascript
import updateGhStatus from "gh-status-updater";

await updateGhStatus("Working from home", "🏡", "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX")
```

## Demo
https://user-images.githubusercontent.com/19674362/119400065-f0def200-bcd9-11eb-8486-d41c008a9165.mp4

## Contributing
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

## License
[MIT](https://choosealicense.com/licenses/mit/)