Self-hosted app·Personal data, cameras and smart home
Self-hosting ActivityWatch
on a VPS in Panama City.
ActivityWatch hosting in Panama City: aw-server-rust v0.14.1 in Docker behind an SSH tunnel, or an always-on sync peer. Sizing, setup and cost.
- Rust
- Python
- SQLite
- Docker
PTY1·Panama City
In stockRecommended for this use case
- 1 Gbps port15 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: $116.99 a year, about 25% less
- No KYC
- Crypto only
- Panama jurisdiction
- 4 vCPU, 4 GB RAM
- 160 GB NVMe local storage
- 15 TB transfer on a 1 Gbps port
- DDoS protection included
- Panamanian law
01/07
Short answer.
Yes. ActivityWatch runs comfortably on our Cloud VPS Standard in PTY1, Panama City, at $12.99 a month: 4 vCPU, 4 GB of RAM and 160 GB of NVMe is far more than the server itself needs, and the margin goes to building the Docker image from source and running Syncthing beside it. The one thing that matters is that the ActivityWatch API must never face the internet. It speaks plain HTTP, has no authentication unless you opt in, and anyone who reaches port 5600 can read, rewrite or delete every event you have ever recorded. Bind it to loopback and reach it through an SSH tunnel, or skip the central server entirely and use the VPS as an always-on sync peer. Both setups are described below; the second is the one the ActivityWatch developers actually support.
02/07
What ActivityWatch is,
and what upstream thinks of remote servers.
ActivityWatch is an open-source automatic time tracker. Small programs called watchers run on your computer, record the active application and window title, whether you are at the keyboard, and (through a browser extension) the current tab, and send them as heartbeats to a server on localhost:5600. The server stores events in SQLite and serves the web dashboard. There are two server implementations: the Python aw-server, still the default in the classic desktop app, and aw-server-rust, used by the newer Tauri app and described by upstream as the future default. The Rust server is MPL-2.0 licensed, and the current release is v0.14.1, published on 10 October 2026. The project is run by a small group of core contributors and funded partly by an optional subscription.
Upstream's documentation says plainly that running the server on a separate machine is not supported and strongly discouraged, for security reasons and because they do not want the software used to monitor employees. Both objections are fair. Window titles carry email subjects, document names, chat partners and full URLs, so the database is the most revealing log on your machine, and the network design deserves more care than the installation.
Our servers are in Panama City and answer to Panamanian law. A US DMCA notice has no legal effect here, and we act only on valid orders from competent Panamanian authorities.
03/07
Two ways
to use a VPS for it.
The supported route is sync. Since v0.14.0, aw-sync writes each device's data into its own subfolder of a sync directory (~/ActivityWatchSync by default) and leaves moving that directory to a file-sync tool you choose; it never sends anything over the network itself. Each device writes only its own files and opens the others read-only, so there are no conflicts to resolve. The practical weakness is that a laptop and a desktop are rarely online at the same moment. A Syncthing node on a VPS is always online, which turns two devices that seldom meet into a hub that both reach. The Android app (0.14 and later) can push to the same folder, although it does not pull desktop data back.
You can run that Syncthing node in two ways. As an untrusted peer with the folder set to "Receive Encrypted", the VPS stores file contents, names and metadata encrypted with a password it never sees; Syncthing still labels this feature beta. As a trusted peer, the VPS holds plaintext, and in exchange you can run aw-server-rust there and pull every device into one dashboard. If all you want is for your machines to see each other's data, choose the encrypted variant; the VPS then holds nothing it can read beyond the folder ID and label.
The other route is a central server. Each machine's watchers keep reporting to localhost:5600, and an SSH tunnel forwards that port to aw-server-rust on the VPS. Upstream calls this the only somewhat secure way to run a remote server; watcher configuration stays as it is, and only the local server must stop autostarting. Its documented limits: Android cannot use it, since the app does not report through the REST API, and browser watchers on several machines collide because their bucket IDs carry no hostname. If the tunnel drops, the Python client queues heartbeats, and since v0.14.1 it retries them on transient errors instead of dropping them.
What we advise against is setting address = "0.0.0.0" and pointing watchers at the public IP. The Rust server has an opt-in API key ([auth] api_key, sent as Authorization: Bearer …), but it travels in clear text with everything else, and the documentation names only aw-sync and aw-client-rust as clients that send it; other watchers fail with 401 once it is enabled. The documented client options are a hostname, a port and a commit interval, with nothing for TLS.
04/07
Requirements and sizing.
Disk is easy to reason about from upstream's own benchmark, a nine-year database of 9.2 million events that occupies 1.8 GB. That is roughly 200 MB per device-year for a heavy user (theoretical). In the trusted-sync setup each device's data exists twice on the VPS, once in the sync folder and once in the server database, so five devices come to about 2 GB a year (theoretical). Heartbeats are small JSON requests; even re-sending that entire nine-year database every month would use a negligible fraction of the transfer included in any plan (theoretical).
| Port | Purpose | Exposure |
|---|---|---|
| 22/tcp | SSH, and the tunnel to the server | Public, key-only login |
| 22000/tcp and 22000/udp | Syncthing data transfer | Public, sync setups only |
| 5600/tcp | ActivityWatch API and web UI | Loopback only |
| 8384/tcp | Syncthing web GUI | Loopback only, via SSH |
| Plan | vCPU / RAM / NVMe | Monthly transfer | Price | Fits |
|---|---|---|---|---|
| VPS Starter | 2 / 2 GB / 80 GB | 10 TB | $6.99/mo | An encrypted Syncthing relay and nothing else |
| VPS Standard | 4 / 4 GB / 160 GB | 15 TB | $12.99/mo | Building the image, the server, aw-sync and Syncthing together |
We recommend Standard. The honest exception: if the VPS will only ever be an encrypted Syncthing peer, Starter does the job and the extra $6 a month buys you nothing.
05/07
Deploying it
on Panama Host.
Order the server with Debian 13 preinstalled on VPS Standard, restrict SSH to keys, and open only 22/tcp, plus 22000/tcp and udp if you use Syncthing. Do not rely on the host firewall to protect port 5600: Docker writes its own packet-filter rules for published ports, which pass traffic before most host firewall rules see it. The loopback binding in the compose file is what keeps the API private.
No official ActivityWatch image is published, so we build from the scripts/Dockerfile that ships in aw-server-rust, pinned to the v0.14.1 release:
sudo apt update && sudo apt install -y docker.io docker-compose git
mkdir -p ~/aw && cd ~/aw
git clone --branch v0.14.1 https://github.com/ActivityWatch/activitywatch.git
git -C activitywatch submodule update --init --recursive aw-server-rust
mkdir -p data && sudo chown -R 10001:10001 data # the image runs as uid 10001# ~/aw/compose.yml
services:
aw-server:
build:
context: ./activitywatch/aw-server-rust
dockerfile: scripts/Dockerfile
image: aw-server-rust:v0.14.1
command: ["aw-server-rust", "--host", "0.0.0.0"] # inside the container only
ports:
- "127.0.0.1:5600:5600" # loopback on the VPS, never 0.0.0.0
volumes:
- ./data:/home/aw/.local/share/activitywatch
restart: unless-stoppedRun sudo docker compose up -d --build, then curl -s http://127.0.0.1:5600/api/0/info on the VPS should return the hostname, version and device ID.
On each computer, disable the local server in the ActivityWatch tray menu, then open the tunnel with ssh -N -L 127.0.0.1:5600:localhost:5600 you@your-vps and keep it alive with a systemd user unit or autossh. The watchers carry on as before, and the dashboard appears at http://localhost:5600 in your browser.
For the sync hub, install Debian's syncthing package, start it with sudo systemctl enable --now syncthing@you, reach its GUI through ssh -L 8384:127.0.0.1:8384 you@your-vps, and accept the ActivityWatchSync share from each device, as "Receive Encrypted" if you want the VPS blind. For the trusted variant with a merged dashboard, copy the aw-sync binary from the v0.14.1 Linux zip (it sits next to aw-server-rust; the Docker image deliberately leaves it out) and run a pull every 15 minutes from cron: */15 * * * * AW_SYNC_DIR=$HOME/ActivityWatchSync $HOME/aw/bin/aw-sync sync. Other devices then appear as -synced-from- buckets.
For backups, do not copy a live SQLite file. Export through the API, curl -s http://127.0.0.1:5600/api/0/export -o aw-$(date +%F).json, and ship the file with restic or rclone to an S3-compatible object storage bucket; the 250 GB tier costs $1.99 a month and will hold decades of exports.
06/07
Cost.
| Item | Monthly |
|---|---|
| VPS Standard (4 vCPU, 4 GB, 160 GB NVMe, 15 TB transfer, 1 Gbps) | $12.99 |
| Optional daily backups (+20 %) | $2.60 |
| Or object storage, 250 GB, for exports | $1.99 |
| VPS Standard on yearly billing (≈ −25 %) | ≈ $9.75 (theoretical; $116.99 a year) |
Prices are in US dollars and paid in crypto (AVAX, BCH, BNB, BTC, DOGE, ETH, LTC, SOL, TRX, USDC, USDT or XMR) through top-ups of $25 to $5,000, which earn a bonus from 5 % at $50 up to 20 % at $500; the unused paid part is refundable within 14 days. Signing up is no-KYC: an email address is enough, and the full grid is on our pricing page.
07/07
Jurisdiction,
limits and acceptable use.
A server in Panama City changes who can lawfully compel access to that log, within limits worth stating precisely. Article 29 of Panama's Constitution allows private communications to be intercepted only on a judicial order, and private documents to be examined only on the order of a competent authority for specific purposes. As of 31 October 2026 the US Department of Justice lists CLOUD Act executive agreements with the United Kingdom and Australia only. Panama and the United States do have a mutual legal assistance treaty in force since 1995, so a US criminal request can still arrive through Panamanian channels. Whether the six-month retention duty of Law 51 of 2009 reaches a hosting provider is a question for Panamanian counsel. The wider picture is on our offshore hosting page.
You administer this VPS, so keeping port 5600 off the network, applying updates and holding backups are your job. Recording anyone other than yourself makes you responsible for that personal data under Panama's Law 81 of 2019 and Executive Decree 285 of 2021; if those people are in the EU, Panama has no adequacy decision, and transfers need safeguards such as the 2021 standard contractual clauses. What is not allowed here is using the server to collect another person's activity covertly or otherwise unlawfully. Complaints and questions go through a support ticket in 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 |
|---|---|---|---|---|---|---|---|
| StarterStaging, dev | 2 | 2 GB | 80 GB | 10 TB / month | 1 Gbps | $6.99/mo | Deploy Starter |
| StandardRecommendedSmall 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 |
| TitanDense hosts | 32 | 64 GB | 2000 GB | 100 TB / month | 5 Gbps | $119.99/mo | Deploy Titan |
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 PTY1. If yours is not here, open a ticket from your panel.
Can I open port 5600 and point my watchers at the VPS IP?
You can, and you should not. Traffic is plain HTTP, the API is unauthenticated by default, and the optional API key crosses the network in clear text and is not sent by every watcher. Use the SSH tunnel or WireGuard.
Is there an official ActivityWatch Docker image?
Upstream publishes a Dockerfile in the aw-server-rust repository, not a ready-made image. Building it yourself from a release tag means you run exactly the version you chose. The image contains the server only, not aw-sync.
Will my Android phone's data reach the VPS?
Not through a tunnel, because the Android app does not report over the REST API. It can push its data into a sync folder that Syncthing carries to the VPS; desktop data is not pulled back onto the phone.
What happens to my data when the VPS or the tunnel is down?
With the tunnel setup, the Python watcher client queues heartbeats and retries them when the server comes back. With the sync setup, every device keeps tracking into its own local server, and the next sync pass catches up.
Will VPS Starter do instead of Standard?
For an encrypted Syncthing peer, yes. Standard is for building the image on the server and running it alongside aw-sync and Syncthing.
Sources
Every fact on this page, with its source
Accessed 4 Nov 2026 unless noted.
Panamanian law and authorities
- Panama, Law 81 of 26 March 2019, Gaceta Oficial 28743-A (Executive Decree 285 of 28 May 2021)gacetaoficial.gob.pa
- Panama, Law 51 of 2009, art. 6, Gaceta Oficial 26374gacetaoficial.gob.pa
- Constitution of Panama, art. 29, Gaceta Oficial 25176s3-legispan.asamblea.gob.pa
EU and other countries
- US Department of Justice, CLOUD Act resourcesjustice.gov · verified 31 Oct 2026
- GDPR, article 46eur-lex.europa.eu
- Commission Implementing Decision (EU) 2021/914, standard contractual clauseseur-lex.europa.eu
Industry, providers and software
Other references
- ActivityWatch documentation, Remote server (support position, SSH tunnel, known issues)docs.activitywatch.net
- ActivityWatch documentation, Security (API key, plain HTTP, CORS)docs.activitywatch.net
- ActivityWatch documentation, Configuration (server and client options)docs.activitywatch.net
- ActivityWatch documentation, Syncing (aw-sync design, Android, limitations)docs.activitywatch.net
- ActivityWatch documentation, Server comparison (9.2 million events, 1.8 GB benchmark)docs.activitywatch.net
- ActivityWatch documentation, REST API (export endpoint, /api/0/info)docs.activitywatch.net
- Syncthing documentation, Untrusted (Encrypted) Devicesdocs.syncthing.net
- US Department of State, Panama–US Mutual Legal Assistance Treaty (in force 6 September 1995)state.gov
Your server in Panama,
ready when you are.
Cloud VPS start at $6.99 a month and are ready 60 to 120 seconds after you order.