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 7a6e69d3e953d29dd59a0e15fc422e9aa9376a4d
parent e653f121abb305825c48ed5eae75f6d8bbd59b22
Author: Henry Unite <unitehenry@gmail.com>
Date:   Mon, 20 Jul 2026 00:52:43 +0000

feat: htpasswd

Diffstat:
Mscripts/deploy | 10+++++++---
1 file changed, 7 insertions(+), 3 deletions(-)

diff --git a/scripts/deploy b/scripts/deploy @@ -67,9 +67,13 @@ ssh $HOST 'apt-get install nginx' scp ./nginx/nginx.conf $HOST:/etc/nginx/nginx.conf # Create htpasswd -# 1. ask for username/password -# 2. create .htpasswd -# 3. upload /etc/nginx/.htpasswd +ssh -t $HOST ' +apt-get install -y apache2-utils +read -p "Username: " USERNAME +read -s -p "Password: " PASSWORD +echo +htpasswd -c -b /etc/nginx/.htpasswd "$USERNAME" "$PASSWORD" +' # Reload nginx ssh $HOST 'systemctl restart nginx'