A simple command you can use to update your GitHub profile status.
Use the package manager npm to install gh-status-updater.
npm install -g gh-status-updater
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=๐ก
import updateGhStatus from "gh-status-updater";
await updateGhStatus("Working from home", "๐ก", "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX")
CleanShot.2021-05-24.at.21.48.38.mp4
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.