Skip to content

Ruby Gem

This section documents the html2rss Ruby gem.

The JSON Schema is the machine-readable contract for configs:

  • Repository file: html2rss-config.schema.json
  • CLI export: html2rss schema (also --write, --no-pretty)
  • Runtime validation: html2rss validate config.yml or Html2rss::Config.validate
  • Ruby discovery: Html2rss::Config.json_schema / Html2rss::Config.schema_path

The exported schema covers client-side validation. Runtime validation remains authoritative for dynamic cross-field checks such as selector-key references. Contributors regenerating the checked-in artifact should run bundle exec rake config:schema in the core repo.

New to html2rss? Start with the first tutorial.