Self-hosted app·Newsrooms, whistleblowers and associations
Self-hosting Hush Line on a Swiss VPS.
Hush Line self host guide: run the whistleblower tip line on a 2 vCPU VPS in ALP1, Swiss Alps, with Tor and PostgreSQL 16, from $6.99/month.
- Tor
- Docker
- PostgreSQL
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. Hush Line runs on our VPS Starter plan (2 vCPU, 2 GB RAM, 80 GB NVMe, 10 TB monthly transfer, $6.99/month) in ALP1, our site in the Swiss Alps, on Debian 13 with Docker, PostgreSQL 16 and a Tor onion service. A text-only tip line for one newsroom or one law firm will not stretch that machine. What decides whether self-hosting is a good idea is maintenance, not hardware: upstream tagged six releases between 9 and 14 July 2026 alone, and an unpatched tip line is worse than none. If nobody on your side will read release notes and update within days, the free hosted service at tips.hushline.app is the safer choice, and we would rather say so here than sell you a server you will neglect.
02/07
What Hush Line is and who maintains it.
Hush Line is a whistleblower intake platform developed by Science & Design, Inc., a US 501(c)(3) non-profit, and published on GitHub under AGPL-3.0. A source submits a message without creating an account, and it is encrypted to your OpenPGP public key before it is stored, with a server-side encryption path as fallback when the browser cannot do it. Recipients sign in with a password plus optional TOTP or hardware security keys (WebAuthn arrived in v0.7.26 on 30 September 2026). The stack is Python 3.13 and Flask behind gunicorn, PostgreSQL 16, and Sequoia for OpenPGP.
Upstream's focus is the hosted service, which runs on DigitalOcean App Platform with managed PostgreSQL 16 and a Spaces bucket; they also offer single-tenant instances and a Tor-only hardware appliance, the Personal Server. There is no maintained guide for installing the current version on an arbitrary VPS. The repository does give you a production Dockerfile, a start script that runs migrations and then gunicorn on port 8080, a container image per release (hushline/hushline:vX.Y.Z) and a configuration read entirely from environment variables. That is enough, provided you are willing to read the source when something changes.
The reason to bother goes back to 2024, when the Open Technology Fund's Security Lab had Subgraph audit Hush Line. One finding on the managed version was the multi-tenant risk: if the application or its host is compromised, every organisation sharing it is exposed, and upstream answered with a single-tenant option. Your own instance is that model with you holding the database, the keys and the logs, which is what a Swiss newsroom or a law firm with data-residency clauses in its engagement letters usually needs. The price is the hosted directory and its verified-account badges. On your own instance, a source's only evidence that the tip line is yours is wherever you publish its address.

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
Jurisdiction what Switzerland changes, and what it does not.
ALP1 is operated by Hosta AG, a Swiss société anonyme in Riehen. The revised Federal Act on Data Protection has applied since 1 September 2023, and on 15 January 2024 the European Commission confirmed Switzerland's adequacy status, so an EU publisher can hold disclosures from EU sources here without additional transfer safeguards. As of 31 October 2026 the US Department of Justice lists CLOUD Act executive agreements with the United Kingdom and Australia only, none with Switzerland. That puts nothing beyond the reach of a court; it means a foreign request has to come through the channels Swiss law provides, and we act on decisions of competent Swiss authorities. The revision of the Swiss surveillance ordinance (VÜPF/OSCPT) consulted on in January 2025 was not in force on 31 October 2026, and a second consultation has been announced. The wider legal picture is on our offshore hosting and jurisdiction page.
The legal layer only protects what the technical layer already protects. On any VPS the hypervisor operator, here us, can technically read a guest's memory and disk. Hush Line limits what there is to read: disclosures encrypted in the browser land on disk as PGP ciphertext, and your private key never needs to touch the server. Submissions that take the server-side fallback do pass through your VM's memory in plaintext. If that residual exposure is in your threat model, a dedicated server removes the hypervisor and the co-tenants, though not physical access to the machine.
04/07
Requirements and sizing.
| Component | What it needs |
|---|---|
| Hush Line app | Image hushline/hushline:vX.Y.Z; gunicorn on port 8080 inside the container |
| Database | PostgreSQL 16, as in upstream production and its compose files |
| Onion address | Tor daemon; no inbound port at all |
| Clearnet address (optional) | A domain, a TLS reverse proxy (Caddy below), inbound 80/443 |
| Notifications (optional) | An SMTP submission account; outbound port 25 is also open on every VPS |
| Secrets | SECRET_KEY, ENCRYPTION_KEY, SESSION_FERNET_KEY, a database password |
The production start script launches gunicorn without a worker count, so it runs gunicorn's default of one synchronous worker, which is adequate for a handful of page loads and form posts a day. Disk and transfer are not where the limits are. As theoretical figures, a PGP-encrypted text disclosure weighs a few kilobytes, so 80 GB holds millions of them, and even at 2 MB per visit the Starter's 10 TB covers five million visits a month.
| Plan | Spec | Price/month | When it fits |
|---|---|---|---|
| VPS Starter | 2 vCPU, 2 GB, 80 GB NVMe, 10 TB, 1 Gbps | $6.99 | One newsroom or firm, text-only intake |
| VPS Standard | 4 vCPU, 4 GB, 160 GB NVMe, 15 TB, 1 Gbps | $12.99 | File uploads enabled, several desks, room for monitoring |
| Rigi (dedicated) | EPYC 4244P, 6 cores/12 threads, 32 GB, 1 TB NVMe | $64.99 | No hypervisor between you and the hardware |
All cloud VPS plans include the monthly transfer shown; VPS traffic is metered against that allowance, not unmetered.
05/07
Deploying it on our VPS.
- 01
1. Order and prepare the server
Order VPS Starter with Debian 13 here: the deploy page. Payment is in crypto (Monero, Bitcoin, USDT, Ethereum, Litecoin and others) and the account is no-KYC: an email address is enough. Log in with your SSH key, switch off password logins in
sshd_config, and install the base packages:apt update && apt full-upgrade -y apt install -y unattended-upgrades tor caddy openssl dpkg-reconfigure -plow unattended-upgradesInstall Docker Engine and the Compose plugin from Docker's own Debian repository, following their installation page. Debian's
torpackage is fine for an onion service; the Tor Project's repository gets fixes sooner if you prefer it. - 02
2. Generate the secrets
mkdir -p /opt/hushline && cd /opt/hushline PGPASS=$(openssl rand -hex 24) { echo "SECRET_KEY=$(openssl rand -hex 32)" echo "ENCRYPTION_KEY=$(openssl rand -base64 32 | tr '+/' '-_')" echo "SESSION_FERNET_KEY=$(openssl rand -base64 32 | tr '+/' '-_')" echo "SQLALCHEMY_DATABASE_URI=postgresql://hushline:${PGPASS}@postgres:5432/hushline" } > hushline.env echo "POSTGRES_PASSWORD=${PGPASS}" > postgres.env chmod 600 *.envThe two Fernet keys must be URL-safe base64 of 32 random bytes, which is what the
trtakes care of.ENCRYPTION_KEYprotects stored email addresses, SMTP credentials, PGP keys and TOTP secrets. Lose it and those fields are gone; leak it together with a database dump and they are readable. - 03
3. Write the compose file
# /opt/hushline/compose.yaml services: postgres: image: postgres:16 env_file: postgres.env environment: POSTGRES_USER: hushline POSTGRES_DB: hushline volumes: - pgdata:/var/lib/postgresql/data healthcheck: test: ["CMD", "pg_isready", "-U", "hushline"] interval: 5s retries: 10 restart: unless-stopped app: image: hushline/hushline:v0.7.26 # pin a tag; never run :latest env_file: hushline.env environment: PUBLIC_BASE_URL: https://tips.example.com WEBAUTHN_RP_ID: tips.example.com WEBAUTHN_ORIGIN: https://tips.example.com BLOB_STORAGE_PUBLIC_DRIVER: file-system BLOB_STORAGE_PUBLIC_FS_ROOT: /hushline-public-files # ONION_HOSTNAME: added in step 5 ports: - 127.0.0.1:8080:8080 volumes: - public-files:/hushline-public-files depends_on: postgres: condition: service_healthy restart: unless-stopped volumes: pgdata: public-files:Upstream requires
PUBLIC_BASE_URLorSERVER_NAMEin deployed environments and prefers the former; without either, requests that need canonical URLs fail closed. Migrations run on every start unless you setRUN_STARTUP_MIGRATIONS=false. WebAuthn treats the clearnet and onion origins as separate scopes, so a key enrolled on one does not work on the other; for an onion-only instance, set both WebAuthn values to the onion host, withhttp://in the origin, which the configuration accepts for.onion. - 04
4. Clearnet address with Caddy (skip for onion-only)
# /etc/caddy/Caddyfile tips.example.com { reverse_proxy 127.0.0.1:8080 # after step 5, advertise the onion address to Tor Browser: # header Onion-Location http://YOURADDRESS.onion{uri} }Caddy fetches its own certificate and writes access logs only when a
logdirective is present. Gunicorn, started the way upstream starts it, has no access log configured either. Verify rather than trust: after a test submission, readdocker compose logs appandjournalctl -u caddyand see what was recorded about the visit. - 05
5. Onion service
cat >> /etc/tor/torrc <<'EOF' HiddenServiceDir /var/lib/tor/hushline/ HiddenServicePort 80 127.0.0.1:8080 EOF systemctl restart tor cat /var/lib/tor/hushline/hostnamePut that hostname into
ONION_HOSTNAME, then copy/var/lib/tor/hushline/hs_ed25519_secret_keysomewhere offline. That file is the address. Lose it and every business card and imprint carrying the address is dead; leak it and someone else can serve a tip line under your name. - 06
6. Start, claim the admin account, close the firewall
Run
docker compose up -din/opt/hushlineand register your own account before the address is published anywhere. On a fresh database the first registration becomes the administrator (v0.5.125 closed a race condition around exactly this), and the same release made invite codes the default on fresh installs. Add your PGP public key, enable two-factor authentication, then send yourself a test tip over Tor Browser and over the clearnet address and decrypt both; sign in once over the onion address too, before you print it on anything. Finally, drop every inbound port except SSH, plus 80/443 if you run the clearnet address. - 07
7. Backups and updates
A nightly
pg_dumppiped into restic and stored in an S3-compatible object storage bucket (250 GB for $1.99/month) covers the database. Restic talks to the bucket through the S3 API and encrypts client-side:export RESTIC_REPOSITORY=s3:https://<your-bucket-endpoint>/<bucket> export AWS_ACCESS_KEY_ID=<access-key> AWS_SECRET_ACCESS_KEY=<secret-key> export RESTIC_PASSWORD_FILE=/root/.restic-pass cd /opt/hushline && docker compose exec -T postgres pg_dump -U hushline hushline \ | restic backup --stdin --stdin-filename hushline.sqlKeep
hushline.envand the onion key out of that repository. Disclosures in the dump stay unreadable without your PGP private key, but account fields become readable to anyone holding both the dump andENCRYPTION_KEY. To update, read the release notes, take a dump, change the image tag and rundocker compose pull && docker compose up -d. Rolling back after a migration means restoring the dump, so take it every time.
06/07
Cost.
| Item | Per month |
|---|---|
| VPS Starter (2 vCPU, 2 GB, 80 GB NVMe, 10 TB) | $6.99 |
| Daily backups option (+20 %) | $1.40 |
| Object storage, 250 GB, for restic | $1.99 |
| Total (theoretical, rounded) | $10.38 |
Yearly billing takes roughly 25 % off the VPS, which works out at about $5.25 a month for the Starter (theoretical). The plan includes 1 Gbps, 10 TB of transfer, full root and open outbound port 25. 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; a $100 top-up becomes $110 of credit, about fifteen months of Starter on its own (theoretical). The unused paid part of a top-up is refundable within 14 days. Current figures are on pricing.
07/07
Limits and acceptable use.
Running a tip line needs no special permission from us. The instance is yours: you decide what is collected, how long handled disclosures are kept and who has accounts, and as the operator you carry the data-protection obligations that come with that, patching included. A Hush Line instance two releases behind is a liability for the people who trusted it.
What we do not accept: a tip line presented under the name of a newsroom, law firm, NGO or the official Hush Line service you do not represent; using the software to collect credentials or personal data under false pretences; using public profile pages to publish unlawful content; harassment or exposure of private individuals. Hush Line is AGPL-3.0, so if you modify it and let people use the modified version over the network, you must offer them its source.
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). On a tip line the only public content is your profile page, so this rarely comes up. The service is operated by Hosta AG, société anonyme suisse, IDE CHE-107.875.655, Käppeligasse 1, 4125 Riehen, Switzerland; to reach us, open a support ticket from the client panel.
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.
Can Hush Line run onion-only, with no clearnet address?
Yes, and for source protection it is the better default. Tor makes only outbound connections, so with 80 and 443 closed the server exposes nothing but SSH. Two things still link the machine to you: notification emails sent from the VPS show its IP to your mail provider, and a domain registered in your name ties you to a clearnet address. Onion-only removes the second entirely.
Will my sources' IP addresses reach the server?
Over the onion address, the app sees connections from the local Tor daemon, not from sources. Over the clearnet address, a source's IP reaches Caddy and crosses our network like any web request. The default configuration above does not write it to an access log, but test that yourself and tell sources to use Tor Browser, as upstream's own documentation recommends.
Do I keep the verified badge and directory listing from tips.hushline.app?
No. Verification and the directory belong to the hosted service. On your own instance, publish the onion address on your HTTPS site and in print, and sign it with your PGP key so sources can check it.
Can Hush Line store its files in your object storage?
It has an S3 driver for its public asset store, but that driver writes objects as public-read and serves them through a CDN endpoint, which suits DigitalOcean Spaces more than a tip line. Use the file-system driver on the VPS and keep the bucket for encrypted backups. Never put a bucket mount under PostgreSQL.
Sources
Every fact on this page, with its source
Accessed 3 Nov 2026 unless noted.
Swiss law and authorities
- Revised FADP in force since 1 September 2023fedlex.admin.ch · verified 31 Oct 2026
- Swiss Federal Council, VÜPF/OSCPT revision not in force, second consultation announcedadmin.ch · verified 31 Oct 2026
EU and other countries
- European Commission adequacy decisions, review of 15 January 2024commission.europa.eu · verified 31 Oct 2026
- US DOJ, CLOUD Act resources, executive agreements with the UK and Australia onlyjustice.gov · verified 31 Oct 2026
Industry, providers and software
- Hush Line repository and README, Science & Design, Inc. (AGPL-3.0, features, quickstart)github.com
- Release and deployment architecture, DigitalOcean App Platform, PostgreSQL 16, Spaces, hushline/hushline:vX.Y.Z imagegithub.com
- Production Dockerfile (Python 3.13, Sequoia) and start script (migrations, gunicorn on 8080)github.com
- Configuration loader (environment variables, FILE_UPLOADS_ENABLED default, ONION_HOSTNAME, WebAuthn rules)github.com
- Blob storage drivers (file-system, S3 with public-read ACL and CDN endpoint)github.com
- Developer notes on PUBLIC_BASE_URL, SERVER_NAME and WebAuthn scopesgithub.com
- Hush Line privacy policy (encrypted account fields, US non-profit, DigitalOcean hosting), effective 16 February 2026github.com
- Release list, v0.7.17 to v0.7.26 (July–September 2026)github.com
- Release v0.5.125 (first-user admin race, invite codes on fresh installs)github.com
Other references
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.
