An idle clicker game inspired by Cookie Clicker, written in Svelte.
Install dependencies and start a development server:
npm install
npm run devnpm run build
npm run preview # preview production buildThe app is packaged as a Docker image and deployed to a Proxmox LXC container, exposed via a Cloudflare Tunnel.
- Terraform >= 1.5
- Proxmox VE with an Ubuntu 24.04 LXC template downloaded:
pveam download local ubuntu-24.04-standard_24.04-2_amd64.tar.zst - Proxmox API token with
PVEAdminrole (or at minimum:VM.Allocate,VM.Config.*,Datastore.AllocateSpace,Sys.Modify) - SSH access from your machine to the Proxmox host as the API token user
- Cloudflare API token with Account > Cloudflare Tunnel > Edit and Zone > DNS > Edit permissions
- GitHub PAT with
read:packagesscope
cd terraform
cp terraform.tfvars.example terraform.tfvars
# fill in terraform.tfvars
terraform init
terraform applyterraform apply will:
- Create an Ubuntu 24.04 LXC container on Proxmox (DHCP)
- Create a Cloudflare Tunnel and
idlegame.amohr.netDNS record - SSH to the Proxmox host and run the setup script inside the container via
pct exec, which:- Installs Docker
- Logs in to GHCR and pulls the image
- Registers the container as a systemd service
- Installs and starts
cloudflaredwith the tunnel token