Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 11 additions & 19 deletions src/content/docs/about.mdx
Original file line number Diff line number Diff line change
@@ -1,31 +1,23 @@
---
title: About html2rss
description: Learn about html2rss, the open-source RSS feed generator that helps you follow any website. Discover our mission, principles, and the team behind this powerful tool.
description: html2rss is an open-source tool that turns web pages into RSS or JSON Feed. Read what it is for and who maintains it.
---

`html2rss` is an open-source project dedicated to empowering you to take control of your web content. In an age where many websites don't offer traditional RSS feeds, `html2rss` provides a robust and flexible solution to convert almost any HTML content into a structured RSS format.
`html2rss` is an open-source project that converts HTML pages into RSS or JSON Feed. Many sites publish no feed. html2rss builds one from the page itself.

Since its founding in 2018, the project has evolved into a comprehensive suite of tools designed to help you create and consume RSS feeds effortlessly.
The project started in 2018. It now includes the Ruby gem, the `html2rss-web` application, a catalog of curated feed configs and this documentation site.

---

## Our Vision and Principles
## Vision and Principles

Our mission is to provide a simple, powerful, and accessible tool that enables individuals and developers to create custom RSS feeds from any web page. We believe in the power of open standards and the freedom to access information on your own terms.
The goal is a simple tool that lets anyone create a feed from a web page and read it on their own terms. It builds on open standards.

Our project is guided by these core principles:
- **User control:** You choose what you follow and where you read it.
- **Simple by default:** Paste a URL to get a feed. Write a config when you need exact control.
- **Open source:** Anyone can read the code and contribute.
- **Reliable:** Releases are tested, and breaking changes are documented.

- **User Empowerment:** Giving you the tools to customize your web experience.
- **Simplicity & Power:** Offering an easy-to-use interface with powerful underlying capabilities.
- **Open Source:** Fostering a collaborative environment where the community can contribute and improve the project.
- **Reliability:** Striving for a stable and dependable tool that consistently delivers.
See [Get Involved](/get-involved/) for the roadmap and ways to help.

For insights into our ongoing development, project roadmap, and how you can get involved, please visit our [Get Involved](/get-involved/) page.

---

### The Team

`html2rss` is maintained by a dedicated group of volunteers and contributors from around the world. We are passionate about open source and committed to continuously improving the project.

Want to join us? Check out our [Contributing Guide](/get-involved/contributing/)!
Volunteers maintain `html2rss`. To join, read the [Contributing Guide](/get-involved/contributing/).
10 changes: 5 additions & 5 deletions src/content/docs/common-use-cases.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,13 @@ Many blogs and creator sites do not publish feeds.

### Job Hunting

Track job postings from multiple company websites in one place. Never miss an opportunity again.
Track job postings from several company sites in one reader.

**Example:** Track a company careers page or a narrower role-specific listing.

### Local News

Follow your local newspaper or community website to stay informed about your neighborhood.
Follow your local newspaper or community site.

**Example:** Subscribe to local news sites, community forums, and city government updates from one reader.

Expand All @@ -33,7 +33,7 @@ Follow new papers and research in your field from multiple sources.

### Product Updates

Get notified when software you use releases updates, new features, or security patches.
Get notified of releases, new features and security patches.

**Example:** Track release notes, changelog pages, and product blogs.

Expand All @@ -53,7 +53,7 @@ Track what your competitors are posting about - new products, features, or annou

### Industry News

Follow multiple industry publications in one feed to stay ahead of trends.
Follow several industry publications in one reader.

**Example:** Aggregate trade publications, company blogs, and research updates in one reader.

Expand All @@ -65,7 +65,7 @@ Monitor customer feedback and support requests across different platforms.

### Content Marketing

Follow industry influencers and competitors for content inspiration.
Follow industry sites and competitors.

**Example:** Track competitor blogs, industry newsletters, and thought leadership content in one place.

Expand Down
25 changes: 24 additions & 1 deletion src/content/docs/creating-custom-feeds.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,30 @@ Bind-mount a feeds file (see production Compose comments):
lang="yaml"
/>

Feeds are served as `.rss` / `.json` paths on your instance (for example `/example.com/blog.rss`).
The file lists each feed under `feeds:`, keyed by name:

<Code
code={`
feeds:
example:
channel:
url: https://example.com/blog
title: My Blog
selectors:
items:
selector: "article.post"
title:
selector: "h2 a"
url:
selector: "h2 a"
extractor: "href"
`}
lang="yaml"
/>

- The instance serves the feed `example` at `/example.rss`.
- Your file replaces the shipped `config/feeds.yml`, including its `auth.accounts` block. Start from the shipped file and keep what you need.
- The instance reads the file at startup. Restart the container after each edit: `docker compose restart`.

## Contribute to the Feed Directory

Expand Down
6 changes: 3 additions & 3 deletions src/content/docs/feed-directory/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -17,16 +17,16 @@ import FeedDirectory from "../../../components/feed-directory/FeedDirectory.astr

Browse pre-built feed configs by site name. The list loads from the active `html2rss-web` instance (`GET /api/v1/configs`). Search, filter by topic or language, and paginate results. Export OPML for the current filter set when subscribing to several feeds at once.

Need the main onboarding path first? Start with [Getting Started](/getting-started/) and create a feed from your own page URL. The directory below is the fallback path when a curated config already covers your site.
To create a feed from your own page URL, start with [Getting Started](/getting-started/). Use the directory when a curated config already covers your site.

Need a different instance? Use **Change instance** in the directory header, self-host your own, or find more options on the [community-run wiki](https://github.com/html2rss/html2rss-web/wiki/Instances).

[🚀 Host Your Own Instance (and share it!)](/web-application/deployment/)
[Host your own instance](/web-application/deployment/)

---

## Contribute to the Directory

The feed configurations in this directory are community-driven. If you've created a new feed configuration, we encourage you to share it with the community.
Contributors write the configs in this directory. To add yours, open a pull request.

[Contribute on GitHub](https://github.com/html2rss/html2rss-configs/tree/master/lib/html2rss/configs)
28 changes: 13 additions & 15 deletions src/content/docs/get-involved/contributing.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -5,53 +5,53 @@ description: Learn how to contribute to the html2rss project

import { Code } from "@astrojs/starlight/components";

We're thrilled that you're interested in contributing to `html2rss`! There are many ways to get involved, and we welcome contributions of all kinds.
Contributions are welcome in configs, code, docs and instances.

---

## Code of Conduct

Before you begin, please read our [Code of Conduct](https://github.com/html2rss/.github/blob/main/CODE_OF_CONDUCT.md). We expect all contributors to adhere to this code to ensure that our community is a welcoming and inclusive space for everyone.
Read the [Code of Conduct](https://github.com/html2rss/.github/blob/main/CODE_OF_CONDUCT.md) before you contribute. All contributors follow it.

---

## How to Contribute

Here are the main ways you can contribute to the `html2rss` project:
Ways to contribute:

### 1. Create a Feed Config (Most Popular!)
### 1. Create a Feed Config

Are you missing an RSS feed for a website? You can create your own feed config and share it with the community. It's a great way to get started with `html2rss` and help other users.
If a site has no feed, write a config and share it in the Feed Directory.

**The easiest way to contribute:**
Steps on GitHub:

1. Go to [html2rss-configs on GitHub](https://github.com/html2rss/html2rss-configs)
2. Click "Fork" → "Add file" → Create `domain.com/name.yml` under `lib/html2rss/configs/`
3. Include top-level `directory.topics` (non-empty) from the controlled vocabulary (`tech`, `news`, `security`, `research`, … — see [Creating Custom Feeds](/creating-custom-feeds/#sharing-your-config))
3. Include top-level `directory.topics` (non-empty) from the controlled vocabulary (`tech`, `news`, `security`, `research`, … — see [Creating Custom Feeds](/creating-custom-feeds/#contribute-to-the-feed-directory))
4. Prefer setting `channel.language` when the page language is clear
5. Paste your config → "Commit new file" → "Open pull request"

**Need help writing configs?** Start from [Capturing Feed Configs](/ruby-gem/guides/capturing-feed-configs/) or the [Creating Custom Feeds](/creating-custom-feeds/) guide.
**Need help writing a config?** Start from [Capturing Feed Configs](/ruby-gem/guides/capturing-feed-configs/) or the [Creating Custom Feeds](/creating-custom-feeds/) guide.

**Want to test your config first?** Use the [Ruby gem](/ruby-gem/installation/) to test it locally:
**Test the config first.** Install the [Ruby gem](/ruby-gem/installation/) and run:

<Code code={`html2rss apply your-config.yml`} lang="bash" />

### 2. Host a Public Instance

The [`html2rss-web`](https://github.com/html2rss/html2rss-web) project is a web application that provides RSS feeds with stable HTTPS URLs. You can host your own public instance to help other users access feeds.
[`html2rss-web`](https://github.com/html2rss/html2rss-web) serves feeds at stable URLs. You can run a public instance for other people.

[**Learn how to host a public instance**](/web-application/deployment/)

### 3. Improve the Website

This website is built with Astro and Starlight and is hosted on GitHub Pages. If you have any ideas for improving the documentation or the design, we'd love to hear from you.
This site uses Astro and Starlight and is hosted on GitHub Pages. Send documentation and design fixes as pull requests.

[**Find the source code on GitHub**](https://github.com/html2rss/html2rss.github.io)

### 4. Improve the `html2rss` Engine

Are you a Ruby developer? You can help us improve the core `html2rss` gem. Whether you're fixing a bug, adding a new feature, or improving the documentation, your contributions are welcome.
Fix bugs and add features in the core `html2rss` gem.

[**Check out the documentation for the `html2rss` Gem**](/ruby-gem/)

Expand All @@ -63,7 +63,7 @@ Native speaker? `html2rss` reads page words like "read more" and "sponsored" in

### 6. Report Bugs & Discuss Features

If you've found a bug, please open an issue on the appropriate GitHub repository. For new feature ideas, we encourage you to start a discussion first.
Open an issue in the matching repository. For feature ideas, start a discussion first.

**Report Bugs:**

Expand All @@ -76,5 +76,3 @@ If you've found a bug, please open an issue on the appropriate GitHub repository
- [**Start a New Discussion on GitHub**](https://github.com/orgs/html2rss/discussions)

---

We appreciate your interest in contributing to `html2rss`!
16 changes: 8 additions & 8 deletions src/content/docs/get-involved/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ sidebar:
order: 1
---

`html2rss` is a community-driven project. Whether you are a user, a developer, or a self-hoster, there are many ways to get involved and help improve the project.
`html2rss` is a community project. You can help with configs, docs, code, instances and support.

## Quick Links

Expand All @@ -19,19 +19,19 @@ sidebar:

### 1. Create and Share Feed Configs

The most popular way to help! If a site you love doesn't have an RSS feed, create a config for it and share it in the [Feed Directory](/feed-directory/).
If a site has no feed, create a config for it and share it in the [Feed Directory](/feed-directory/).

[**Learn how to contribute configs**](/get-involved/contributing/)

### 2. Improve the Documentation or Website

Found a typo? Want to improve a guide? This website is open source and we welcome your pull requests.
This website is open source. Send pull requests for typos and guide changes.

[**Documentation Source Code**](https://github.com/html2rss/html2rss.github.io)

### 3. Improve the Ruby Engine or Web App

If you are a Ruby developer, you can help improve the core logic or the web interface.
Improve the extraction engine or the web interface.

- [**html2rss (Ruby Gem)**](https://github.com/html2rss/html2rss)
- [**html2rss-web (Web App)**](https://github.com/html2rss/html2rss-web)
Expand All @@ -40,14 +40,14 @@ If you are a Ruby developer, you can help improve the core logic or the web inte

### Host a Public Instance

Running a reliable deployment benefits everyone. If you have a stable instance, consider adding it to the [community instance list](https://github.com/html2rss/html2rss-web/wiki/Instances).
If you run a stable instance, add it to the [community instance list](https://github.com/html2rss/html2rss-web/wiki/Instances).

### Help Others

Join the [Discussions](https://github.com/orgs/html2rss/discussions) and help new users get their first feeds running. Your experience is valuable to others!
Answer questions in the [Discussions](https://github.com/orgs/html2rss/discussions).

## Support the Project

`html2rss` is made possible by the support of our community. If you find the project useful, please consider sponsoring development.
Sponsors fund development.

[**💖 Sponsor on GitHub**](https://github.com/sponsors/gildesmarais)
[**Sponsor on GitHub**](https://github.com/sponsors/gildesmarais)
2 changes: 2 additions & 0 deletions src/content/docs/getting-started.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,8 @@ That stack runs:
- `AUTO_SOURCE_ENABLED=true` so URL-to-RSS works without YAML
- demo access token `CHANGE_ME_ADMIN_TOKEN`

The quickstart runs in development mode with a placeholder access token. For production, use the [production compose file](/web-application/deployment/) and set `HTML2RSS_ACCESS_TOKEN`.

## Step 2: Start

<Code code={`docker compose up -d`} lang="bash" />
Expand Down
4 changes: 2 additions & 2 deletions src/content/docs/index.mdx
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
---
title: "Turn any website into an RSS feed"
description: "Paste a page URL into html2rss-web, get RSS or JSON Feed. Auto-source, Feed Directory, and MCP for agents."
description: "Paste a page URL into html2rss-web and get an RSS or JSON Feed. Auto-source, Feed Directory and MCP for agents."
---

`html2rss` turns websites into stable RSS and JSON feeds. The recommended path is **html2rss-web**: paste a page URL, enter an access token, and subscribe to the generated feed. Auto-source (with the Botasaurus companion for JavaScript-heavy sites) handles extraction without hand-written selectors.
`html2rss` turns web pages into RSS or JSON Feed. The recommended path is `html2rss-web`: paste a page URL, enter an access token and subscribe to the feed. Auto-source extracts the items without hand-written selectors. The Botasaurus companion renders JavaScript-heavy pages.

## Start here

Expand Down
8 changes: 4 additions & 4 deletions src/content/docs/ruby-gem/guides/capturing-feed-configs.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ Print YAML to stdout:
code={`
html2rss capture https://example.com/articles
# Hint the item card when auto detection is weak
html2rss capture https://example.com/articles --items_selector ".post-card"
html2rss capture https://example.com/articles --items-selector ".post-card"
# Analyze a local HTML fixture
html2rss capture https://example.com/articles --input ./page.html
# Quality JSON on stderr; YAML stays on stdout
Expand All @@ -44,7 +44,7 @@ Print YAML to stdout:
Common options:

- `--strategy` — request strategy override; defaults to `auto` (see [Strategy](/ruby-gem/reference/strategy/))
- `--items_selector` — CSS selector hint for item cards
- `--items-selector` — CSS selector hint for item cards
- `--limit` — maximum articles kept while deriving selectors (default `25`)
- `--max-redirects` / `--max-requests` — request budget overrides
- `--input` — local HTML file (sets `local_file` strategy)
Expand Down Expand Up @@ -80,7 +80,7 @@ All options and result types: [Ruby API Reference](/ruby-gem/reference/ruby-api/
4. **Gate** — emit an items selector only when enough articles match
5. **Assemble** — `{ items: { selector:, enhance: true } }` plus channel. Capture records the concrete strategy that produced the draft so `html2rss apply` / `Html2rss.feed` can reproduce that fetch path.

When the quality gate fails, selectors are omitted (`has_selectors: false`) rather than inventing attribute selectors. Hint with `--items_selector` or refine by hand.
When the quality gate fails, selectors are omitted (`has_selectors: false`) rather than inventing attribute selectors. Hint with `--items-selector` or refine by hand.

## What Capture Derives

Expand All @@ -98,7 +98,7 @@ MCP `capture` returns that YAML in `payload.yaml`. `validate` / `apply` accept t
1. Validate: `html2rss validate my-feed.yml`
2. Render: `html2rss apply my-feed.yml`
3. Tighten the items selector if needed; keep `auto` unless diagnosis proves a fixed fetch mode is required
4. For Feed Directory contributions, add `directory.topics` and keep `enhance: true` unless chrome leaks (see [Creating Custom Feeds](/creating-custom-feeds/#sharing-your-config))
4. For Feed Directory contributions, add `directory.topics` and keep `enhance: true` unless chrome leaks (see [Creating Custom Feeds](/creating-custom-feeds/#contribute-to-the-feed-directory))

## Related

Expand Down
8 changes: 4 additions & 4 deletions src/content/docs/ruby-gem/index.mdx
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
---
title: "Ruby Gem"
description: "Complete documentation for the html2rss Ruby gem. Create custom RSS feeds programmatically with full control over scraping and feed generation."
description: "Documentation for the html2rss Ruby gem: CLI, Ruby API, config reference and MCP server."
sidebar:
label: "Overview"
---

This section provides comprehensive documentation for the `html2rss` Ruby gem.
This section documents the `html2rss` Ruby gem.

If you are looking for the stable machine-readable contract for config authoring, use the JSON Schema exported by the core repo:
The JSON Schema is the machine-readable contract for configs:

- Repository file: [**`html2rss-config.schema.json`**](https://github.com/html2rss/html2rss/blob/master/schema/html2rss-config.schema.json)
- CLI export: `html2rss schema` (also `--write`, `--no-pretty`)
Expand All @@ -18,7 +18,7 @@ The exported schema covers client-side validation. Runtime validation remains au

## Getting Started

If you are getting started with `html2rss`, we recommend starting with the [**first tutorial**](/ruby-gem/tutorials/your-first-feed/).
New to `html2rss`? Start with the [**first tutorial**](/ruby-gem/tutorials/your-first-feed/).

## Documentation Sections

Expand Down
Loading
Loading