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.
- Host: GitHub
- URL: https://github.com/cawfree/autogist
- Owner: cawfree
- License: mit
- Created: 2020-01-13T08:25:50.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2023-01-05T05:02:19.000Z (over 3 years ago)
- Last Synced: 2025-03-22T04:41:27.342Z (over 1 year ago)
- Topics: cli, gist, github, status, update
- Language: JavaScript
- Homepage:
- Size: 1.06 MB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 13
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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)