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

https://github.com/cawfree/autogist

⚡📄 đŸ„ŻA mini Twitter for your pinned repositories.
https://github.com/cawfree/autogist

cli gist github status update

Last synced: about 1 year ago
JSON representation

⚡📄 đŸ„ŻA mini Twitter for your pinned repositories.

Awesome Lists containing this project

README

          

# autogist
A mini [Twitter](https://twitter.com/home) for your pinned repositories.

## 🚀 Getting Started

If you haven't already, you need to [create a new GitHub OAuth2 Token](https://developer.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/) with the `gist` permission. You can add a token to your profile [here](https://github.com/settings/tokens/new).

Finally, you need to add this token to your environment variables.

#### OSX

```bash
echo "AUTOGIST_TOKEN " >> ~/.bash_profile
source ~/.bash_profile
```

#### Linux
```bash
echo "AUTOGIST_TOKEN " >> ~/.bashrc
source ~/.bashrc
```

## đŸ—žïž Publishing via the Command Line

### Create a Gist

To create a new gist, call `autogist` with the description (`-d`) and content (`-c`) of your gist.

```bash
npx autogist -d "gist description" -c "gist content"
```

### Update a Gist

To update a gist, just specify the id (`-g`) of your gist.

```bash
npx autogist -d "gist description" -c "updated content" -g
```

## ✌ License
[MIT](https://opensource.org/licenses/MIT)