autogist
A mini Twitter for your pinned repositories.
🚀 Getting Started
If you haven't already, you need to create a new GitHub OAuth2 Token with the gist
permission. You can add a token to your profile here.
Finally, you need to add this token to your environment variables.
OSX
echo "AUTOGIST_TOKEN <your-token-here>" >> ~/.bash_profile
source ~/.bash_profile
Linux
echo "AUTOGIST_TOKEN <your-token-here>" >> ~/.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.
npx autogist -d "gist description" -c "gist content"
Update a Gist
To update a gist, just specify the id (-g
) of your gist.
npx autogist -d "gist description" -c "updated content" -g <my-gist-id>
✌️ License
MIT