From aea58e4cfdaafceb506adc1b8054ec2c5fc0da18 Mon Sep 17 00:00:00 2001 From: Local Dev Date: Mon, 31 Aug 2026 12:44:03 +0200 Subject: [PATCH] feat(hephaestus.x): /forge lists real repos instead of auto-redirecting MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Previous version was a 100ms bounce to code.silentmode.st — user never saw hephaestus.x/forge/ content, just a flash. New version is a real catalog page: - Fetches public repo list live from Forgejo's API on page load - Renders each repo as a card with name, owner, description, updated date, clickable to code.silentmode.st// when the user chooses - Falls back to a "browse directly at code.silentmode.st" hint on API error - Includes the git clone URL patterns (HTTPS-with-PAT and SSH-2222) inline Enabled CORS on Forgejo so hephaestus.x (served from a different origin) can hit /api/v1/repos/search — Access-Control-Allow-Origin: *, methods GET+HEAD only, no credentials. That's the minimum for public listings and matches how the API is meant to be used. /forgejo/ is a byte-identical alias. --- hephaestus.x/forge/index.html | 140 +++++++++++++++++++++++++++++--- hephaestus.x/forgejo/index.html | 140 +++++++++++++++++++++++++++++--- 2 files changed, 256 insertions(+), 24 deletions(-) diff --git a/hephaestus.x/forge/index.html b/hephaestus.x/forge/index.html index b71196a..ebbb41c 100644 --- a/hephaestus.x/forge/index.html +++ b/hephaestus.x/forge/index.html @@ -2,24 +2,140 @@ -Hephaestus — opening the forge… - - + +Hephaestus — the forge + -
+ +
+ +
⚒️
- Opening the forge…
- code.silentmode.st → +

the forge

+

Public code on Hephaestus. Click through to read, or sign in with your wallet to push your own.

+ +
+ +
+

Public repositories

+

Fetched live from Hephaestus. Sign in to see private orgs you belong to.

+ +
+
Loading from code.silentmode.st
+
+ +

+ Clone URL patterns: + git clone https://code.silentmode.st/<owner>/<repo>.git (HTTPS with a personal token) +  ·  + git clone ssh://git@code.silentmode.st:2222/<owner>/<repo>.git (SSH with your registered key) +

+
+
- + + + + diff --git a/hephaestus.x/forgejo/index.html b/hephaestus.x/forgejo/index.html index b71196a..ebbb41c 100644 --- a/hephaestus.x/forgejo/index.html +++ b/hephaestus.x/forgejo/index.html @@ -2,24 +2,140 @@ -Hephaestus — opening the forge… - - + +Hephaestus — the forge + -
+ +
+ +
⚒️
- Opening the forge…
- code.silentmode.st → +

the forge

+

Public code on Hephaestus. Click through to read, or sign in with your wallet to push your own.

+ +
+ +
+

Public repositories

+

Fetched live from Hephaestus. Sign in to see private orgs you belong to.

+ +
+
Loading from code.silentmode.st
+
+ +

+ Clone URL patterns: + git clone https://code.silentmode.st/<owner>/<repo>.git (HTTPS with a personal token) +  ·  + git clone ssh://git@code.silentmode.st:2222/<owner>/<repo>.git (SSH with your registered key) +

+
+
- + + + +