amish

Give your agent a persistent browser that you can access too with one-click DigitalOcean deployments.
git clone https://unitehenry.com/git/amish.git
Log | Files | Refs | README

commit d756ff30216038d0eb7f194cdb3bf24e101540b2
parent 275b1489d0fc1fe846b9657dbb1678eb7b4dcd84
Author: Henry Unite <unitehenry@gmail.com>
Date:   Sat, 25 Jul 2026 23:01:46 +0000

chore: digitalocean app spec

Diffstat:
Adeploy.template.yaml | 78++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Aimages/Containerfile.guacamole | 19+++++++++++++++++++
2 files changed, 97 insertions(+), 0 deletions(-)

diff --git a/deploy.template.yaml b/deploy.template.yaml @@ -0,0 +1,78 @@ +name: amish +region: sfo + +services: + - name: guacamole + github: + repo: unitehenry/amish + branch: master + dockerfile_path: images/Containerfile.guacamole + http_port: 8080 + instance_size_slug: basic-xxs + envs: + - key: GUACD_HOSTNAME + value: guacd + scope: RUN_TIME + - key: USERNAME + value: admin + scope: RUN_TIME + - key: PASSWORD + value: password + scope: RUN_TIME + + - name: agent-browser-mcp + github: + repo: unitehenry/agent-browser-mcp + branch: master + dockerfile_path: Containerfile + http_port: 8000 + instance_size_slug: basic-xxs + envs: + - key: CDP_PORT + value: http://xpod-chromium:9222 + scope: RUN_TIME + # Set these for GitHub OAuth (see README). Use secrets for ID/secret. + - key: GITHUB_CLIENT_ID + value: "" + scope: RUN_TIME + - key: GITHUB_CLIENT_SECRET + value: "" + scope: RUN_TIME + type: SECRET + - key: GITHUB_USERNAME + value: "" + scope: RUN_TIME + - key: BASE_URL + value: https://your-app.ondigitalocean.app + scope: RUN_TIME + +workers: + - name: guacd + image: + registry_type: DOCKER_HUB + registry: guacamole + repository: guacd + tag: latest + + - name: xpod-chromium + image: + registry_type: GHCR + registry: unitehenry + repository: xpod-chromium + tag: latest + dockerfile_path: images/ + instance_size_slug: apps-s-2vcpu-4gb + +ingress: + rules: + - match: + path: + prefix: /guacamole/ + component: + name: guacamole + preserve_path_prefix: true + - match: + path: + prefix: / + component: + name: agent-browser-mcp diff --git a/images/Containerfile.guacamole b/images/Containerfile.guacamole @@ -0,0 +1,19 @@ +FROM guacamole/guacamole + +USER root + +RUN mkdir -p /etc/guacamole && chown guacamole:guacamole /etc/guacamole + +COPY --chown=guacamole:guacamole guacamole/config/user-mapping.xml /etc/guacamole/user-mapping.xml + +RUN cat > /opt/guacamole/entrypoint.d/150-replace-credentials.sh << 'EOF' +if [ -n "${USERNAME}" ] && [ -n "${PASSWORD}" ]; then + PASS_HASH=$(echo -n "${PASSWORD}" | md5sum | awk '{print $1}') + sed -i "s/__USERNAME__/${USERNAME}/g" /etc/guacamole/user-mapping.xml + sed -i "s/__PASSWORD__/${PASS_HASH}/g" /etc/guacamole/user-mapping.xml +fi +EOF + +RUN chmod 644 /opt/guacamole/entrypoint.d/150-replace-credentials.sh /etc/guacamole/user-mapping.xml + +USER guacamole