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.
By Simon Vasconcelos Lee
Published on 29 November 202611 minute read
127.0.0.1 behind an HTTPS reverse proxy.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.compose.yaml and .env.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.
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.
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.
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:
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:
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:
127.0.0.1: the official file publishes port 1200 on every address of the server. Published locally, RSSHub is reachable only through the reverse proxy.ACCESS_KEY turns on the access control of RSSHub: every route then asks for ?key= followed by the key, and answers 403 without it. The health check needs the key too, as the configuration page explains, hence the CMD-SHELL form.rsshub when BROWSERLESS_TOKEN is not set. Here Compose refuses to start without one.latest for RSSHub and Browserless, and redis:alpine. RSSHub tags each release with the full SHA of its commit, here release v2026.11.20-8694.ae5c5de, the latest one when we tested; Browserless v2.64.0 is its latest release, and 8.10.3-alpine the image behind redis:alpine that day.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:
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:
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.
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:
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.
?code=, without giving away the key.ACCESS_KEY in .env, then run docker compose up -d; your readers then need the new address.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.
rsshub.example.com {
reverse_proxy 127.0.0.1:8112
}
sudo systemctl reload caddy
Then check the address from the server, and a feed through it:
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
http:// address redirected to https://, and the home page answered 200 with its title, “Welcome to RSSHub!”./hackernews/best returned “Top Links | Hacker News” and the stories of the day. Asked a second time, it came from the Redis cache, in about 40 milliseconds, with the header rsshub-cache-status: HIT.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:
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.
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:
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.
On the same server, or on a new one with Docker installed, check the archive, extract it into /opt and start the stack:
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.
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:
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:
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:
docker inspect --format '{{index .Config.Labels "org.opencontainers.image.revision"}}' $(docker compose ps -q rsshub)
ae5c5dec96376ec6948bfae91db29ce030d03541, and the same feed answered over HTTPS with the same key.2026-11-20, can be replaced by a later build of the same day, according to the documentation: the commit tag always points to the same image.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.
| Topic | Our teams | You |
|---|---|---|
| The server | System and security updates, server interventions included | The timing that suits you |
| Monitoring | Server monitored 24/7, with intervention without waiting for your call | Your routes, your feeds and your reader |
| RSSHub | Proactive monitoring: errors, slowdowns, memory and disk space spotted, fix recommended | Its installation, updates and configuration, which you apply, yourself or through your AI assistant |
| Access | The server and its HTTPS front, monitored | The access key, the Browserless token and the cookies of your routes |
| Backups | Every night, encrypted and kept off the machine; restores included | The archive of your configuration, and the restore request, when you need one |
| Migration | Your current server migrated, free of charge | The 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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
Simafri
Let's talk about your project
Tell us what you need in a few words: we will get back to you quickly.
Thank you! Your request has been sent. We'll get back to you shortly.
Prefer email? Write to us at support@simafri.com.