Self-hosted app·Private front ends and search
Hosting a 4get instance on a Swiss VPS.
Run a 4get instance on a Swiss VPS in ALP1: sizing, Apache and PHP-FPM or Docker on Debian 13, cost from $6.99/mo, and the rules that apply.
- PHP
- Apache
- 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/06
Short answer.
Yes, and the smallest plan is enough. A personal 4get instance runs on our VPS Starter in ALP1, Swiss Alps: 2 vCPU, 2 GB RAM, 80 GB NVMe and 10 TB of monthly transfer on a 1 Gbps port, for $6.99 a month on Debian 13. Hardware is not where these projects fail. The 4get README puts the application's memory use at 100–400 MB, and one vCPU absorbs a household's searches without noticing. What decides whether the instance is usable is the outbound side: every query leaves from your server's IPv4 address towards DuckDuckGo, Brave, Mojeek and the other upstream engines, and each of them decides on its own whether to answer a datacenter address or hand it a CAPTCHA. Think about egress before anything else, and know in advance that the Google scraper needs a second machine that no VPS can be.
02/06
What 4get is and who maintains it.
4get describes itself as a proxy search engine. It runs no crawler and keeps no index: the server fetches an upstream engine's result page, parses it and renders the results in an interface that works with JavaScript switched off, and it pulls images and favicons through the instance too, so your browser only ever talks to your server. The scraper list follows the engines' markup and changes often. When we checked in November 2026, the README listed DuckDuckGo, Brave, Yandex, Google, Startpage, Yep, Mojeek, Marginalia, wiby and a dozen others for web results, plus image, video, news and music backends; the music column includes Swisscows, the Swiss engine.
The project is the work of one developer who publishes as lolcat, on the author's own Gitea server at git.lolcat.ca. The code is AGPLv3-only, so if you modify it and let other people use your instance, you owe them your modified source. The repository is small (6.6 MiB) and active, with commits into November 2026. The official instance is 4get.ca, and the README states that 4get.ch is not the author's: a Swiss domain tells you nothing about who runs an instance, which is a fair argument for running your own.
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/06
Requirements and sizing.
| What 4get needs | VPS Starter | |
|---|---|---|
| CPU | 1 vCPU for personal use | 2 vCPU |
| Memory | 100–400 MB for 4get (README), plus Apache and PHP-FPM workers | 2 GB |
| Disk | A 6.6 MiB repository, a favicon cache and the OS | 80 GB NVMe |
| Network | Inbound TCP 80 and 443; outbound HTTPS to the engines | 1 Gbps, 10 TB transfer per month |
| Software | Apache 2.4 with PHP-FPM, or Docker | Debian 13, which ships PHP 8.4 |
On a 2 GB machine the setting that matters is the PHP-FPM pool. The author's Apache guide says 4get.ca runs pm = static with 50 children and suggests pm = ondemand with pm.max_children = 20 for personal use. Each child is a full PHP process, so size the pool by measurement rather than by copying numbers: run a few image searches, read the workers' resident memory with ps -o rss= -C php-fpm8.4, multiply the largest value by max_children, and keep the result well inside 2 GB with room left for Apache and the page cache. For one person or a family, ondemand with 20 children is the right starting point on Starter.
Transfer is where a private instance and a public one part ways. VPS traffic is not unmetered: Starter includes 10 TB a month, which is roughly 31 Mbit/s sustained around the clock (theoretical: 10 TB spread over 30 days). 4get proxies every thumbnail, so each image crosses the interface twice, in from the source and out to the browser, and you should budget it twice. A personal instance will never come within sight of the allowance. A public instance listed on 4get.ca and popular for image search can, and that is the moment to move to VPS Standard (4 vCPU, 4 GB, 15 TB, $12.99), not to a dedicated server. Nothing in 4get needs one.
The egress address is the largest variable of all. Starter comes with one IPv4, and the engines see that address and, where they localise by IP, a Swiss location, so results lean towards Swiss sources unless an engine's filters let you pick a country or language. Search engines throttle datacenter address space as a matter of routine, and the large public clouds' ranges, being the most abused, are usually the first to be challenged. When an engine blocks you, 4get rotates proxies per scraper: list them in a file under data/proxies/ as protocol:address:port:username:password, set that file's name against the scraper in data/config.php, and 4get keeps the same proxy while you page through one result set.
Google is the exception no proxy fixes. The current configuration guide routes the Google scraper through "4play", a Firefox extension plus a small Node.js server, and asks for a dedicated desktop or laptop with a full desktop environment and a real or emulated display. A headless VPS cannot be that machine. You can point a 4get on Starter at a 4play box at home, or live without Google.
04/06
Deploying 4get on our VPS.
Order VPS Starter with Debian 13, pay in any of the cryptocurrencies we accept, and point an A record for your hostname at the IPv4 shown in the client panel. An email address is enough to open the account; no-KYC hosting explains what we ask for and what we do not. From there, choose between the author's native setup and the Docker image a contributor documented.
- 01
Native Apache and PHP-FPM (our recommendation)
This follows the upstream Apache guide, adjusted for Debian 13. It is the stack 4get.ca itself runs, and it keeps the optional curl-impersonate step described below straightforward.
apt update && apt upgrade apt install php-mbstring apache2 certbot php-imagick imagemagick php-curl curl \ php-apcu git libapache2-mod-fcgid php-fpm a2dismod mpm_prefork a2enmod mpm_event ssl rewrite proxy proxy_fcgi setenvif actions alias http2 headers git clone https://git.lolcat.ca/lolcat/4get /var/www/4get chown -R www-data:www-data /var/www/4get/iconsTwo details in the upstream guide do not match Debian 13 as shipped. It names the pool file
/etc/php/8.4/pool.d/www.conf; on Debian the file is/etc/php/8.4/fpm/pool.d/www.conf, and that is wherepm = ondemandandpm.max_children = 20go. Its virtual hosts still point at aphp8.1-fpmsocket, which does not exist on Debian 13. The guide also makesicons/writable withchmod 777; handing the directory towww-datadoes the same job without opening it to every account on the machine.Then create
/etc/apache2/sites-available/4get.conf. Beyond the hostname and certificate paths it needs PHP passed to the 8.4 socket, the rewrite that maps/settingstosettings.php, and hard denies on everything that is not meant to be served. The guide's HTTPS example only blocksdata/, which holds your configuration and any proxy credentials; its onion example blocks the full list of internal directories, and we use that list, plus.git, since the clone puts the repository metadata inside the document root.<VirtualHost *:443> ServerName search.example.com DocumentRoot /var/www/4get Protocols h2 http/1.1 SSLEngine On SSLOptions +StdEnvVars SSLCertificateFile /etc/letsencrypt/live/search.example.com/fullchain.pem SSLCertificateKeyFile /etc/letsencrypt/live/search.example.com/privkey.pem <FilesMatch \.php$> SetHandler "proxy:unix:/run/php/php8.4-fpm.sock|fcgi://localhost/" </FilesMatch> <Directory /var/www/4get> Options -MultiViews AllowOverride All Require all granted RewriteEngine On RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_FILENAME} !-f RewriteRule ^([^\.]+)$ $1.php [NC,L] </Directory> <DirectoryMatch "^/var/www/4get/(\.git|data|lib|scraper|template|oracles|docs|docker|extra|resolve)/"> Require all denied </DirectoryMatch> <Directory /var/www/4get/icons> Options -Indexes </Directory> </VirtualHost>Keep
SSLOptions +StdEnvVars: it exposes the TLS details that 4get's basic bot protection reads. Add a port-80 virtual host that redirects to HTTPS, then obtain the certificate with Apache stopped, because certbot's standalone mode needs port 80 to itself. The guide stops at the first issuance, but renewals in standalone mode fail for the same reason, so give certbot hooks at issue time; it stores them and reuses them on every renewal.systemctl stop apache2 certbot certonly --standalone --key-type ecdsa -d search.example.com \ --pre-hook "systemctl stop apache2" --post-hook "systemctl start apache2" a2ensite 4get systemctl start apache2 && systemctl restart php8.4-fpm - 02
Docker
The repository documents an image,
luuul/4get, configured through environment variables: anything prefixedFOURGET_is written into the generatedconfig.php. That page was contributed in June 2024 and has not changed since, so read the variables against the currentdata/config.php. Install Docker Engine from Docker's own apt repository, which supports Debian 13, and start from this:# compose.yaml services: fourget: image: luuul/4get:latest restart: unless-stopped environment: - FOURGET_PROTO=https - FOURGET_SERVER_NAME=search.example.com - FOURGET_BOT_PROTECTION=1 ports: - "80:80" - "443:443" volumes: - ./certs:/etc/4get/certs - ./captcha:/var/www/html/4get/data/captchaThe container expects
fullchain.pemandprivkey.pemin/etc/4get/certs. The upstream example mounts Let's Encrypt'slive/directory directly, but the files there are relative symlinks intoarchive/that do not resolve inside the container; copy them into./certswith a certbot--deploy-hook(it receives the live directory in$RENEWED_LINEAGE) and restart the container. Bot protection needs a captcha set you supply: one subdirectory per category, 100×100 images named1.pngupwards. Docker is the faster start, at the price of inheriting the image's PHP build. - 03
Before you share the address
Change the domain in
robots.txtfrom 4get.ca to yours, as the configuration guide asks, and readdata/config.phpfor the server name, instance list and bot-protection settings. Yep, and images behind Cloudflare's browser-integrity check, need a browser-like TLS handshake; the guide, updated for Debian 13, has you compile curl-impersonate's Firefox variant and preload it intophp8.4-fpmthrough a systemd override. It works, it changes the PHP runtime, and a first install does not need it. The guide also comments out Apache's access log. Whether you do the same on a public instance is your decision, and whatever you decide is what you should tell your users.
05/06
Cost.
| Item | Price |
|---|---|
| VPS Starter, monthly | $6.99 |
| VPS Starter, yearly (≈ −25 %) | $62.99 a year, about $5.25 a month (theoretical) |
| Daily backups (+20 %) | +$1.40 a month |
| Extra IPv4 | $2 a month |
| VPS Standard, for a busy public instance | $12.99 a month |
The monthly price covers the 2 vCPU, 2 GB RAM, 80 GB NVMe, one IPv4 and 10 TB of transfer at 1 Gbps. Payment is crypto only (Monero, Bitcoin, USDT, Ethereum, Litecoin and other coins), with prices and balances 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. The minimum $25 top-up covers three months of Starter ($20.97) with $4.03 left; a $100 top-up becomes a $110 balance, fifteen months with $5.15 to spare (theoretical, at today's price). The unused paid part of a top-up is refundable within 14 days. The full grid is on our pricing page.
Think twice before ticking the backup option. The state worth keeping in a 4get install is a handful of files (data/config.php, the proxy lists, the captcha set, your Apache and PHP-FPM configuration), and certificates can be reissued in a minute. At +20 % you are mostly paying to keep a copy of Debian.
06/06
Swiss law, limits and acceptable use.
The server sits in ALP1 and your contract is with Hosta AG, a Swiss company in Riehen, so Swiss law governs the hosting relationship. The revised Federal Act on Data Protection has been in force since 1 September 2023, and it does not apply to processing by a natural person for exclusively personal use (art. 2 para. 2 let. a). A 4get instance that only you use sits inside that exemption. Open it to others and you are processing their IP addresses and search queries, which makes you responsible under the FADP for what your instance records and for describing it accurately. Visitors from the EU do not complicate this: on 15 January 2024 the European Commission confirmed that Switzerland still ensures an adequate level of protection, so their data may flow to a Swiss server without further safeguards.
As of 31 October 2026 the US Department of Justice lists CLOUD Act executive agreements only with the United Kingdom and Australia, none with Switzerland. That does not place a server beyond legal reach: Swiss authorities can order disclosure through Swiss procedure, and we act on decisions of a competent Swiss authority. The revision of the surveillance ordinance (VÜPF/OSCPT) put to consultation on 29 January 2025 is not in force as of the same date, and the Federal Council has announced a second consultation, which anyone running a public service from Switzerland should follow. The wider picture is on our offshore hosting page.
Personal and public 4get instances are welcome on our servers, as are an onion access point and proxies for the scrapers. You are the operator and you answer for how the instance is used; nothing unlawful under Swiss law is allowed on it. A DMCA notice has no direct legal effect in Switzerland: we forward complete complaints to you, you remove the content or justify it, and we act on a decision of a competent Swiss authority or where content is manifestly unlawful, in line with the Swico Code of Conduct Hosting 2025 (our page on DMCA notices). 4get stores no works and only passes thumbnails through. Swiss law permits downloading for private use (software excepted) but not making a work available online without permission, so a file cache or media host added to the same server changes your position. Search engines can also complain about scraping volume, so run a public instance with bot protection on; an unprotected one becomes a free relay for other people's scrapers, and the first casualty is your own address's standing with the engines.
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.
Do Google results work on a VPS?
Not with the VPS alone. The current Google scraper depends on 4play, which needs a separate desktop machine running Firefox with a real or emulated display. You can host 4get on Starter and connect it to such a machine elsewhere. The README also lists Google API and Google CSE backends; read data/config.php before counting on them.
Can I keep the instance to myself?
Yes, and on a 2 GB server it is the sensible default. HTTP basic authentication in Apache, or a firewall rule that limits port 443 to your own addresses, keeps bots out and holds the upstream request volume to your own searches. It also keeps the processing personal in the FADP's sense.
How do I get listed on 4get.ca/instances?
Ask an operator already on the list to add your instance to their configuration. The list propagates from instance to instance and the author does not control it, which is why the configuration guide tells you to drop any peer that pushes spam entries. Switch bot protection on before you ask, because a listed instance attracts traffic you did not invite.
Can 4get be reached over Tor?
Yes. The upstream Apache guide includes a port-80 virtual host for an onion address, with a separate Tor guide, and the Docker documentation describes routing incoming and outgoing requests through Tor. Inbound onion access is the useful half. Sending the scrapers' outbound requests through Tor exits tends to bring more CAPTCHAs than the VPS's own address does.
Docker or native: which breaks less on upgrade?
Native. It updates with git pull in /var/www/4get plus Debian's security updates for PHP 8.4, and it is the path the author documents and runs. The Docker documentation is a 2024 contribution, and an image tag can lag behind a scraper fix the repository already has.
Sources
Every fact on this page, with its source
Accessed 5 Nov 2026 unless noted.
Swiss law and authorities
- Revised Federal Act on Data Protection, in force since 1 September 2023; art. 2 para. 2 let. a (exclusively personal use)Fedlex RS 235.1
- Surveillance ordinance (VÜPF/OSCPT) revision of 29 January 2025 not in force, second consultation announcedadmin.ch · verified 31 Oct 2026
- Downloading for private use permitted, making works available online without permission notige.ch
EU and other countries
- European Commission review of 15 January 2024 confirming Switzerland's adequacy (decision 2000/518/EC)European Commission, adequacy decisions
- CLOUD Act executive agreements limited to the United Kingdom and AustraliaUS Department of Justice · verified 31 Oct 2026
Industry, providers and software
- Docker Engine on Debian, Debian 13 Trixie supporteddocs.docker.com
- php8.4-fpm in Debian 13 and the pool file path /etc/php/8.4/fpm/pool.d/www.confpiuparts.debian.org
Other references
- 4get repository and README (features, memory comparison, supported engines, AGPLv3-only licence, 4get.ch disclaimer, repository size)git.lolcat.ca/lolcat/4get
- 4get Apache2 install guide (packages, modules, PHP-FPM pool values, virtual hosts, onion host, access-log note, certbot)docs/apache2.md
- 4get configuration guide (file locations, proxy format, curl-impersonate on Debian 13, robots.txt, instance listing, 4play requirements for Google)docs/configure.md
- 4get Docker guide (image, FOURGET_ variables, mountpoints, certificate files, captcha set, Tor)docs/docker.md
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.
