This bot automatically creates posts on Galaxy Social by adding pull requests to the Galaxy Social repository.
- RSS and Atom feeds
- JSON feeds from Galaxy Project
- YouTube
- Citations from Zotero
The bot is being extended to support input from:
- GitHub issues and PRs
- Galaxy User Statistics
- Galaxy citations
- Galaxy tools
News and events on the Galaxy Community Hub can carry tags (e.g. esg4stars). For whitelisted tags (see TAG_FEED_WHITELIST in the Hub's astro/src/content.config.ts), the Hub publishes a combined Atom feed at /tags/<tag>/feed.atom.
Tag feeds define complete, standalone processing rules. A tag feed only takes effect for items that are also present in the json_feeds sections — entries are matched by URL, and items found only in a tag feed are skipped.
For a matching item, a tag feed's rules fully replace the rules of the JSON feeds, but they follow all the regular mechanics:
- the item's
subsitesandmain_subsiteare evaluated against the tag feed's ownmediaconfig, somedia,media_conflictsandmain_media_conflictswork exactly as injson_feedsentries; hashtagsandmentionssupport theallkey and subsite keys matching the item'ssubsites;
Tag feeds can, optionally, define their own format, which then replaces the JSON feed's format.
If several tag feeds match the same item, the first one (in the order they are defined in the config file) wins and the others are skipped.
This bot will work automatically and you just need to change the config.yml file to config what to be posted and what to include when the PR has been created.
Also the Galaxy Social bot app should be installed on the Galaxy Social repository and the app id and the private key should be given to this repo as variable (vars.APP_ID) and secret (secrets.APP_PRIVATE_KEY).
To try out config changes without posting, run the bot with DRY_RUN=true: it will print the files and content it would create instead of creating pull requests (no GitHub token needed).