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 d17cf35a7f9be5b6d2fd1fbcdf001a56389304b0
parent fe730ed8ef79b29881d2ecc174aaa9f9e26869b0
Author: Henry Unite <unitehenry@gmail.com>
Date:   Sun, 26 Jul 2026 02:51:34 +0000

chore: one-click deploy

Diffstat:
M.github/workflows/install.yml | 2+-
MREADME.md | 56+++++++++-----------------------------------------------
Rdeploy.yaml -> deploy.template.yaml | 0
3 files changed, 10 insertions(+), 48 deletions(-)

diff --git a/.github/workflows/install.yml b/.github/workflows/install.yml @@ -18,7 +18,7 @@ jobs: uses: actions/checkout@v7 - name: Run deploy script - run: doctl apps create --project-id 4dfa384f-7eb2-4e58-956e-5669bd432e7a --spec deploy.yaml --wait + run: doctl apps create --project-id 4dfa384f-7eb2-4e58-956e-5669bd432e7a --spec deploy.template.yaml --wait - name: Cleanup run: doctl apps delete $(doctl apps list | grep amish | awk '{ print $1 }') --force diff --git a/README.md b/README.md @@ -1,48 +1,26 @@ ## Setup Guide -1. [Obtain a Virtual Machine](#obtain-a-virtual-machine) -2. [Setup DNS Record](#dns-record) -3. [Configure GitHub OAuth App](#configure-github-oauth-app) -4. [Install Script](#install-script) -5. [Install Wizard](#install-wizard) +[![Deploy to DO](https://www.digitalocean.com/api/static-content/v1/images?src=https%3A%2F%2Fwww.deploytodo.com%2Fdo-btn-blue.svg&token=17b950890e7051c2a16c7739bad4f6d69e7773367b41d7b10e0e33a42a3e75b4)](https://cloud.digitalocean.com/apps/new?repo=https://github.com/unitehenry/amish/tree/master) -### Obtain a Virtual Machine +```sh +doctl apps create --spec deploy.template.yaml +``` -- Ubuntu-24.04 -- Static Public IP Address +The one-click deploy will work out of the box, but here are some recommended ways to secure your deploy: -### DNS Record +- [Guacamole Credentials](#guacamole-credentials) +- [Configure GitHub OAuth App](#configure-github-oauth-app) -``` -amish.your-app.com. 25 IN A <vm_static_public_ip> -``` +### Guacamole Credentials ### Configure GitHub OAuth App - https://github.com/settings/developers - Callback URL: https://amish.you-app.com/auth/callback -### Install Script - -```sh -# Download install script -curl -sSL https://raw.githubusercontent.com/unitehenry/amish/master/install.sh -o /tmp/install.sh - -# Run install script on virtual machine -bash /tmp/install.sh -``` - -### Install Wizard - -- Guacamole Username / Password -- GitHub OAuth Client ID / Client Secret -- GitHub Username Whitelist -- GitHub Host -> https://amish.you-app.com -- Nginx Server Name -> amish.you-app.com - ## Usage -**Access your browser in the browser** +**Access your browser via browser** ``` https://amish.your-app.com/guacamole @@ -59,19 +37,3 @@ https://amish.your-app.com/sse ``` todo: mermaid diagram ``` - -## Development - -If you just want to run the service and don't want to enable GitHub OAuth, SSL, etc, then just download and install without the setup wizard. - -```sh -# Download install script -curl -sSL https://raw.githubusercontent.com/unitehenry/amish/master/install.sh -o /tmp/install.sh - -# Run install script -WIZARD=0 bash /tmp/install.sh - -# Connect directly -http://127.0.0.1/guacamole -http://127.0.0.1/sse -``` diff --git a/deploy.yaml b/deploy.template.yaml