rithub-beat-github-2026-11-18.md UI findings, round 2 (live at rithub.dev):
1. Mobile repo file-list commit-message overflow (finding #1, re-opened).
The 2026-11-18 mobile fix forced .repo-file-item out of stock Gitea's
display:contents, which pulled it out of #repo-files-table's own
3-column CSS grid -- each row was then auto-placed as one opaque grid
item sized by its own min-content width (measured live: 911.625px on
a 390px screen), blowing commit-message text off the right edge with
no ellipsis. Fixed by collapsing #repo-files-table to a single grid
column at this breakpoint AND adding min-width:0 to the grid/flex
items so the existing overflow:hidden;text-overflow:ellipsis on
.repo-file-cell.message can actually do its job. Verified live:
item width 372px, message cell 348px, body.scrollWidth == innerWidth
(390), ellipsis renders correctly across every row including nested
paths.
2. Explore leads with real public repos (finding #3, the "not done" half
from the prior pass). New templates/explore/repos.tmpl (override) +
explore/featured.tmpl: a curated "Featured" section above the raw
bulk list, shown on the default unfiltered first page only. The 8
pinned repos were chosen via a real Jev (TypeSafe System One) score
per repo ("how strong a flagship example is this to showcase" --
stars are 0 across the board this early, so quality-of-description
was the real signal); apps/gitea/scripts/explore-featured-refresh.sh
(installed on railyard-box's crontab, daily) refreshes each pinned
repo's live stars/description/push-time and re-sorts by that --
static template content, no engine/Go code change, self-gated restart
(load1<6, no other build) matching oauth-auto-import.sh's pattern.
3. Home page links to /mcp-docs ("Works with your coding agent") -- a
single tertiary text link under the two hero CTAs, not a third pill
button.
4. Full 390px/1440px sweep of home, explore, repo, issues, pulls, login,
signup, mcp-docs: no console errors, no horizontal page overflow,
no regressions.
Screenshots: gtm/qa-shots/rithub-ui-round2-2026-11-19/. 3 container
restarts this pass (gated on load1<6 + no build each time): 1 shipped
the intended fix set, 2 were corrective after live DOM/CSS-cascade
inspection (CDP `inspect`) proved the first file-list fix attempt hadn't
actually closed the overflow -- documented honestly in the CSS comments
and plans/railyard.md rather than claiming success from the screenshot
alone.
UI study (plans/rithub-beat-github-2026-11-18.md) top-2 gaps, fixed on
rithub.dev (railyard-gitea-gitea-1):
1. Repo file browser at 390px was a cramped single-line 3-col grid
(icon+name+message+age all on one row, live-verified via gstack
screenshot). Added a @media(max-width:768px) override in
theme-rithub.css that stacks each #repo-files-table row into a
2-line card (name full-width, commit message + age below in small
grey text), GitHub-mobile style. Issue/PR list pages were already
responsive and untouched.
2. Issues/PR list pages rendered a blank white area when empty, no
icon/copy/CTA (inconsistent with Actions' own empty state). New
custom/templates/shared/issuelist.tmpl override (byte-for-byte
upstream plus one added block) renders an icon-only empty state +
"New Issue"/"New Pull Request" CTA when a repo's issue/PR list is
empty. Styled in theme-rithub.css, Apple rules (neutral + one
accent, no emoji, no gradients).
3. locale_en-US.ini: "Return to Gitea" -> "Return to Rithub" (error
page fallback link), webhook type label "Gitea" -> "Rithub" (repo
settings > webhooks > add webhook dropdown). Route/URL segment
unchanged (still /settings/hooks/gitea/new, a Go-level constant);
only the visible label changed.
Also made 9 retired/deprioritized repos private via the API (never
deleted) so Explore stops leaking them: caelum0x/{vcpeer-book,
vcpeer-live,vcpeer-share,vcpeer-suite,darkvol,zeroimpact,
recoder-agent-os,recoder.xyz}, erebos-labs/aeonrift -- all confirmed
retired/parked in plans/darkvol.md, plans/KNOWLEDGE-DIGEST-2026-11-17.md
and the VCPeer/Recoder deletion memory note. No DB/API change needed
in this repo for that part.
CSS cache-bust bumped v5->v6 in header.tmpl (Cloudflare caches these
assets, no purge-scoped token available).
Live-verified: gstack screenshots at 390x844 and 1440x900 (home, repo,
issues, pulls, explore, login, sign-up) in
gtm/qa-shots/rithub-ui-fix-2026-11-19/; container restarted once after
load1 dropped below the 6 gate; both "Sign in with GitHub" and
"Sign in with Google" confirmed present pre- and post-restart.
Signup-form Cloudflare Turnstile blocked a scripted mail.tm signup
(owner-only step per standing rule -- noted, not forced).
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
- apps/rit: `rit login` (PKCE OAuth2 against a new first-party "Rit CLI"
Gitea app, loopback callback, no token paste) and `rit import github`
(lists own repos+forks via `gh auth token`, smallest-first, skip-
existing, mirror=true). Wired as a transparent credential fallback into
remote.rs so push/fetch/pull/clone/issue/pr all work after one login.
`rit push` also syncs a `github` remote if present via system git.
- apps/gitea/scripts: oauth-auto-import.sh (path 1, cron-driven, triggered
by Gitea's own GitHub OAuth login source, flock+load-gated) and
rithub-agent.sh (path 3, plain-words trigger) share lib/bulk-migrate.sh
as their core.
- Found+fixed two real API bugs via live testing against rithub.dev
(MigrateRepoOptions.service is a string not an int; a bash bool-
interpolation bug), and one real production bug (orphan GitHub comments
on a deleted issue/PR 500 Gitea's comment-import phase even though the
repo+code already landed -- now detected and reported as a partial
success with a note instead of a false failure).
- Full real end-to-end verification with a throwaway mail.tm Rithub user,
fully cleaned up after. 121/121 existing rit tests still pass.
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Measured funnel showed home->sign_up click-through already fixed (ef2768be);
remaining friction was on the sign_up page itself: bare "Register" card with
no value prop, a visible Turnstile checkbox, and a redundant second password
field. Template-only overrides (no Go/JS-bundle fork):
- signup_inner.tmpl: one-line "free, no card" + GitHub-import promise under
the header; password mirrors into Confirm Password as typed (field stays
real/editable, backend retype-match validation untouched).
- captcha.tmpl + footer.tmpl: Gitea's bundled captcha.ts hardcodes
{sitekey,theme} and ignores any data-appearance attribute, so renamed the
cfturnstile div so Gitea's own initCaptcha() no-ops, and render the real
Turnstile widget ourselves via the custom/footer.tmpl script hook with
appearance:'interaction-only' — same challenge, no visible checkbox for
well-behaved visitors, Siteverify still runs server-side on submit.
Verified live: form renders clean (no checkbox) at 1440px and 390px, invalid
captcha correctly still errors ("The CAPTCHA code is incorrect"), password
mirror works, post-login landing reaches the GitHub importer in one click.
Implements the honest, one-time nudge: finds real Rithub users (excludes
caelum0x and every QA/mail.tm test account by email domain + username
pattern) with 0 repos, and emails each one exactly once via the existing
arhan@scribase.com SMTP mailbox (same lib/smtp.mjs nodemailer wrapper the
outbound engine uses) — idempotent via a persisted sent-log on box1, real
List-Unsubscribe mailto header, no campaign/suppression-list reuse (this is
a transactional nudge to an existing registered user, not cold outreach).
Dry-run and --live both verified against the real railyard-box user list:
correctly finds exactly 1 real candidate (harish, 0 repos) and correctly
excludes caelum0x + both QA accounts (rithubqatester1118, rj11186). --live
correctly held rather than sending: arhan@scribase.com's daily cap was
already exhausted (25/22) from unrelated outreach work earlier today. Ready
to run once the cap resets.
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Found during a full new-user walkthrough (signup -> import -> clone -> push
-> PR -> merge -> issue -> CI -> Ritgram connect -> link repo -> post):
- apps/gitea/custom/options/locale/locale_en-US.ini: the Actions tab's
empty-state ("There are no workflows yet") said "Gitea Actions" twice,
user-facing on every repo with no workflow yet. Now says "Rithub Actions".
- Ritgram's "Continue with Rithub" OAuth login/register buttons requested
scope=read:user only, so GET /forges/gitea/repos 500'd for every connected
user ("token does not have at least one of required scope(s),
required=[read:repository]"). Added read:repository to the authorize URL
in both login/page.tsx and register/page.tsx.
- RepoLinker's "My Repos" tab called githubService.getProjects() only, so a
Rithub-only user's own repos never appeared (My Repos (0) even with a real
repo). Now reads forgeService.list()'s connected forges and merges
forgeService.myRepos() (the existing GET /forges/:forge/repos endpoint,
already implemented backend-side but never called from the web app) with
the GitHub path.
- repositoryRouting.ts's parseRepositoryInput only recognized github.com
URLs, so pasting a real rithub.dev repo URL into the repo picker fell
through to "No repositories match your search." Now recognizes rithub.dev
(and git@rithub.dev: SSH) the same way as github.com.
- repositoryService.ts's searchRepositories() merged the cached DB with a
live GitHub search only; a brand-new, never-cached Rithub repo was
unsearchable by name. Wired in the Gitea adapter's already-built
searchRepos() as a third live source, same pattern as the GitHub one.
Verified live: Actions empty-state now says "Rithub Actions" (0 "Gitea"
text) on a fresh repo; backend tsc --noEmit and web tsc --noEmit both clean.
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Independent verification of the 8-page SEO batch (1330517a) found
github-actions-minutes-ran-out.html and github-lfs-storage-quota-exceeded.html
stated GitHub's old, retired billing model as current fact, confirmed against
live GitHub docs:
- Actions: page said flat per-plan minute quotas (2,000/3,000/50,000 min) at
a flat $0.008/min Linux rate. GitHub now bills a monthly dollar amount
($12/$18/$300 Free/Team/Enterprise Cloud) at per-OS per-minute rates
(Linux 2-core $0.006, Windows $0.010, macOS $0.062) — rewrote title meta,
FAQ JSON-LD, and body table/copy to the real model while keeping the
~2,000/3,000/50,000-minute Linux-equivalent framing for readability.
- LFS: page said 1 GB free storage/bandwidth with $5/50GB data packs.
GitHub's current docs: 10 GiB free on Free/Pro, 250 GiB on Team/Enterprise
Cloud, and data packs were removed in favor of per-GB metered billing —
rewrote FAQ JSON-LD, the free-tier table, and body copy to match.
Redeployed both files to railyard-box (scp + cp into the read-only
custom/public bind mount, no gitea restart), backed up pre-change state to
/srv/_rollback/railyard-gitea-custom-pre-seo-billing-numbers-fix-20261118T165446Z.tgz
first. Live-verified 200 on both URLs with the corrected numbers present.
The other 6 pages in the batch (API rate limit, 2FA lockout, self-hosted
runner security, GitLab comparison, self-hosted PRs, Packages storage cost)
were checked against live GitHub docs too and are accurate as shipped.
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
8 new static answer pages under apps/gitea/custom/public/assets/seo/,
each verified against reddit/HN as a real recurring search (minutes
cap, API rate limit, self-hosted runner security, GitLab vs GitHub vs
self-hosted, 2FA lockout, LFS quota, PR support on self-hosted git,
packages/registry storage cost), none duplicating the 20 already-live
pages. FAQPage JSON-LD, CTA to signup + GitHub importer, reciprocal
footer links across all 28 pages, sitemap-seo.xml updated to 28 URLs.
Deployed to railyard-box (scp into the read-only custom/public bind
mount, no gitea container restart). Live-verified 200 on all 8 URLs +
sitemap. IndexNow submitted, HTTP 200.
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Copilot training opt-out, "GitHub down" alternative, per-seat pricing
alternative, GitLab free-tier 5-user cap, Codeberg alternative, and
migrating issues/PRs (not just git history). All facts checked live
against github.com/pricing, GitLab's pricing page, Codeberg, and
GitHub's Copilot docs. Cross-linked into all 14 existing SEO pages'
footers and added to sitemap-seo.xml (20 URLs total). Deployed to
railyard-box (rollback tarball at /srv/_rollback/rithub-seo-pre-6newpages-20261118T124432Z.tgz
taken first) and IndexNow-pinged; all 6 URLs verified live 200 with
correct titles post-deploy.
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Real PH-launch-day traffic measurement (plans/railyard.md, 2026-11-18
~12:00Z pass) found the biggest drop in the whole funnel: of 135 real
distinct homepage visitors, only 4 (~3%) ever opened /user/sign_up, and
of those 0 submitted. The homepage hero's two CTAs were icon-only
circles (person-add / GitHub mark) with no visible label -- just an
aria-label + title tooltip a mobile visitor never sees.
- home.tmpl: hero CTAs now show real text ("Sign up free" /
"Import from GitHub") next to their icons, as pill buttons. Same
explicit-exception-to-icon-only pattern already shipped and
owner-approved for the nav CTAs in 765a46c6. Subline now also states
in one line what Rithub is ("Rithub is Git hosting -- ..."), not just
the value prop.
- theme-rithub.css: .rithub-icon-btn (52x52 circle) replaced with
.rithub-cta-btn (pill, icon+text); mobile media query stacks the two
CTAs full-width and tightens hero padding so both are above the fold
even at a 390x667 viewport (verified live, not just at 390x844).
Deployed to railyard-box (apps/gitea/custom only, backed up custom/ to
/srv/_rollback first), 1 gitea restart (template change requires it,
custom/public CSS does not but was included in the same cycle). Verified
live by body content: 0 "gitea" text leaks on the new markup, CSS rule
count matches, 0 console errors, home/signup/login/explore/privacy/terms
all 200, all other containers on the box untouched (uptimes unchanged).
Verified end to end as a real logged-in user (gitea admin-CLI test
account, purged after): /repo/migrate?service_type=2 -- the exact href
the hero "Import from GitHub" button uses -- renders the real Migrate
From GitHub form directly, no redirect, confirming the importer is
reachable right after signup.
Real mail.tm Turnstile signup was attempted (gstack headed-Chrome,
fresh account, deleted after) but Cloudflare Turnstile consistently
returned "verification failed" for every attempt regardless of
click/keyboard method -- a CDP-automation-detection block on
Cloudflare's side, not a Rithub defect: 0 real visitors hit this failure
today per the same funnel measurement (no POSTs to /user/sign_up at
all), and a real human signup with a real token was already
independently verified twice earlier today by other sessions. Flagging
the same tooling limitation already logged for headed-Chrome QA.
Rollback: /srv/_rollback/railyard-gitea-custom-pre-home-cta-fix-20261118T121015Z.tgz
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Full live PH-launch walkthrough of rithub.dev as a new visitor (signup flow,
repo create, HTTPS push, issue, PR, GitHub import, settings) found one
real, reproduced leak that earlier QA passes missed: the pull-request merge
instructions box says "Merge the changes and update on Gitea." Reproduced
live on a real PR page, then source-audited the rest of the custom
locale_en-US.ini for the same word-boundary "Gitea" pattern and fixed 10
more genuinely user-reachable strings (Settings > Applications/Security/
Appearance, repo Settings > Webhooks, release-delete confirm). Left
admin/install-wizard-only strings untouched (not reachable by a normal
visitor or signed-up user).
Deployed to railyard-box (/srv/railyard-gitea/custom/options/locale/
locale_en-US.ini), gitea container recreated (locale loads at startup,
unlike the read-only static-file bind mount), live-reverified 0 "Gitea"
text leaks on the PR page and all 5 touched settings/hooks pages via a
real authenticated session (api-created QA user, deleted after). Residual,
not fixed: outbound links to docs.gitea.com/github.com/go-gitea (href
targets, not visible text) on the OAuth-scopes help link and the theme
CSS source link, and git-commit-author-email history (already documented
as an owner decision in a prior entry).
Rollback: /srv/_rollback/railyard-gitea-custom-pre-locale11fix-20261118T0136Z.tgz
on railyard-box.
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
GitHub pain-point sweep for the rithub.dev PH launch: of the example
searched pain points (free private repos, GitHub Actions cost, account
flagged/suspended, self-host/data residency, one-click import) only "my
code trains someone else's AI model" had no dedicated page — the rest
were already live from prior sessions.
- New /assets/seo/code-not-used-for-ai-training.html: grounded only in
verifiable facts — no built-in Copilot-style feature, no third-party
AI pipeline reads repo contents, self-hosting removes the question
entirely. CTAs point at the real live rithub.dev signup and
GitHub-import flows (not the stale git.ereboslab.com links the older
pages use).
- robots.txt now publishes a real `Content-Signal: search=yes,
ai-input=yes, ai-train=no` directive so the page's central claim is
machine-checkable, not just prose.
- Added to sitemap-seo.xml; reciprocal internal links added from
rithub-vs-github, self-hosted-github-alternative,
private-git-hosting-free, migrate-from-github-to-self-hosted-git.
Deployed (static bind-mount, no docker build — no build was running
anywhere else on railyard-box for this change) and live-verified:
new page 200, 0 "gitea" occurrences, sitemap/robots updated live,
IndexNow key hosted at /assets/<key>.txt and submitted (202) for the
new URL since rithub.dev had no root-level IndexNow key yet.
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Fixes 4 of 7 PH-visitor QA findings (plans/railyard.md 2026-11-18), scoped
to apps/gitea only (not ritgram/toolgate):
- HIGH: /repo/migrate card and repo Signing Verification Settings both
showed literal "Gitea" text. Added a full custom en-US locale override
(Gitea's locale loader swaps the whole file per language, not a
per-key merge) with 4 lines edited, plus a migrate.tmpl override for
the one Go-hardcoded service title that locale strings can't reach.
- MEDIUM: OAuth consent screen named the founder's personal account
("created by @caelum0x") instead of the product. grant.tmpl override
drops that line.
- MEDIUM: migrate form's repo-name field could get GitHub-URL-derived
text concatenated with a quickly-typed custom name. footer.tmpl now
selects the field's value on focus so typing replaces it.
Deployed to railyard-box (bind-mount only, gitea container recreated,
ritgram/toolgate untouched) and live-verified with a throwaway Gitea
admin-CLI test user + mail.tm account, both deleted after.
HIGH finding #2 (illegible built-in image CAPTCHA) is NOT fixed here:
it's the only anti-spam gate on registration right now, so switching to
Cloudflare Turnstile needs a new Account.Turnstile:Edit-scoped API
token or an owner dashboard step — same blocker already hit for
Menivor/Bidstage/Calori-ai. Logged in plans/railyard.md.
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Owner complaint: "rithub still has no google github apple auth and create
account options" -- the header only showed an icon-only Register control
(no visible text), so a first-time visitor had no obvious way to create
an account.
- head_navbar.tmpl / theme-rithub.css: the signed-out Register/Sign In
controls now show real "Sign up"/"Sign in" text next to their icons
(filled accent pill for Sign up, plain icon+text for Sign in), as an
explicit exception to the icon-only nav chrome rule. Dropped the
mismatched localized aria-label in favor of matching English text/title
(the visible text is now the accessible name).
- Login ("Register now.") and sign-up ("Sign in now!") cross-links were
already present and styled bold -- verified live, left as-is.
- docker-compose.yml: [oauth2_client] ENABLE_AUTO_REGISTRATION=true,
ACCOUNT_LINKING=auto, so a first OAuth login creates/links the account
directly, no second form.
- New apps/gitea/scripts/add-rithub-oauth-sources.sh: runs on
railyard-box (no SSH hop), reads /etc/products/rithub-oauth.env
(root-only, owner-filled) and calls `gitea admin auth add-oauth` for
GitHub/Google/Apple (Apple's ES256 client-secret JWT minted from the
.p8 key via python3+PyJWT, already present on the box). Safe to re-run;
skips sources that already exist or have no credentials. Verified live
as a no-op with an empty env file.
- rithub-oauth.env.example documents the exact env keys; a real (empty)
copy was created at /etc/products/rithub-oauth.env on railyard-box for
the owner to fill in.
- Kept the existing Mac-side add-oauth-sources.sh working (cross-
referenced, not replaced).
Deployed to railyard-box (apps/gitea only, backed up custom/+app.ini/
compose first). Verified live: header shows Sign up/Sign in text
(desktop + mobile), real signup via a mail.tm disposable address +
captcha succeeded end to end (account created, welcomed, deleted after).
No provider enabled yet -- OAuth app creation in each provider console
is an owner-only step, documented in plans/railyard.md.
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
The [migrations] section was absent from docker-compose.yml entirely,
which Gitea treats as ALLOWED_DOMAINS="" == every http(s) host allowed
via the one-click "Import from GitHub" form (/repo/migrate) -- a real
SSRF surface (internal railyard-box services, cloud metadata, etc.)
nobody had scoped down.
Deployed + verified live, twice: first pass used literal "github.com"
only and broke real imports (Gitea's GitHub migrator also dials
api.github.com/codeload.github.com, which don't match an exact
string); fixed with glob wildcards
(github.com,*.github.com,*.githubusercontent.com). Re-verified via
the real API: github.com/octocat/Hello-World migrates successfully
(3 commits, 3 branches, real content, not just an empty repo row),
gitlab.com is now rejected 422 "You can not import from disallowed
hosts" before any outbound fetch. Test repos created during
verification were deleted after.
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Rithub has real signups/logins (i_like_gitea/_csrf session cookies) and
had zero legal pages -- plans/legal/rithub/{terms,privacy}.html are now
served at rithub.dev/terms and /privacy via a Caddy static handle added
ahead of Gitea's own reverse_proxy catch-all (box-only static files
under /srv/railyard-legal/rithub/, not part of this repo). Added both
links to the desktop 12-link SEO footer (rithub-footer-links-full) and
to the 390px short footer (rithub-footer-links-short), swapping out
"Is GitHub down?" there to hold the mobile list at 6 links -- that page
stays reachable from the desktop footer and the sitemap.
Verified live: /terms and /privacy both 200 text/html with correct
titles; footer links resolve and navigate correctly at 390px and 1280px;
/, /explore/repos, /user/login and a repo page still 200 after the
Gitea container restart needed to pick up the new custom/templates
footer.tmpl (Gitea caches templates in RUN_MODE=prod).
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
The a0b4c089 fix added body{padding-bottom} to reserve room for the new
fixed tab bar, but that's a no-op on any page taller than one screen:
body's own box is pinned to exactly 100dvh (flex-column shell,
border-box), so the padding never grows it; real content overflows past
that pinned box via a flex child's default min-height:auto, landing the
footer in the *overflow* region where body's padding has zero effect.
Confirmed live (getBoundingClientRect + forced reflow): adding the same
padding directly to .rithub-footer-links (a normal block box, not
pinned) adds a real 56px gap instead. Verified on the 3 real pages this
matters for (home, explore, a ~21000px-tall repo file list) -- footer
text now sits fully above the tab bar at the bottom scroll position,
confirmed via live screenshots at 390px. Desktop (1280px) unchanged:
tab bar and the extra padding are both display:none/0px above 640px.
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
- Rithub: desktop keeps the 12-link SEO footer unchanged; <=640px now
shows a short 5-link footer (Explore, Sign up, Move from GitHub,
Rithub vs GitHub, Is GitHub down?) instead of the full keyword list,
which read as spam stacked above the mobile tab bar. All 5 links
verified 200. SEO guides stay crawlable via sitemap-seo.xml.
- Mobile bottom tab bar was already fixed-position with safe-area
padding and body bottom-padding (shipped in a0b4c089) -- verified
still correct live at 390px, nothing to change there.
- Ritgram: wired the real uploaded OG card
(https://assets.scribase.com/cards/ritgram-og-1200x630-1117b.png,
verified 200 image/png 1200x630) into root layout.tsx's openGraph +
twitter metadata, replacing the placeholder blue-"R" dynamic
app/opengraph-image.tsx route (deleted) and the dead /og-image.png
reference.
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
products-8c edited the DEPLOYED custom dir on railyard-box directly
(plans/railyard.md, "## 2026-11-17 (8c): Rithub — all visible 'Gitea'
removed...", commit 4458096 in the products meta-repo) instead of going
through this checkout: head_navbar.tmpl help links now point at the
real move-from-github guide instead of docs.gitea.com, robots.txt/12
SEO guides reworded away from "built on Gitea", and a new
templates/swagger/ui.tmpl + public/assets/api/swagger.rithub.v1.json
rebrand /api/swagger as "Rithub API". Pulled all of it from the live
box (rsync box -> repo) before layering this session's icon/OG/nav
work on top, per their own handoff note ("sync these files from the
box back into apps/gitea/custom in the repo before the next custom-dir
deploy, or they will be reverted").
app.ini's [ui] REACTIONS/CUSTOM_EMOJIS=rithub (also part of their box
edit) is box-only config with no repo file to sync -- confirmed still
live after this session's 2 container recreates, nothing to do there.
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
The brand mark revision 3 commit (a0b4c089) updated favicon.svg/logo.svg
but never added logo.png/favicon.png -- Gitea has no on-the-fly SVG to
PNG rasterizer, it just falls through to its own bindata default mascot
bitmap for any custom/public/img/*.png path that doesn't exist on disk.
Verified live after the first deploy: /assets/img/logo.png (the PWA
manifest's only PNG icon, claimed 512x512) and the alternate-icon
favicon.png were both still the stock Gitea mascot despite the SVGs
being correct. Added real 512x512 logo.png and 32x32 favicon.png
rendered from the same vector (gtm/brand-icons-2026-11-17/rithub/).
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Wires in the approved rithub brand assets from
gtm/brand-icons-2026-11-17/rithub/: the two-offset-block mark (replacing
the revision-2 three-node branch graph that blurred into a blob at 16px
and echoed Yammer's icon formula) as favicon.svg/logo.svg, plus
apple-touch-icon-180/icon-192/icon-512(-maskable) static assets and new
<link> tags for them (head.tmpl override, none existed upstream).
Repo tabs (Code/Issues/Pull requests/Actions/Releases/Wiki/Settings) now
use self-hosted Material Symbols Rounded SVGs -- outline inactive
(#6E6E73), filled+accent active (#0071E3) -- instead of Gitea's stock
octicons; Issues uses "error" (circle-exclamation) rather than
"bug_report", which read identically to the Settings gear at 18-24px.
New icon-only mobile bottom tab bar (<=640px: Home/Explore/
Notifications/Profile), same outline/filled pattern, injected via the
custom/footer.tmpl hook with client-side active-state detection.
Default og:image/twitter:image swapped to the new mark's OG card
(assets.scribase.com/cards/rithub-og-1200x630-1117b.png, uploaded to
R2 this pass) with og:image:alt added; the move-from-github SEO page
gets its own per-page OG card (previously had none).
Verified locally: spun up gitea/gitea:1.23 with these custom/ files
bind-mounted (GITEA_CUSTOM=/data/gitea/custom, real sqlite DB, not the
install wizard) -- home/explore/login/signup all 200, 0 template
panics in server logs, new favicon/apple-touch-icon/OG/tabbar markup
all present in rendered HTML. repo/header.tmpl {{ }} action count
matches upstream exactly minus the 7 swapped icon calls, confirming
the substitution didn't disturb template structure.
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Every real Rithub app page (repos/issues/explore/etc) led its footer with
"built on Gitea (MIT)" and no "Rithub" prefix at all, unlike the 12 static
SEO landing pages which already correctly lead with "Rithub — code hosting,
built on open-source Gitea (MIT)". Flagged in plans/pm/railyard.md backlog
#5 as explicitly rejected from the PH launch gallery for undermining the
"Rithub, not Gitea" positioning. Matched the SEO pages' already-correct
phrasing.
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Rithub-only (apps/gitea) slice of the traffic-7e-rithub audit fixes.
Ritgram-side items stay blocked — apps/ritgram is claimed by another
session this round.
- Fix all 12 SEO landing pages' canonical tags to self-reference
rithub.dev instead of the redirecting legacy git.ereboslab.com
domain (audit found 10 stale, not the 9 originally listed).
- Add apps/gitea/custom/public/robots.txt with Sitemap: lines for
both the Gitea-generated and hand-built SEO sitemaps; previously
only served Gitea's content-signal boilerplate with no Sitemap/
User-agent rules at all.
- Add a before-send filter to the Insights beacon (header.tmpl +
all 12 static SEO pages) that drops page-view events from
navigator.webdriver/headless UAs or a documented localStorage
opt-out, so our own QA/crawl passes stop inflating this site's
numbers. Uses the tracker's existing data-before-send hook, no
change to the shared insights/insights-edge packages used by the
rest of the portfolio.
- New is-github-down.html: live GitHub status fetched client-side
from githubstatus.com's public API (CORS-open), plus a real
git --mirror migration path for when it's down.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
rithub.dev was serving Gitea's stock "Git with a cup of tea" boilerplate in
<meta name="description">, og:description and twitter:description on every
non-repo page -- exactly what PH/Google/X/LinkedIn link previews show on
launch day. Fixed via the official app.ini [ui.meta] AUTHOR/DESCRIPTION/
KEYWORDS keys (set.UI.Meta in modules/setting/ui.go), wired through
docker-compose.yml's GITEA__ui_0x2E_meta__* env vars (dotted section names
need hex-escaping: "." -> "_0x2E_", confirmed against Gitea's own
config_env_test.go). og:title/og:image/og:url were already correct from an
earlier pass. Also fixed 10 sitemap-seo.xml entries still pointing at the
retired git.ereboslab.com domain instead of rithub.dev.
Deployed to railyard-box:/srv/railyard-gitea (recreate gitea container only,
other 32 containers on the box untouched). Live-verified: homepage and a
real repo page (caelum0x/settlekit) both show zero "cup of tea" strings;
sitemap-seo.xml has zero stale-domain entries.
Two new static assets/seo pages (ported from gtm/rithub-compare-2026-11-17/),
linked from the footer alongside the existing 10, added to sitemap-seo.xml.
Deployed live to railyard-box, IndexNow pinged (202). Skipped
ritgram-vs-gitgram.html per plan (Gitgram is Ritgram's own pre-rename name,
not a real competitor).
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Owner: "UIs are AI slop, too colorful, use Apple design" / "no emojis no
writings on components apple design clean simple" (plans/gtm/APPLE-DESIGN-RULES-2026-11-17.md).
- home.tmpl: full replacement of the stock Gitea homepage (dropped the
Go/Docker/Raspberry Pi marketing blurbs and "(by Railyard)" subtitle) with
an apple.com-style hero: one headline, one subline, two icon-only buttons
(create account, import from GitHub via service_type=2) and a real repo
page screenshot.
- theme-rithub.css: neutral surfaces (#fff/#f5f5f7, #1d1d1f/#6e6e73 text)
plus a single accent #0071e3 replacing Gitea's default blue/green, system
font stack, no gradients. Functional colors (issue/PR labels, diffs,
alerts) are untouched on purpose.
- head_navbar.tmpl + explore/navbar.tmpl: icon-only top nav and explore
tabs (Issues/PRs/Milestones/Explore/Help/Register/Sign In/Repositories/
Users/Organizations/Code) — each link keeps its text as an aria-label
plus a native title tooltip instead of visible copy.
- docker-compose.yml: APP_NAME "Rithub" (was "Rithub (by Railyard)"),
SHOW_FOOTER_POWERED_BY/VERSION/TEMPLATE_LOAD_TIME off (drops the stock
"Powered by Gitea / Page: Xms" line); custom footer.tmpl trimmed to the
MIT/Gitea credit + SEO links, no inline styles.
- railyard-brand.css superseded (left in place, no longer linked).
Deployed to railyard-box (/srv/railyard-gitea), backed up .env +
docker-compose.yml + custom/ to backups/pre-apple-design-2026-11-17/ first,
verified live on rithub.dev: /, /explore/repos, /user/login, /user/sign_up
and a real repo page all 200, no gradient/emoji/green left in rendered
HTML, screenshots at 1440/390 in plans/railyard.md.
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Homepage og:image pointed at the 512x512 app icon (/assets/img/logo.png),
so link previews on Slack/X/LinkedIn/iMessage showed a tiny cropped icon
instead of a real preview card -- no twitter:card tag existed at all.
Overrides only the upstream default (non-repo, non-profile) branch of
go-gitea/gitea v1.23.8's templates/base/head_opengraph.tmpl via Gitea's
documented custom/templates override mechanism -- repo/profile/issue/diff
branches are left byte-identical to upstream. New card is a code-made
(PIL, no AI image model) 1200x630 PNG hosted on R2:
assets.scribase.com/cards/rithub-og-1200x630-1117.png. Deployed live on
railyard-box via a container restart (template-only change, no image
build) and verified: og:image/og:image:width/height, twitter:card
summary_large_image, twitter:image all present and correct on the live
homepage and /explore/repos; the new image returns 200 at exactly
1200x630; repo/profile pages untouched by construction.
Rithub (Gitea) had GITEA_DISABLE_REGISTRATION=true left over on the box, a
leftover from before the SSO-OIDC path was closed out. It silently blocked
every "Move from GitHub" signup regardless of what the marketing pages said.
Enabled registration with the built-in image captcha (no SMTP available for
email-confirm) and documented the real anti-spam tradeoff in a comment.
Also: new Rithub-vs-GitLab and Rithub-vs-Codeberg comparison pages, a fix
for sitemap.ts silently excluding every /docs/* route, an import-from-github
rewrite that leads with the native one-form migration tool instead of the
git-CLI mirror, and a corrected homepage line ("one click" -> "one form").
Verified end to end: real account registered, real public GitHub repo
migrated via the native tool, both cleaned up after. Live-verified post
deploy via curl + a real headless-Chrome hydration check.
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Registers git.ereboslab.com as a first-party Railyard Insights site
(self-serve API, site key s_FLXojc0pSLRIIJ6ndYp0p-li). Ships the
cookieless beacon tag in Gitea's custom/templates/custom/header.tmpl
(covers every app page) and in all 10 static SEO pages under
custom/public/assets/seo/, which are served directly as static assets
and bypass the Gitea template system. Deployed to railyard-box (surgical
file copy, not the full --delete rsync, to avoid touching the box's own
.env secrets), gitea container restarted to pick up the template change.
Verified live via curl across the app and the SEO pages, plus a real
recorded visit. Ritgram untouched (owned by a different in-flight pass).
10 Rithub SEO pages live total now. Each verified against the real
git.ereboslab.com instance (14 real repos, Gitea 1.23.8, registration
disabled/invite-only, CI runner proven queued->running->success in prior
entries). All 10 pages cross-link each other in their footers; sitewide
footer.tmpl extended to list all 10; sitemap-seo.xml extended to 10 URLs.
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Deployed to git.ereboslab.com (rsync + gitea restart) and added an IndexNow
key route to ritgram.ereboslab.com via Caddy. Submitted all 5 Rithub/Ritgram
SEO URLs to api.indexnow.org (202 accepted both calls). All URLs verified
200 live with a Chrome UA after deploy.
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Self-hosted GitHub alternative and GitHub-account-flagged migration pages,
each with direct answer, migration steps, and FAQPage JSON-LD, placed under
custom/public/assets/seo/ (the only path Gitea serves static files from
without risking collision with its own :username routes). Linked from the
brand footer and cross-linked to each other.
Not deployed: git.ereboslab.com is held by the standing *.ereboslab.com
consumer-site deploy freeze and Rithub has no domain of its own yet. Real
sitemap.xml/robots.txt are Gitea-owned dynamic routes and cannot be
overridden from custom/public — documented as a separate known gap.
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
The Rithub (Gitea) billing bridge verified every forge webhook against one
global RITHUB_WEBHOOK_SECRET, the same value every org's webhook is set up
with per the deploy README. Any org admin who configured their own org's
webhook therefore knew the shared secret and could forge a signed payload
claiming to be a DIFFERENT org (any repository.owner.username), injecting
fraudulent billable usage (private repo created, seat added, CI push) that
Rago aggregates into a real invoice -- which this same bridge then settles
via a real Mint transfer out of the victim org's real account. Same bug
class as the already-fixed Abacus/Ledgerline/Vend cross-tenant fund-custody
bugs: a caller-supplied credential trusted without verifying it's bound to
the identity it claims.
Fix: resolveWebhookSecret() looks up the specific org's own secret from the
new RITHUB_WEBHOOK_SECRET_MAP (mirrors the existing MINT_ORG_ACCT_MAP
pattern); an org absent from the map fails closed instead of falling back to
a shared secret. RITHUB_WEBHOOK_SECRET alone (no map) is kept as the explicit
single-tenant/dev fallback it always was -- no behavior change until an
operator configures the map. extractOrg() factored out so secret resolution
and Rago event mapping read org identity identically.
22/22 tests pass (6 new, including an explicit cross-tenant forgery repro).
Both the OCI VCN security-list rule and the UFW rule were applied via
the oci CLI and ssh (no console click needed), and the real remaining
gap (SSH clone URLs built from the Cloudflare-proxied hostname timing
out) was fixed with a DNS-only git-ssh.ereboslab.com record. Updates
the stale "pending OWNER action" framing to match what's actually live.
GITEA__server__SSH_DOMAIN was defaulting to the same Cloudflare-proxied
(orange-cloud) hostname as DOMAIN/ROOT_URL. Cloudflare's proxy only
forwards HTTP(S) (80/443), so every advertised ssh://git@git.ereboslab.com:2222/...
clone URL timed out for end users even with the port open on the box and
in the OCI VCN security list.
Split SSH_DOMAIN into its own GITEA_SSH_DOMAIN env var pointed at a new
DNS-only A record (git-ssh.ereboslab.com, same IP, created via the
Cloudflare API). Verified live on railyard-box: real `git push` over
ssh://git@git-ssh.ereboslab.com:2222/... lands; the repo API now
advertises that working URL instead of the dead proxied one.
docker-compose.yml's TODO(railyard-sso) block, .env.example and the
README's SSO section now document the real registration command and
the two console env vars it needs, instead of a placeholder for a
provider that didn't exist yet.
Gap analysis against GitLab CE and GitHub Enterprise Server found Rithub
(apps/gitea, the deployed Gitea-based code-hosting product) already solid
on issues/PRs/review/protected branches/webhooks/packages/LFS/wiki — the
one genuinely missing piece was CI execution: Actions was enabled
(GITEA__actions__ENABLED=true) but no runner was ever registered, so a
pushed .gitea/workflows/*.yml job would queue forever.
Wires up act_runner (pinned gitea/act_runner:0.6.1) in docker-compose.yml,
registered against the internal compose network (http://gitea:3000) with
DooD via the mounted docker socket. Gated behind `profiles: [actions]` so
a bare `docker compose up -d` on a fresh clone/box never requires
GITEA_RUNNER_TOKEN to be set (an earlier draft used a required ${VAR:?}
substitution that broke interpolation for the whole compose file before
any service could start - caught by code-reviewer, fixed by defaulting to
empty + the profile gate).
Deployed to railyard-box and verified live: registered the runner, pushed
a real workflow to a throwaway repo, and polled the Actions API through
queued -> running -> success. Proof repo deleted after. Also corrects a
stale root-README row still describing apps/rithub (the earlier from-
scratch Rust forge, kept not deleted) as the deployed product instead of
apps/gitea.
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Rithub (apps/gitea) was proven locally on 2026-10-15 but never shipped, so
the Nav's "Code" link 404'd and an earlier fix (b16fd286) papered over it by
pointing at the public GitHub mirror instead. Deployed it for real:
- docker compose stack live on railyard-box (/srv/railyard-gitea): web on
host port 3350, Postgres on 5434 (3300/3400/3100/5433 were already taken
by rago/mint/relay/the shared Postgres), admin account created.
- Fronted by Caddy (infra-box/caddy/sites/gitea.caddy, CADDY_SITES += gitea)
with a Let's Encrypt cert, not the Cloudflare Tunnel the original RUNBOOK
draft proposed -- every other box service (rago/relay/mint/errors) already
uses plain Caddy + a proxied Cloudflare DNS A record, so this follows that
proven pattern instead of a new one.
- DNS: git.ereboslab.com -> 130.61.113.116 (not git.railyard.ereboslab.com --
no other service here uses a "railyard." prefix; corrected throughout
apps/gitea's docs and defaults).
- Verified live: https://git.ereboslab.com/ 200s, title "Rithub (by
Railyard)", logo/branding assets 200.
Nav.tsx/config.ts default back to the real URL; RAILYARD_GIT_URL still
overrides it. SSH-over-2222 still needs the one OCI security list rule
(owner step, documented in deploy/RUNBOOK.md) -- HTTPS clone/push and the
web UI work today without it.
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Replaces the from-scratch "Rithub + Rit" build (Dec 21/28 roadmap milestone)
with the official gitea/gitea image (MIT) + Postgres, per
plans/OSS-ADOPTION-2026-10-15.md's Railyard row 1. Closes the named gap
(packages, LFS, wikis, Actions CI) in one compose file instead of a
multi-week Rust build.
- apps/gitea/docker-compose.yml: gitea/gitea:1.23 + postgres:17, app.ini
entirely via GITEA__<SECTION>__<KEY> env (no app.ini committed). Documents
three gotchas found proving this locally: the Docker image's CustomPath is
/data/gitea itself (not /data/gitea/custom); root-level keys like APP_NAME
need the GITEA____KEY (empty section) form; START_SSH_SERVER=true fights
the base image's passthrough OpenSSH for :22 and crash-loops.
- apps/gitea/custom/: Rithub branding overlay (logo, favicon, brand CSS,
header/footer template injection with MIT attribution to Gitea) — pure
overlay, no upstream template edited.
- apps/gitea/integrations/railyard/: Rago/Mint billing bridge adapted from
apps/rithub-forge's (uncommitted, untouched) Forgejo experiment — it
already accepted Gitea's X-Gitea-* webhook headers as a fallback, now
promoted to primary. 16 new unit tests, all passing.
- apps/gitea/deploy/RUNBOOK.md: first production deploy on railyard-box
(Oracle A1 ARM64) — Cloudflare Tunnel for HTTPS, SSH on :2222 via the VCN
security list, gitea dump/restore backups, rollback. Not executed.
- apps/gitea/README.md: full inventory of what existed (apps/rit, apps/rithub
— Rust, kept) vs. what Gitea covers vs. what's deployed, plus the local
proof log (HTTPS push, SSH push, LFS, npm package registry, wiki — all
verified working against the official arm64 image on this machine).
- apps/rit/README.md, apps/rithub/README.md: pointer notes to this decision.
Neither directory is deleted or modified beyond the note (owner rule).
Local proof only — compose stack torn down after screenshots, nothing
deployed, nothing pushed to origin.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>