From 0c1e50f7cf312fb5888449af6efd4d8672f7cc4d Mon Sep 17 00:00:00 2001 From: domfelipe Date: Sun, 2 Aug 2026 21:23:57 -0300 Subject: [PATCH] Point one-liner default to GitHub raw (domfelipe/hermes-client-onboarding) Update README with live URLs; keep setup.domhubs.com.br as optional alias. --- README.md | 55 ++++++++++++++++++++++++++++++++---------------------- install.sh | 2 +- 2 files changed, 34 insertions(+), 23 deletions(-) diff --git a/README.md b/README.md index 5f64caf..963b361 100644 --- a/README.md +++ b/README.md @@ -9,19 +9,28 @@ One-liner + skill conversacional para deixar o **Hermes Agent** pronto no client ## One-liner (produção) +Repo: https://github.com/domfelipe/hermes-client-onboarding + ```bash -curl -fsSL https://setup.domhubs.com.br/hermes | bash +curl -fsSL https://raw.githubusercontent.com/domfelipe/hermes-client-onboarding/main/install.sh | bash ``` Variantes: ```bash # só instalar skill + Hermes, sem abrir agente -curl -fsSL https://setup.domhubs.com.br/hermes | bash -s -- --no-launch +curl -fsSL https://raw.githubusercontent.com/domfelipe/hermes-client-onboarding/main/install.sh | bash -s -- --no-launch # forçar condutor -curl -fsSL https://setup.domhubs.com.br/hermes | bash -s -- --conductor hermes -curl -fsSL https://setup.domhubs.com.br/hermes | bash -s -- --conductor codex +curl -fsSL https://raw.githubusercontent.com/domfelipe/hermes-client-onboarding/main/install.sh | bash -s -- --conductor hermes +curl -fsSL https://raw.githubusercontent.com/domfelipe/hermes-client-onboarding/main/install.sh | bash -s -- --conductor codex +``` + +Alias de domínio (opcional, depois de apontar DNS/proxy): + +```bash +# quando setup.domhubs.com.br/hermes estiver no ar +curl -fsSL https://setup.domhubs.com.br/hermes | bash ``` ## Layout @@ -52,33 +61,35 @@ chmod +x install.sh skill/hermes-client-onboarding/scripts/apply-core-config.sh ## Hospedagem do one-liner -O `install.sh` baixa a skill de `HERMES_ONBOARD_BASE` (default `https://setup.domhubs.com.br/hermes`) quando **não** está rodando a partir de um checkout com `skill/`. +O `install.sh` baixa a skill de `HERMES_ONBOARD_BASE` quando **não** está rodando a partir de um checkout com `skill/`. -### Opção A — Domínio próprio (recomendado) +**Default atual:** `https://raw.githubusercontent.com/domfelipe/hermes-client-onboarding/main` -Publique arquivos estáticos: +### Opção A — GitHub raw (já no ar) + +Funciona sem infra extra. URLs: + +| Path | Uso | +|------|-----| +| `.../main/install.sh` | bootstrap | +| `.../main/skill/hermes-client-onboarding/SKILL.md` | skill | +| `.../main/skill/.../references/troubleshooting.md` | ref | +| `.../main/skill/.../scripts/apply-core-config.sh` | helper | + +### Opção B — Domínio próprio (VPS / Coolify) + +Proxy reverso para raw do GitHub ou serve o clone estático: | URL | Arquivo | |-----|---------| -| `https://setup.domhubs.com.br/hermes` | `install.sh` (Content-Type: text/plain) | -| `https://setup.domhubs.com.br/hermes/skill/hermes-client-onboarding/SKILL.md` | skill | -| `.../references/troubleshooting.md` | ref | -| `.../scripts/apply-core-config.sh` | script | +| `https://setup.domhubs.com.br/hermes` | `install.sh` | +| `https://setup.domhubs.com.br/hermes/skill/...` | skill tree | -Nginx/Caddy exemplo (path prefix `/hermes` → root do repo, com rewrite de `/hermes` → `install.sh`). - -### Opção B — GitHub raw - -```bash -export HERMES_ONBOARD_BASE="https://raw.githubusercontent.com//hermes-client-onboarding/main" -curl -fsSL "$HERMES_ONBOARD_BASE/install.sh" | bash -``` - -Ou grave esse `BASE` no topo do `install.sh` antes de publicar. +Nginx/Caddy: path `/hermes` → root do repo (rewrite `/hermes` → `install.sh`). ### Opção C — Gist -Gist single-file só serve se a skill for embutida. Prefira repo/GitHub raw. +Só se embutir a skill no script. Prefira GitHub raw. ## Stack padrão (decisões) diff --git a/install.sh b/install.sh index a08aae5..d45d018 100755 --- a/install.sh +++ b/install.sh @@ -5,7 +5,7 @@ set -euo pipefail SKILL_NAME="hermes-client-onboarding" -DEFAULT_BASE="${HERMES_ONBOARD_BASE:-https://setup.domhubs.com.br/hermes}" +DEFAULT_BASE="${HERMES_ONBOARD_BASE:-https://raw.githubusercontent.com/domfelipe/hermes-client-onboarding/main}" HERMES_INSTALL_URL="${HERMES_INSTALL_URL:-https://hermes-agent.nousresearch.com/install.sh}" KICKOFF_MSG="${HERMES_ONBOARD_KICKOFF:-Inicie agora o onboarding de cliente Hermes. Siga a skill hermes-client-onboarding fase a fase (Phase 1 primeiro). Fale em português brasileiro.}"