Self-hosted app·Private front ends and search
Privacy frontends hosting on a Swiss VPS.
Privacy frontends hosting on a Swiss VPS in ALP1: Redlib and SearXNG on Starter at $6.99/mo, what Invidious needs, and the platform-terms risk you carry.
- SearXNG
- Caddy
- Docker
ALP1·Swiss Alps
In stockRecommended for this use case
- 1 Gbps port10 TB of transfer a monthIncluded
- Debian 13preinstalled with the orderIncluded
- DDoS protection, 1 IPv4VNC console and full rootIncluded
Optional: daily backups +20% · extra IPv4 $2 · priority support $10
Pay yearly: $62.99 a year, about 25% less
- No KYC
- Crypto only
- Swiss jurisdiction
ALP1 · Swiss Alps · Our own hardware, under Swiss law, paid in crypto
- 2 vCPU, 2 GB RAM
- 80 GB NVMe local storage
- 10 TB transfer on a 1 Gbps port
- DDoS protection included
- Swiss jurisdiction, outside the EU
01/07
Short answer.
Yes. A collective that wants its own Redlib and SearXNG for its members can run both on one Cloud VPS Starter in ALP1, Swiss Alps: 2 vCPU, 2 GB RAM, 80 GB NVMe, 10 TB of monthly transfer on a 1 Gbps port, for $6.99 a month. Invidious is the exception. Its own documentation asks for 2 GB of free RAM for a private instance and 4 GB, 2 vCPU and 20 TB of traffic for a public one, which puts it on our Pro plan rather than Starter.
The thing that matters most has little to do with the server. Every frontend depends on a platform that would prefer it did not exist, and that platform decides, week by week, whether your instance works. YouTube blocks datacenter address ranges, Reddit rate-limits, and X Corp sent cease-and-desist letters to Nitter and its instance operators in August 2026. Running a frontend may breach the platform's terms of service. That risk sits with you as the operator, and moving the server to Switzerland does not remove it.
02/07
What these frontends are, and who maintains them.
A privacy frontend is a small web application that fetches pages from a large platform on the server side and re-renders them without the platform's scripts, trackers or advertising. The platform sees your server's address and the requests it makes; your members' browsers talk only to you. How far that protects them depends on whether media also passes through your server, which is also where nearly all of the bandwidth goes.
Redlib is the Reddit frontend, maintained by the redlib-org group and descended from Libreddit. It is a Rust binary under AGPL-3.0, needs no database, proxies every request including media, and according to its README logs nothing in a release build. To stay under Reddit's rate limits it presents itself as the official Android app, spoofing that client's OAuth token and refreshing it every 24 hours. That is precisely the kind of behaviour platform terms prohibit, and it breaks whenever Reddit changes something on its side.
SearXNG is a metasearch engine maintained by the SearXNG team: it queries engines such as Google, Bing and DuckDuckGo on the user's behalf and merges the results. Because it forwards whatever it receives, a public instance relays bot traffic as well, and the upstream engines then classify the instance itself as a bot and answer with CAPTCHAs. The limiter, which needs a Valkey database, exists to stop that. On a public instance we would not run without it.
Invidious, maintained by the iv-org project, does the same job for YouTube. It is written in Crystal, keeps subscriptions in PostgreSQL, and now requires a second service, Invidious companion, which replaced the earlier signature helper and session generator. The documentation states without ambiguity that Invidious must be restarted at least once a day, ideally every hour.
Two names from older guides need correcting. Nitter, the X frontend, authenticates with session tokens from real X accounts. X Corp's lawyers wrote to the project on 24 August 2026; the repository was archived, revived in early September, then archived again on 11 September. We would advise against running a public Nitter instance, on our servers or anyone else's, because the legal pressure is aimed squarely at public instance operators. Farside, the redirector that spread users across public instances, has been archived by its author, Ben Busby, who explains that checking instance health stopped being reliable once bot-detection systems became widespread. To bring members or the public to your instance, use the lists the projects keep themselves: the redlib-instances repository, instances.invidious.io and searx.space.
Our servers are in Switzerland and answer to Swiss law. We act only on orders from competent Swiss authorities, and a request from abroad has to pass through one of them first.
03/07
Requirements and sizing.
| Frontend | What it needs | Our plan |
|---|---|---|
| Redlib | One container, no database, port 8080 internally | Starter |
| SearXNG + Valkey | Two containers; the limiter needs Valkey | Starter, same VPS as Redlib |
| Invidious + companion + PostgreSQL | Private: ≥ 20 GB disk, ≥ 2 GB free RAM with regular restarts. Public: 60 GB disk, 4 GB RAM, 2 vCPU, 200 Mbps, 20 TB traffic | Pro: 6 vCPU, 8 GB, 320 GB NVMe, 20 TB, $22.99/mo |
| Nitter | Real X account sessions; project under legal pressure | Not recommended |
Redlib and SearXNG with Caddy in front should sit well inside Starter's 2 GB. Disk is not a constraint, since neither application stores anything beyond its configuration and Valkey's in-memory counters. Only ports 80 and 443 need to be reachable from outside; everything else stays on Docker's internal network.
Transfer is where people get caught. VPS traffic is not unmetered: Starter includes 10 TB a month. Spread evenly, that is a theoretical 31 Mbit/s around the clock (10 TB × 8 bits ÷ 30 days). Text pages and search results barely register against it. Proxied video does: at a theoretical 2.5 Mbit/s per 720p stream, the allowance covers about twelve streams playing continuously for a month, and roughly half that if the bytes arriving from the platform are counted as well as those leaving for the viewer. For a members-only Redlib that plays the occasional Reddit clip, Starter is ample. For an Invidious that proxies video to the public, plan on Pro's 20 TB, which happens to be the figure the Invidious project gives.
04/07
How to deploy it with us.
Order a Starter with Debian 13 from the deploy link, add your SSH key, and point two DNS A records, for example reddit.example.org and search.example.org, at the IPv4 address shown in the panel. Install Docker Engine and the Compose plugin from Docker's own Debian repository. If you use ufw, allow 22, 80 and 443, and remember that ports published by Docker bypass ufw entirely; the layout below publishes Caddy's ports and nothing else.
/opt/frontends/compose.yaml:
services:
caddy:
image: docker.io/library/caddy:2
restart: unless-stopped
ports:
- "80:80"
- "443:443"
volumes:
- ./Caddyfile:/etc/caddy/Caddyfile:ro
- caddy_data:/data
redlib:
image: quay.io/redlib/redlib:latest
restart: unless-stopped
read_only: true
cap_drop: [ALL]
environment:
- REDLIB_ROBOTS_DISABLE_INDEXING=on
searxng:
image: docker.io/searxng/searxng:latest
restart: unless-stopped
volumes:
- ./searxng:/etc/searxng
depends_on:
- valkey
valkey:
image: docker.io/valkey/valkey:8
restart: unless-stopped
volumes:
caddy_data:/opt/frontends/Caddyfile:
reddit.example.org {
reverse_proxy redlib:8080
}
search.example.org {
reverse_proxy searxng:8080
}/opt/frontends/searxng/settings.yml and /opt/frontends/searxng/limiter.toml:
use_default_settings: true
server:
secret_key: "paste the output of: openssl rand -hex 32"
limiter: true
image_proxy: true
valkey:
url: valkey://valkey:6379/0[botdetection]
trusted_proxies = ['127.0.0.0/8', '::1', '172.16.0.0/12']The trusted_proxies line is the one most first deployments miss. SearXNG's limiter honours X-Forwarded-For only from listed proxies, and by default that means loopback alone. Caddy runs in its own container and reaches SearXNG from a Docker bridge address inside 172.16.0.0/12, so without that line every member appears to come from one IP and the limiter ends up throttling all of them together. image_proxy keeps members' browsers from fetching result thumbnails from third parties, at a modest cost in transfer. Run docker compose up -d and Caddy obtains certificates on the first request to each name.
For Invidious, order a Pro and follow the production compose file in the official installation guide. It pulls prebuilt images from Quay, which spares you a compile that on its own needs 2.5 GB of free RAM. Then add the restart the project asks for:
0 * * * * cd /opt/invidious && docker compose restart invidious05/07
What Swiss jurisdiction changes, and what it does not.
The server sits in ALP1 and is operated by Hosta AG, a Swiss société anonyme based in Riehen. The revised Federal Act on Data Protection has applied since 1 September 2023, and the European Commission confirmed on 15 January 2024 that Switzerland still provides an adequate level of protection, so personal data can flow from members in the EU to a Swiss-hosted instance without additional safeguards. The US Department of Justice lists CLOUD Act executive agreements only with the United Kingdom and Australia, none with Switzerland. The revision of the surveillance ordinance (VÜPF/OSCPT) put to consultation in January 2025 is not in force, and the Federal Council has announced a second consultation. Our offshore hosting page covers the wider picture.
None of this alters your relationship with the platforms. A frontend still sends every request to a US company, and Swiss law has no say in how Google or Reddit treat that traffic. Depending on where your collective is established, the FADP, the GDPR or both apply to you as controller, and in either case your members' IP addresses are personal data. The simplest way to handle them is not to keep them: Redlib does not log in production, and Caddy writes an access log only if you add a log directive. If you want logs for abuse handling, keep the retention short and say so on the instance's about page.
06/07
Cost.
| Item | Price |
|---|---|
| Cloud VPS Starter (Redlib + SearXNG) | $6.99 / month |
| Starter billed yearly (≈ −25 %) | $62.99 / year (≈ $5.25 / month) |
| Starter with daily backups (+20 %) | $8.39 / month |
| Extra IPv4 | $2 / month |
| Cloud VPS Pro (Invidious) | $22.99 / month |
Starter includes 2 vCPU, 2 GB RAM, 80 GB NVMe and 10 TB of monthly transfer on a 1 Gbps port. Outbound port 25 is open on every VPS, which only matters if you want the instance to send mail. Redlib and SearXNG keep nothing worth backing up beyond four configuration files; put those in a git repository and skip the backup option. Invidious holds members' subscriptions in PostgreSQL, so on Pro the option earns its 20 %. The full list is on our pricing page.
Payment is in crypto only (Monero, Bitcoin, Tether (USDT), Ethereum, Litecoin and other coins) against a balance kept in US dollars. Top-ups run from $25 to $5,000, with a bonus of 5 % from $50, 10 % from $100, 15 % from $250 and 20 % from $500, and the unused paid part of a top-up is refundable within 14 days. For a collective's treasury, a $100 top-up becomes $110 of balance, enough for 15 months of Starter (theoretical, at $6.99 a month). Accounts are no-KYC: an email address is enough, so no member has to put their own name on the instance. Details on no-KYC hosting.
07/07
Limits and acceptable use.
We accept privacy frontends on our VPS plans. Running one may breach the terms of the platform it reads from, which is a contractual matter between you and that platform; the risk is yours, and so is the decision whether to keep running after a letter arrives. Complaints reach us like any other. A DMCA notice has no direct legal effect in Switzerland. We forward complete complaints to the customer, who must remove the content or justify it, and we act on a decision of a competent Swiss authority, or where the content is manifestly unlawful (Swico Code of Conduct Hosting 2025). Swiss copyright law obliges a host to stop a work being made unlawfully available again only in a narrow case: the same work was already made available unlawfully through the same service, the host was notified, and the service creates a particular risk of infringement. Our general approach is set out in our answer on copyright complaints.
Two practical limits apply. The transfer allowance is a fixed number on a VPS, unlike the unmetered fair-use traffic on our dedicated servers. And an open public instance attracts scrapers that use up upstream goodwill far faster than members ever will; keep the SearXNG limiter on and indexing off, and if an instance is for members only, put it behind basic_auth in Caddy. Collectives that also run their own communication tools may find our fediverse guide useful alongside this one.
Catalogue·Options
Every configuration, every option, every price.
Six cloud VPS plans on AMD EPYC with local NVMe. Transfer is included on every plan, from 10 TB to 100 TB a month.
| Plan | vCPU | Memory | NVMe | Transfer | Port | Price | Deploy |
|---|---|---|---|---|---|---|---|
| StarterRecommendedStaging, dev | 2 | 2 GB | 80 GB | 10 TB / month | 1 Gbps | $6.99/mo | Deploy Starter |
| StandardSmall apps | 4 | 4 GB | 160 GB | 15 TB / month | 1 Gbps | $12.99/mo | Deploy Standard |
| ProProduction | 6 | 8 GB | 320 GB | 20 TB / month | 1 Gbps | $22.99/mo | Deploy Pro |
| PowerHeavy workloads | 12 | 16 GB | 640 GB | 40 TB / month | 2 Gbps | $42.99/mo | Deploy Power |
| UltraDatabases | 16 | 32 GB | 1000 GB | 60 TB / month | 2 Gbps | $65.99/mo | Deploy Ultra |
| SummitDense hosts | 32 | 64 GB | 2000 GB | 100 TB / month | 5 Gbps | $119.99/mo | Deploy Summit |
Every plan runs on AMD EPYC with local NVMe. Yearly billing costs about 25% less.
Every plan
- AMD EPYCon every host
- Local NVMenot network storage
- DDoS protectionalways on
- 1 IPv4 addressmore at $2 each
- VNC consoleand full root access
FAQ
Questions people ask first.
Short answers about running this in ALP1. If yours is not here, open a ticket from your panel.
Will YouTube block an Invidious instance hosted in ALP1?
It may. The Invidious documentation states that YouTube blocks datacenter and VPN addresses, and the remedies it suggests (another public IP, a proxy for companion, IPv6 rotation) come with no guarantee. An extra IPv4 costs $2 a month, and IPv6 rotation needs a routed prefix. Run one month of Pro before you promise members a working instance.
Can we still get traffic through Farside?
No. Farside's author has archived the project and says farside.link should no longer be relied upon. Submit your instance to the lists each project maintains: the redlib-instances repository for Redlib, instances.invidious.io for Invidious, searx.space for SearXNG.
Does hosting in Switzerland protect us from a platform's cease-and-desist?
Not by itself. A cease-and-desist letter is a demand, not a judgment, and a platform can pursue an operator wherever that operator lives, regardless of where the server is. What Swiss hosting changes is how we as your host respond: through the process described above, not on a platform's say-so. If a letter arrives, speak to a lawyer in your own jurisdiction before deciding anything.
Can several frontends share one Starter?
Yes: one subdomain each behind the same Caddy, as in the example. Redlib and SearXNG together suit the plan well. Adding Invidious to the same 2 GB machine does not, since Invidious alone asks for 2 GB free.
Is our members' traffic hidden from the platform?
Their IP addresses are, as long as everything, media included, goes through your server; the platform then sees ALP1, not your members. Redlib proxies media by default. In Invidious, video proxying is an instance preference (local in default_user_preferences); turn it on and budget transfer accordingly, otherwise members' browsers fetch video from Google directly.
Sources
Every fact on this page, with its source
Accessed 6 Nov 2026 unless noted.
Swiss law and authorities
- Federal Act on Data Protection (FADP), SR 235.1, in force since 1 September 2023fedlex
- Federal Council, VÜPF/OSCPT revision consultation of 29 January 2025; not in force, second consultation announced (status as of 31 October 2026)admin.ch · status as of 31 Oct 2026
- Swiss Copyright Act, art. 39d, in force since 1 April 2020 (RO 2020 1003; verified 31 October 2026)fedlex · verified 31 Oct 2026
EU and other countries
- European Commission, adequacy decisions; review of 15 January 2024 confirming decision 2000/518/EC for SwitzerlandEuropean Commission
- US Department of Justice, CLOUD Act resources: executive agreements with the United Kingdom and Australia only (verified 31 October 2026)justice.gov · verified 31 Oct 2026
Industry, providers and software
- Swico Code of Conduct Hosting, revised version published 13 March 2025swico.ch/coc
- Redlib README: proxying, logging, OAuth token spoofing, configuration (accessed 6 November 2026)github.com/redlib-org/redlib
- Farside README, archive notice (accessed 6 November 2026)github.com/benbusby/farside
- Nitter wiki, Creating session tokens: real accounts requiredgithub.com/zedeus/nitter
Other references
- Invidious documentation, Installation: hardware requirements, companion, restart frequency (accessed 6 November 2026)docs.invidious.io/installation
- Invidious documentation, YouTube error messages explained: datacenter and VPN blocking (accessed 6 November 2026)docs.invidious.io
- SearXNG documentation, Limiter, version 2026.11.5 (accessed 6 November 2026)docs.searxng.org
- SearXNG documentation, Installation container (accessed 6 November 2026)docs.searxng.org
- Nitter, history of the 2026 cease-and-desist and archiving (accessed 6 November 2026)Wikipedia
- The Register, "Nitter lives to proxy another day after taking legal advice", 7 September 2026theregister.com
ALP1·Swiss Alps
Your server in the Alps, ready when you are.
Cloud VPS start at $6.99 a month and are usually set up within minutes of your order.
