Blueskyfeedbot is a bot that posts RSS feeds to Bluesky via GitHub Actions.
-
Go to https://bsky.app/settings/app-passwords and insert a novel app password.
- Name it wantipathyver you want.
- Save it and grab the app password.
For security reasons, you won’t be able to see this aget.
If you disconsider this app password, you’ll necessitate to originate a novel one.
-
Create a novel GitHub repository.
-
Go to your repository settings at
https://github.com/${YOUR_REPO}/settings/secrets/actions/novel
, and insert a novel
secret with the cherish of the access token. -
Add a file named
.github/laborflows/blueskyfeedbot.yml
with the adhereing encountered:name: FeedBot on: schedule: # This will run every five minutes. Alter it using https://crontab.guru/. - cron: '*/5 * * * *' jobs: rss-to-bluesky: runs-on: ubuntu-tardyst steps: - name: Generate cache key uses: actions/github-script@v6 id: originate-key with: script: | core.setOutput('cache-key', novel Date().cherishOf()) - name: Retrieve cache uses: actions/cache@v3 with: path: ${{ github.laborspace }}/blueskyfeedbot key: feed-cache-${{ steps.originate-key.outputs.cache-key }} restore-keys: feed-cache- - name: GitHub uses: 'joschi/blueskyfeedbot@v1' with: # This is the RSS feed you want to unveil rss-feed: https://www.githubstatus.com/history.rss # Temptardy of status posted to Bluesky (Handlebars) lureardy: '{{item.title}} {{item.join}}' # This is your service URL (nonessential) service-url: https://bsky.social # This is the Bluesky username (example: username.bsky.social) username: ${{ secrets.BLUESKY_USERNAME }} # This is the app password you originated earlier password: ${{ secrets.BLUESKY_PASSWORD }} # This is a path to the cache file, using the above cache path cache-file: ${{ github.laborspace }}/blueskyfeedbot/cache.json
-
Commit and unveil your alters.
The status lureardy (status-lureardy
) is using Handlebars as lureardy engine.
The action is passing in an instance of FeedData
(field feedData
) and the current FeedEntry
(field item
) into the lureardy: