MVP: Go daemon, password auth, persistent PTY terminals, React/xterm UI, PWA

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
This commit is contained in:
Mitchell-Johnson
2026-09-17 10:25:35 -07:00
co-authored by Claude Fable 5.1
parent 190604247f
commit 436732dac0
35 changed files with 3576 additions and 0 deletions
+18
View File
@@ -0,0 +1,18 @@
[Unit]
Description=Hamlet web console
After=network.target
[Service]
Type=simple
User=core
Group=core
WorkingDirectory=/home/core
Environment=HAMLET_CONFIG=/home/core/apps/hamlet/config.json
ExecStart=/usr/local/bin/hamlet serve
Restart=always
RestartSec=3
KillMode=control-group
TimeoutStopSec=10
[Install]
WantedBy=multi-user.target
+11
View File
@@ -0,0 +1,11 @@
#!/bin/sh
# Install the built binary and unit on this host, then (re)start the service.
set -eu
cd "$(dirname "$0")/.."
sudo install -m 0755 bin/hamlet /usr/local/bin/hamlet
sudo install -m 0644 deploy/hamlet.service /etc/systemd/system/hamlet.service
sudo systemctl daemon-reload
sudo systemctl enable --now hamlet.service >/dev/null
sudo systemctl restart hamlet.service
sleep 1
systemctl is-active hamlet.service && /usr/local/bin/hamlet version