{"id":29490787,"url":"https://github.com/joschi/mastofeedbot","last_synced_at":"2026-04-04T07:19:55.520Z","repository":{"id":65160356,"uuid":"581305019","full_name":"joschi/mastofeedbot","owner":"joschi","description":"A bot that posts RSS feeds to Mastodon via GitHub Actions","archived":false,"fork":false,"pushed_at":"2026-03-22T22:40:43.000Z","size":6288,"stargazers_count":8,"open_issues_count":3,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-03-23T14:43:15.572Z","etag":null,"topics":["fediverse","fediverse-bot","github-actions","mastodon","mastodon-bot","rss","rss-feed"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"selfagency/mastofeedbot","license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/joschi.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2022-12-22T20:22:42.000Z","updated_at":"2026-03-22T22:40:10.000Z","dependencies_parsed_at":"2023-01-13T15:43:52.693Z","dependency_job_id":"9816f401-5a1d-4dc0-9ba7-b479865c5a42","html_url":"https://github.com/joschi/mastofeedbot","commit_stats":{"total_commits":71,"total_committers":3,"mean_commits":"23.666666666666668","dds":0.5774647887323944,"last_synced_commit":"cb26ecf06b447cc712c495211c714abc009b7794"},"previous_names":[],"tags_count":10,"template":false,"template_full_name":null,"purl":"pkg:github/joschi/mastofeedbot","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joschi%2Fmastofeedbot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joschi%2Fmastofeedbot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joschi%2Fmastofeedbot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joschi%2Fmastofeedbot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/joschi","download_url":"https://codeload.github.com/joschi/mastofeedbot/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joschi%2Fmastofeedbot/sbom","scorecard":{"id":533124,"data":{"date":"2025-08-11","repo":{"name":"github.com/joschi/mastofeedbot","commit":"41c5131ceaa8ff19e646811bbc6c7b59aeeb874e"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":5.7,"checks":[{"name":"Maintained","score":10,"reason":"21 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 10","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: jobLevel 'contents' permission set to 'write': .github/workflows/release.yml:10","Info: jobLevel 'pull-requests' permission set to 'read': .github/workflows/release.yml:11","Warn: no topLevel permission defined: .github/workflows/check-dist.yml:1","Warn: no topLevel permission defined: .github/workflows/integration-tests.yml:1","Warn: no topLevel permission defined: .github/workflows/release.yml:1"],"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Code-Review","score":-1,"reason":"Found no human activity in the last 30 changesets","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Pinned-Dependencies","score":10,"reason":"all dependencies are pinned","details":["Info:  12 out of  12 GitHub-owned GitHubAction dependencies pinned","Info:   2 out of   2 third-party GitHubAction dependencies pinned","Info:   1 out of   1 npmCommand dependencies pinned"],"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"License","score":0,"reason":"license file not detected","details":["Warn: project does not have a license file"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":-1,"reason":"internal error: error during branchesHandler.setup: internal error: githubv4.Query: Resource not accessible by integration","details":null,"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 30 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"Vulnerabilities","score":9,"reason":"1 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GHSA-v6h2-p8h4-qcjw"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}}]},"last_synced_at":"2025-08-20T06:13:43.468Z","repository_id":65160356,"created_at":"2025-08-20T06:13:43.468Z","updated_at":"2025-08-20T06:13:43.468Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31236915,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-31T09:14:28.471Z","status":"ssl_error","status_checked_at":"2026-03-31T09:14:19.506Z","response_time":111,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["fediverse","fediverse-bot","github-actions","mastodon","mastodon-bot","rss","rss-feed"],"created_at":"2025-07-15T13:00:56.607Z","updated_at":"2026-04-04T07:19:55.509Z","avatar_url":"https://github.com/joschi.png","language":"TypeScript","funding_links":[],"categories":["mastodon"],"sub_categories":[],"readme":"# Masto Feed Bot\n\nMasto Feed Bot is a GitHub Action that posts RSS feeds to Mastodon via GitHub Actions workflows.\n\n## Usage\n\n1. Go to `https://${YOUR_INSTANCE}/settings/applications/new` and add a new application.\n   - Name it whatever you want.\n   - The redirect URI is not important, so you can use `urn:ietf:wg:oauth:2.0:oob`.\n   - The only permission required is `write:statuses`.\n   - Save it, click on the application link, and grab the access token. \n\n2. Create a new GitHub repository.\n3. Go to your repository settings at `https://github.com/${YOUR_REPO}/settings/secrets/actions/new`, and add a new\n   secret with the value of the access token.\n4. Add a file named `.github/workflows/mastofeedbot.yml` with the following content:\n\n    ```yaml\n    name: FeedBot\n    on:\n      schedule:\n        # This will run every five minutes. Alter it using https://crontab.guru/.\n        - cron: '*/5 * * * *'  \n    jobs:\n      rss-to-mastodon:\n        runs-on: ubuntu-latest\n        steps:\n          - name: Generate cache key\n            uses: actions/github-script@v6\n            id: generate-key\n            with:\n              script: |\n                core.setOutput('cache-key', new Date().valueOf())\n          - name: Retrieve cache\n            uses: actions/cache@v3\n            with:\n              path: ${{ github.workspace }}/mastofeedbot\n              key: feed-cache-${{ steps.generate-key.outputs.cache-key }}\n              restore-keys: feed-cache-\n          - name: GitHub\n            uses: 'joschi/mastofeedbot@v1'\n            with:\n              # This is the RSS feed you want to publish\n              rss-feed: https://www.githubstatus.com/history.rss\n              # Template of status posted to Mastodon (Handlebars)\n              template: |\n                {{item.title}}\n                \n                {{item.link}}\n              # Visibility of the posted status (public | unlisted | private | direct)\n              status-visibility: public\n              # Mark Mastodon status as sensitive content\n              sensitive: false\n              # This is your instance address\n              api-endpoint: https://mastodon.social\n              # This is the secret you created earlier\n              api-token: ${{ secrets.MASTODON_ACCESS_TOKEN }}\n              # This is a path to the cache file, using the above cache path\n              cache-file: ${{ github.workspace }}/mastofeedbot/cache.json\n              # The maximum number of posts created on the first run\n              initial-post-limit: 10\n    ```\n\n5. Commit and publish your changes.\n\n## Status template\n\nThe status template (`status-template`) is using [Handlebars](https://handlebarsjs.com/) as template engine.\n\nThe action is passing in an instance of `FeedData` (field `feedData`) and the current `FeedEntry` (field `item`) into the template:\n\n```typescript\nexport interface FeedEntry {\n  link?: string;\n  title?: string;\n  description?: string;\n  published?: Date;\n}\n\nexport interface FeedData {\n  link?: string;\n  title?: string;\n  description?: string;\n  generator?: string;\n  language?: string;\n  published?: Date;\n  entries?: Array\u003cFeedEntry\u003e;\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjoschi%2Fmastofeedbot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjoschi%2Fmastofeedbot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjoschi%2Fmastofeedbot/lists"}