---
title: "Deploy RSS"
description: "Create custom RSS feeds from any site or social media network."
category: "Bots"
url: https://railway.com/deploy/rss
---

# Deploy RSS

Create custom RSS feeds from any site or social media network.

**[Deploy RSS on Railway](https://railway.com/template/rss)**

- **Category:** Bots
- **Total deploys:** 1

## Template content

### RSSHub

- **Image:** ghcr.io/diygod/rsshub:latest
- **Health check:** healthz
- **Public domain:** Yes

### Browserless

- **Image:** browserless/chrome:latest
- **Public domain:** Yes

### Redis https://cdn.sanity.io/images/sy1jschh/production/0ce0bfdcfbdbf69662b1116671f97c2dd788b655-157x157.svg

- **Image:** redis:8.2.1
- **Start command:** `/bin/sh -c "rm -rf $RAILWAY_VOLUME_MOUNT_PATH/lost+found/ && exec docker-entrypoint.sh redis-server --requirepass $REDIS_PASSWORD --save 60 1 --dir $RAILWAY_VOLUME_MOUNT_PATH"`

## Documentation

# Deploy and Host RSS on Railway

RSSHub is an open-source RSS feed generator that converts thousands of websites, APIs, and online services into customizable RSS feeds. Whether you're following YouTube channels, Reddit communities, social media, blogs, or sites without native RSS support, RSSHub gives you complete control over how you collect and consume information.



## About Hosting RSS

Hosting RSSHub on Railway provides a managed environment for running your own RSS feed generation service without maintaining servers or container infrastructure. This template deploys RSSHub together with Redis for high-performance caching and Browserless for rendering JavaScript-heavy websites that require a headless browser. Railway automatically provisions networking, HTTPS, and service-to-service communication, allowing RSSHub to securely access its dependencies. Preconfigured environment variables help simplify setup while supporting browser rendering, CORS configuration, and bot protection. As feed requests grow, Railway allows you to scale your deployment while Redis reduces load by caching generated feeds.

## Common Use Cases

* Generate RSS feeds for websites and platforms that do not provide native RSS feeds.
* Build personal or team news aggregation systems from blogs, social media, forums, and APIs.
* Automate content monitoring for research, media tracking, analytics, or workflow automation.

## Dependencies for RSS Hosting

| Dependency  | Purpose                                                                     |
| ----------- | --------------------------------------------------------------------------- |
| Redis       | Caches generated feeds to improve performance and reduce repeated requests. |
| Browserless | Renders JavaScript-powered websites for feed generation.                    |

### Deployment Dependencies

| Resource               | Link                                                                             |
| ---------------------- | -------------------------------------------------------------------------------- |
| Official Documentation | [https://docs.rsshub.app](https://docs.rsshub.app)                               |
| GitHub Repository      | [https://github.com/DIYgod/RSSHub](https://github.com/DIYgod/RSSHub)             |
| RSSHub Radar           | [https://github.com/DIYgod/RSSHub-Radar](https://github.com/DIYgod/RSSHub-Radar) |
| Folo RSS Reader        | [https://folo.is](https://folo.is)                                               |

### Implementation Details

#### Docker

This template deploys the following services:

| Service     | Image                                                                            |
| ----------- | -------------------------------------------------------------------------------- |
| RSSHub      | `diygod/rsshub:latest` *(or Chromium bundled image if included by the template)* |
| Browserless | `browserless/chrome`                                                             |
| Redis       | `redis:8.2.1`                                                                    |

Railway automatically deploys each service using the provided container images.

#### Public Networking

| Setting     | Value      |
| ----------- | ---------- |
| Proxy Type  | HTTP Proxy |
| Target Port | 1200       |

Generate a Railway domain from **Settings → Networking → Generate Domain** to access your RSSHub instance.

#### Environment Variables

| Variable                      | Required | Description                                      |
| ----------------------------- | :------: | ------------------------------------------------ |
| `CACHE_TYPE`                  |    Yes   | Cache backend. Set to `redis`.                   |
| `REDIS_URL`                   |    Yes   | Railway Redis connection string.                 |
| `ALLOW_ORIGIN`                |    No    | Configures CORS origins.                         |
| `ALLOW_USER_HOTLINK_TEMPLATE` |    No    | Enables user hotlink templates.                  |
| `DISALLOW_ROBOT`              |    No    | Blocks automated crawlers when enabled.          |
| `PROXY_URI`                   |    No    | Optional outbound proxy for restricted websites. |
| `BROWSERLESS_ENDPOINT`        |    Yes   | Internal URL of the Browserless service.         |

Example:

```env
CACHE_TYPE=redis
REDIS_URL=${{Redis.REDIS_URL}}
ALLOW_ORIGIN=*
ALLOW_USER_HOTLINK_TEMPLATE=true
DISALLOW_ROBOT=true
BROWSERLESS_ENDPOINT=http://browserless:3000
```

Use the Railway Redis reference variable for `REDIS_URL`. The Browserless endpoint should reference the internal Railway service.

#### Persistent Storage

RSSHub itself does not require persistent storage for normal operation.

Redis caching is ephemeral by default and can be recreated if the service restarts. Browserless also does not require persistent storage for standard deployments.

#### Database

No relational database is required.

This template uses Redis solely for caching generated feeds and improving response performance.

#### Build & Start

The application runs directly from the official Docker image.

No custom build or start commands are required.

#### Accessing the Application

After deployment:

1. Generate a Railway public domain.
2. Open the generated URL.
3. Begin accessing RSSHub routes as documented in the official documentation (for example, `/youtube/channel/{channelId}` or other supported routes).
4. Subscribe to generated feed URLs using your preferred RSS reader such as Folo, FreshRSS, Tiny Tiny RSS, or Feedly.

## Why Deploy RSS on Railway?

Railway is a singular platform to deploy your infrastructure stack. Railway will host your infrastructure so you don't have to deal with configuration, while allowing you to vertically and horizontally scale it.

By deploying RSS on Railway, you are one step closer to supporting a complete full-stack application with minimal burden. Host your servers, databases, AI agents, and more on Railway.


## Similar templates

- [Telegram JavaScript Bot](https://railway.com/deploy/5lRkWa) — A template for Telegram bot in JavaScript using grammY
- [Cobalt Tools [Updated Aug ’26]](https://railway.com/deploy/cobalt) — Cobalt Tools [Aug ’26] (Media Downloader, Converter & Automation) Self Host
- [Telegram Gateway](https://railway.com/deploy/railway-telegram-gateway) — Multi-bot Telegram webhook gateway with real-time WebSocket event streaming

Open this page in a browser: https://railway.com/deploy/rss
