Self-host RSSHub on a managed VPS: a feed for the sites you follow

To self-host RSSHub on a managed VPS is to turn the sites, channels and accounts you follow into RSS feeds from a server of your own, which our teams keep up to date and monitor day and night. RSSHub is a free, open source feed generator under the AGPL-3.0 license, maintained by a large community. This guide follows its official Docker Compose file, with Redis for the cache and Browserless for the pages that need a browser, and we ran every command on a Simafri VPS before writing it: installation, an access key, HTTPS, backups, restores and updates.

Simon Vasconcelos Lee By Published on 29 November 202611 minute read

All guides

In short

  1. The AGPL-3.0 license lets you run RSSHub for yourself, your team or your readers with no license to buy.
  2. Install it with the official Docker Compose file: RSSHub, Redis for the cache and Browserless, a headless Chromium, with port 8112 published on 127.0.0.1 behind an HTTPS reverse proxy.
  3. Set an ACCESS_KEY: without it, anyone who finds your address can use your server to fetch feeds. Keep it and the Browserless token in a .env file.
  4. RSSHub keeps no database: Redis only holds the cache. A backup is two small files, compose.yaml and .env.
  5. RSSHub publishes several releases a day, each with an image tagged by its commit. To update, change the tag, then pull and recreate the containers.

What RSSHub does

RSSHub reads sites that publish no feed, or only a partial one, and serves them as RSS. Each source is a route, an address on your server such as /github/repos/DIYgod for the repositories of a GitHub account or /hackernews/best for the best stories of Hacker News. Your feed reader subscribes to that address like any other feed.

A route that depends on an account, such as some social networks, needs a cookie or a token of yours, set as an environment variable; the configuration page lists them site by site. The routes of this guide need nothing.

What the AGPL-3.0 license allows

RSSHub is published under the GNU Affero General Public License, version 3 (AGPL-3.0). You can use it free of charge, for yourself, your team or your readers, copy it and modify it. If you modify it and let other people use your version over the network, you offer them its source code under the same license. The software is provided without warranty.

The license covers the software. What each route fetches belongs to the site it comes from, under that site’s own terms.

The resources to plan for

Here is what we measured on our test VPS, with 2 vCPU and 4 GB of memory, after a dozen feeds and one browser session:

Without Browserless, the official file runs in a few hundred megabytes, but the routes that need a browser stop working. On a managed VPS, tell us which feeds you plan to follow and we will recommend the right size.

Installing with Docker Compose

The project recommends Docker Compose, with its docker-compose.yml file: the image diygod/rsshub, Redis and Browserless. On a server with Docker Engine and its Compose plugin, installed from Docker’s repository for Ubuntu, create a folder for it:

Terminal
mkdir -p /opt/rsshub && cd /opt/rsshub

Then put this compose.yaml in it. It is the official file, with four changes that the list below explains:

compose.yaml
services:
  rsshub:
    image: diygod/rsshub:ae5c5dec96376ec6948bfae91db29ce030d03541
    restart: always
    ports:
      - "127.0.0.1:8112:1200"
    environment:
      NODE_ENV: production
      CACHE_TYPE: redis
      REDIS_URL: "redis://redis:6379/"
      PLAYWRIGHT_CDP_ENDPOINT: "ws://browserless:3000?token=${BROWSERLESS_TOKEN:?set BROWSERLESS_TOKEN in .env}"
      ACCESS_KEY: ${ACCESS_KEY:?set ACCESS_KEY in .env}
    healthcheck:
      test: ["CMD-SHELL", 'curl -f "http://localhost:1200/healthz?key=$$ACCESS_KEY"']
      interval: 30s
      timeout: 10s
      retries: 3
    depends_on:
      - redis
      - browserless

  browserless:
    image: ghcr.io/browserless/chromium:v2.64.0
    restart: always
    environment:
      TOKEN: ${BROWSERLESS_TOKEN:?set BROWSERLESS_TOKEN in .env}
    ulimits:
      core:
        hard: 0
        soft: 0
    healthcheck:
      test: ["CMD-SHELL", 'curl -f "http://localhost:3000/pressure?token=$$TOKEN"']
      interval: 30s
      timeout: 10s
      retries: 3

  redis:
    image: redis:8.10.3-alpine
    restart: always
    volumes:
      - redis-data:/data
    healthcheck:
      test: ["CMD", "redis-cli", "ping"]
      interval: 30s
      timeout: 10s
      retries: 5
      start_period: 5s

volumes:
  redis-data:

The two secrets go in a .env file next to it, which Docker Compose reads on its own. Create it readable by root only, then start the stack:

Terminal, in /opt/rsshub
umask 077
printf "ACCESS_KEY=%s\nBROWSERLESS_TOKEN=%s\n" "$(openssl rand -hex 24)" "$(openssl rand -hex 24)" > .env
umask 022
docker compose up -d
docker compose ps

The first start downloads about 2.3 GB of images. On our test VPS, the three services reported healthy within 40 seconds:

Terminal, in /opt/rsshub
docker compose ps --format "{{.Service}} {{.Status}}"
docker compose logs rsshub | tail -5

The log shows “Redis connected.” and the health check answered with 200. On our VPS, it also showed, once at start, an error about a missing quickjs.wasm file in the proxy module of the image; RSSHub kept running and served its routes.

The access key and a first feed

RSSHub has no accounts and no administration page: its home page is a welcome page, and the key of .env is what protects it. Read it into a variable, then ask for a route with and without it:

Terminal, in /opt/rsshub
KEY=$(grep ^ACCESS_KEY= .env | cut -d= -f2)
curl -s -o /dev/null -w "no key -> %{http_code}\n" http://127.0.0.1:8112/github/repos/DIYgod
curl -s "http://127.0.0.1:8112/github/repos/DIYgod?key=$KEY" | grep -o -E "<title>[^<]*</title>" | head -4

Without the key, RSSHub answered 403. With it, the feed came back with its title, “DIYgod’s GitHub repositories”, then one item per repository. In your feed reader, add the same address with ?key= and your key at the end.

HTTPS: the reverse proxy

The container serves RSSHub over HTTP, on port 8112 of the server. HTTPS is handled by a reverse proxy in front of it. We tested Caddy, installed from its official Debian and Ubuntu repository: it obtains the Let’s Encrypt certificate itself and renews it.

/etc/caddy/Caddyfile
rsshub.example.com {
	reverse_proxy 127.0.0.1:8112
}
Terminal
sudo systemctl reload caddy

Then check the address from the server, and a feed through it:

Terminal, in /opt/rsshub
KEY=$(grep ^ACCESS_KEY= .env | cut -d= -f2)
curl -sI https://rsshub.example.com/ | head -1
curl -s "https://rsshub.example.com/hackernews/best?key=$KEY" | grep -o -E "<title>[^<]*</title>" | head -4

Browserless, the browser of RSSHub

Browserless runs Chromium in its own container, and RSSHub connects to it over the Chrome DevTools Protocol, at the address of PLAYWRIGHT_CDP_ENDPOINT, with the token of .env. It is never published outside Docker’s network. To check that it is ready, and what it uses:

Terminal, in /opt/rsshub
docker compose exec browserless sh -c 'curl -s "http://localhost:3000/pressure?token=$TOKEN"'; echo
docker stats --no-stream --format "{{.Name}} {{.MemUsage}} {{.CPUPerc}}" $(docker compose ps -q)

The first command returns the load of Browserless, with "isAvailable": true and up to 10 sessions at a time. On our test VPS, a route that needs a browser opened a session in Browserless, which ran for less than a second and closed; that site answered with a verification page, which RSSHub reported as an error. This is the other side of these routes: they depend on what each site accepts from a server.

Backups

RSSHub keeps no data of its own. Redis holds the cache, which fills again by itself, and everything else lives in two files of /opt/rsshub: compose.yaml and .env, with the access key your readers use. Our archive weighed less than 1 KB. Create it readable by root only:

Terminal, in /root
umask 077
tar -czf rsshub-$(date +%F).tar.gz -C /opt rsshub/compose.yaml rsshub/.env
umask 022

Schedule this copy and send it off the server. Stored on the disk, the folder is also included in the server’s nightly backups.

Restoring

On the same server, or on a new one with Docker installed, check the archive, extract it into /opt and start the stack:

Terminal, in /root
tar -tzf rsshub-2026-11-20.tar.gz >/dev/null && echo "archive OK"
tar -xzf rsshub-2026-11-20.tar.gz -C /opt && cd /opt/rsshub && docker compose up -d

We tested it on our VPS: the stack stopped with its Redis volume removed, the folder deleted, then the archive extracted. The two files came back identical, .env still readable by root only, the three services were healthy within 40 seconds, and the same key opened the same feed over HTTPS, while a request without it got 403. With a damaged archive, tar stopped with an error and the chain ended before docker compose; it had extracted part of the folder, hence the check of the first line.

Updates

RSSHub publishes a release on GitHub every time its image is built, often several times a day, named after the date and the commit, such as v2026.11.20-8694.ae5c5de. Its notes give the image tags, the full SHA of the commit. To find the latest one:

Terminal, in /opt/rsshub
curl -s https://api.github.com/repos/DIYgod/RSSHub/releases/latest | grep -E '"(tag_name|target_commitish|published_at)"'

Change the tag in compose.yaml, pull the image and recreate the container, then remove the previous image. Here, the update we tested, from release v2026.11.19-8693.59472eb:

Terminal, in /opt/rsshub
sed -i "s|diygod/rsshub:59472eb86f604f601955b4826b604428de03423d|diygod/rsshub:ae5c5dec96376ec6948bfae91db29ce030d03541|" compose.yaml
docker compose pull
docker compose up -d
docker image rm diygod/rsshub:59472eb86f604f601955b4826b604428de03423d

To check the version that runs, read the commit in the labels of its image:

Terminal, in /opt/rsshub
docker inspect --format '{{index .Config.Labels "org.opencontainers.image.revision"}}' $(docker compose ps -q rsshub)

Who does what on a managed VPS

Self-hosting means running the server on top of the application. On a managed VPS, our teams take charge of the server and proactively monitor your instance; RSSHub remains your feed generator, with your routes and your settings.

TopicOur teamsYou
The serverSystem and security updates, server interventions includedThe timing that suits you
MonitoringServer monitored 24/7, with intervention without waiting for your callYour routes, your feeds and your reader
RSSHubProactive monitoring: errors, slowdowns, memory and disk space spotted, fix recommendedIts installation, updates and configuration, which you apply, yourself or through your AI assistant
AccessThe server and its HTTPS front, monitoredThe access key, the Browserless token and the cookies of your routes
BackupsEvery night, encrypted and kept off the machine; restores includedThe archive of your configuration, and the restore request, when you need one
MigrationYour current server migrated, free of chargeThe timing of the switch

If you would rather have our teams work inside the application itself, that service is billed by the hour or at a fixed rate, with an estimate shared before the work starts.

RSSHub, on a server run for you

With a Simafri Managed VPS, our teams keep your RSSHub instance’s server up to date, monitor it day and night and step in without waiting for your call; they also proactively monitor your instance and recommend useful fixes, which you apply, yourself or through your AI assistant. Backups are encrypted every night and kept off the machine, restores are included, and migrating your current server is free.

Explore Managed VPS

Frequently asked questions

Is RSSHub free?

Yes. RSSHub is under the AGPL-3.0 license: you can run it for yourself, your team or your readers with no license to buy. What remains is the cost of the server that runs it.

How do I install RSSHub with Docker Compose?

Use the official file of the project: the diygod/rsshub image, Redis for the cache and Browserless for the routes that need a browser. Pin the image tags, put ACCESS_KEY and BROWSERLESS_TOKEN in a .env file, publish its port 1200 on 127.0.0.1 only, run docker compose up -d, and put an HTTPS reverse proxy in front.

How do I protect a self-hosted RSSHub instance?

Set ACCESS_KEY. Every route then answers 403 unless the request carries ?key= with the key, or ?code= with the access code of that route. Add the key to the health check of the container as well.

Do I need Browserless for RSSHub?

Only for the routes that load their page in a browser. The others work without it. Browserless takes about 2.15 GB of disk and, on our test VPS, between 240 and 410 MB of memory.

How much memory does RSSHub need?

On our test VPS, RSSHub used about 250 MB, Browserless up to 410 MB and Redis less than 20 MB: the whole stack ran with more than 3.3 GB to spare on a server with 4 GB.

How do I back up RSSHub?

RSSHub keeps no database and Redis only holds the cache. Archive compose.yaml and .env, which holds the access key. To restore, check the archive with tar -tzf, extract it and run docker compose up -d.

How do I update RSSHub in Docker?

Find the latest release on GitHub, put the full commit SHA of its image in compose.yaml, then run docker compose pull and docker compose up -d. There is no data to migrate.

Does a managed VPS cover RSSHub?

A managed VPS covers the server: system, security, monitoring and backups. Our teams also proactively monitor your instance and recommend useful fixes, which you apply. Work inside the application is billed by the hour or at a fixed rate.

Contact us