Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ganeshkumartk/gist-bird
🐦💬 Update a gist to contain your latest tweets
https://github.com/ganeshkumartk/gist-bird
gist github-action twitter twitter-api
Last synced: about 6 hours ago
JSON representation
🐦💬 Update a gist to contain your latest tweets
- Host: GitHub
- URL: https://github.com/ganeshkumartk/gist-bird
- Owner: ganeshkumartk
- License: apache-2.0
- Created: 2020-03-12T16:32:41.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2022-12-10T21:24:04.000Z (almost 2 years ago)
- Last Synced: 2024-10-15T16:01:41.741Z (about 1 month ago)
- Topics: gist, github-action, twitter, twitter-api
- Language: JavaScript
- Homepage:
- Size: 148 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
gist-bird
Update a pinned gist to contain the latest tweets of a user
---
## Setup
### Prep work
1. Create a new public GitHub Gist (https://gist.github.com/)
1. Create an access token with the `gist` scope and copy it. (https://github.com/settings/tokens/new)
1. Create a new Twitter app (https://developer.twitter.com/en/apps/create)
1. On the App page for your newly created app, generate an "Access token & access token secret" and copy all keys and tokens.### Project setup
1. Fork this repo
1. Edit the [environment variables](hhttps://github.com/CoDeRgAnEsh/gist-bird/blob/master/.github/workflow/schedule.yml#L13-L19) in `.github/workflows/schedule.yml`:- **TWITTER_USER:** The user handle of the twitter account.
- **GIST_ID:** The ID portion from your gist url: `https://gist.github.com/coderganesh/`**`6d5fho419863089a167387da62dd7081`**.1. Go to the repo **Settings > Secrets**
1. Add the following environment variables:
- **GH_TOKEN:** The GitHub access token generated above.
- **TWITTER_CONSUMER_KEY:** Your Twitter consumer API key.
- **TWITTER_CONSUMER_SECRET:** Your Twitter consumer secret.
- **TWITTER_ACCESS_TOKEN_KEY:** Your Twitter access token key.
- **TWITTER_ACCESS_TOKEN_SECRET:** Your Twitter access token secret.