caelum0x 6801c08af9
Some checks failed
ci / cargo test (abacus) (push) Has been cancelled
ci / cargo test (agent-runtime) (push) Has been cancelled
ci / cargo test (context-passport) (push) Has been cancelled
ci / cargo test (game-economy) (push) Has been cancelled
ci / cargo test (ledgerline) (push) Has been cancelled
ci / cargo test (mint) (push) Has been cancelled
ci / cargo test (rago) (push) Has been cancelled
ci / cargo test (relay) (push) Has been cancelled
ci / node suites (push) Has been cancelled
ci / cargo test (toolgate) (push) Has been cancelled
ci / cargo test (turnstile) (push) Has been cancelled
ci / cargo test (vend) (push) Has been cancelled
feat(RIT-OPS,RIT-BRD): rename gitea -> rit everywhere we control, deployed + live-verified
apps/gitea -> apps/rithub-server; compose services/containers renamed
(rithub-server-app/postgres/act-runner) with explicit project name and
volume names pinned to the exact existing Docker volumes (no data loss);
our own GITEA_* compose/env var names -> RIT_*; new rit-admin CLI wrapper
on railyard-box; giteaSession.mjs/giteaOAuth.mjs/giteaInfo.mjs ->
ritSession/ritOAuth/ritInfo across 6 apps; GiteaForgeAdapter -> RitForgeAdapter
+ giteaSyncService/importGiteaRepos/syncGiteaRepos -> rit* in ritgram
(tsc clean); apps/console/lib/gitea.ts -> lib/ritProvision.ts; Go
internal/giteaclient -> internal/ritclient in rithub-async-import (go
build/test clean); new /auth/rit + /forges/rit/connect routes with
/gitea back-compat aliases; locale/swagger/footer/captcha template text
scrubbed of remaining "Gitea" strings.

Deployed to railyard-box: old containers stopped/removed, /srv/railyard-gitea
renamed to /srv/rithub-server with a symlink kept, docker compose up -d from
the new path, act_runner network-alias fix for its persisted instance URL.
Live-verified: docker compose config diff showed zero unintended value
changes, DB row counts unchanged (19 users, 635 repos), full route
regression 200/expected, 0 "gitea" in headers/bodies on every checked page,
real git clone+push over HTTPS and SSH with a disposable account (deleted
after). Deferred on purpose (documented in plans/railyard.md): the forge
discriminator / DB column names / Postgres role+volume names (data
migrations, not a naming change) and the upstream GITEA__ env-to-ini keys
and X-Gitea-* wire headers (hardcoded in the vendored engine binary).

See plans/railyard.md RIT-OPS/RIT-BRD entry for the full old->new map and
live evidence.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-12-01 16:34:39 +03:00

103 lines
6.2 KiB
Cheetah

{{/*
Rithub (Railyard) homepage — full replacement of upstream
templates/home.tmpl (go-gitea/gitea v1.23.8), which shipped the stock
"{{AppName}}" / "startpage.install_desc" (Go/Docker/Raspberry Pi) marketing
copy. Rewritten 2026-11-17 per the owner's Apple-design pass
(plans/gtm/APPLE-DESIGN-RULES-2026-11-17.md): one headline, one subline,
a real product screenshot, no self-host claims, no invented numbers.
base/head and base/footer hooks are unchanged so the page keeps the
normal <head>/nav/footer chrome.
2026-11-18 (PH-launch funnel fix): real traffic measurement
(plans/railyard.md, "biggest drop is home→/user/sign_up click-through")
showed only ~3% of real homepage visitors ever opened the sign-up page.
The two hero actions were icon-only circles (person-add / GitHub mark)
with no visible label, just an aria-label + title tooltip a mobile
visitor never sees. Same root cause and same fix already shipped and
owner-approved for the nav CTAs in commit 765a46c6 ("visible Sign
up/Sign in header CTAs ... as an explicit exception to the icon-only
nav chrome rule") — applying the identical explicit-exception pattern
here, since the hero buttons are the actual primary conversion surface,
not just the nav. Subline now also states in one line what Rithub is
(a git host), not just the value prop.
2026-11-19 (UI round 2): added a single tertiary text link under the
two hero CTAs to /mcp-docs ("Works with your coding agent") — not a
third pill button, see the .rithub-hero-agent-link comment in
theme-rithub.css for why. Points at the same live /mcp-docs page the
rank-1 wedge (Rithub MCP endpoint, plans/railyard.md 2026-11-18) already
shipped and the footer already links to.
2026-11-19 (funnel fix #2): real Caddy-log measurement (excluding bots/
scanners) found the home→sign_up CTA labels from the prior fix didn't
move the needle: ~80 unique real visitors hit "/" in a 4h window but
only ~2 ever reached /user/sign_up and only 1 ever hit /user/oauth2/*
— matches the owner's "no forms, one click" rule being violated: the
primary button sent people to a 4-field (username/email/password x2)
+ Cloudflare Turnstile manual form, with the already-working GitHub/
Google OAuth (`gitea admin auth list` confirms both live) rendered
only as a secondary link at the bottom of that form. Swapped so the
true one-click path — GitHub OAuth sign-in, which also auto-imports
public repos via the existing oauth-auto-import cron — is the primary
hero button; manual email signup is now the secondary fallback for
visitors without GitHub.
2026-11-19 (PH social proof): Rithub launched on Product Hunt 2026-11-18
(producthunt.com/posts/rithub, launch id 1320215, live, 35 followers).
Added the official PH embed badge under the hero, small and calm,
linking to the real post with a utm tag. No invented vote counts.
2026-11-25: fixed the badge href to match PH's own official embed
markup exactly -- was linking to /posts/rithub with a typo'd
utm_souce param instead of /products/rithub?embed=true with
utm_campaign=badge-rithub. Image src/theme were already correct.
2026-11-30 (RIT-BRD): the global footer (templates/custom/footer.tmpl)
dropped its 10-link SEO/comparison run-on bar for a quiet 4-link
essentials row (owner: "wtf is this footbar"). Those moved links
(Scribase, Free tools, Move from GitHub, Rithub vs GitHub, For
startups) now live in the .rithub-home-more row below, homepage only,
so they're not deleted -- just not repeated on every page anymore.
2026-11-30 (RIT-SEO): added "GitHub status" linking to the new
/github-status live outage/incident-log page (polls githubstatus.com
client-side, durable link-bait for outage threads) to this same row.
*/}}
{{/* 2026-11-27: GitHub sign-in removed from the hero. The GitHub OAuth app died with the
flagged owner account (GitHub token endpoint 404s for its real credentials, 0 callbacks
logged today), so the old primary button dead-ended every new visitor. */}}
{{template "base/head" .}}
<div role="main" aria-label="{{ctx.Locale.Tr "home"}}" class="page-content rithub-home">
<section class="rithub-hero">
<h1 class="rithub-hero-title">The GitHub alternative for when GitHub locks you out.</h1>
<p class="rithub-hero-sub">Flagged account, outage, or a policy change you didn't see coming — import every repo in 5 minutes and keep shipping.</p>
<div class="rithub-hero-actions">
<a class="rithub-cta-btn rithub-cta-btn-primary" href="{{AppSubUrl}}/user/sign_up" title="Create a free Rithub account">
{{svg "octicon-person-add" 18}}<span>Start free</span>
</a>
<a class="rithub-cta-btn" href="{{AppSubUrl}}/user/oauth2/Google" title="Sign in with Google, one click">
{{svg "octicon-sign-in" 18}}<span>Continue with Google</span>
</a>
</div>
<a class="rithub-hero-agent-link" href="/mcp-docs">
{{svg "octicon-rocket" 14}}<span>Works with your coding agent</span>
</a>
<a class="rithub-ph-badge" href="https://www.producthunt.com/products/rithub?embed=true&utm_source=badge-featured&utm_medium=badge&utm_campaign=badge-rithub" target="_blank" rel="noopener noreferrer">
<img src="https://api.producthunt.com/widgets/embed-image/v1/featured.svg?post_id=1320215&theme=neutral" alt="Rithub — Own code host, move from GitHub in 5 minutes | Product Hunt" width="180" height="39" loading="lazy">
</a>
</section>
<section class="rithub-shot-frame">
<img class="rithub-shot rithub-shot-light" src="{{AssetUrlPrefix}}/img/rithub-shot-light.jpg?v=3" alt="A Rithub repository page" width="1280" height="800">
<img class="rithub-shot rithub-shot-dark" src="{{AssetUrlPrefix}}/img/rithub-shot-dark.jpg?v=3" alt="A Rithub repository page in dark mode" width="1280" height="800" loading="lazy">
</section>
<nav class="rithub-home-more" aria-label="More">
<a href="https://scribase.com?ref=rithub">Scribase</a>
<a href="/caelum0x/git-year-wrapped" title="Free CLI: git-year-wrapped, github-backup-cli">Free tools</a>
<a href="/assets/seo/move-from-github-5-minutes.html">Move from GitHub</a>
<a href="/assets/seo/rithub-vs-github.html">Rithub vs GitHub</a>
<a href="/github-status">GitHub status</a>
<a href="/assets/seo/github-alternative-for-small-teams-and-startups.html">For startups</a>
</nav>
</div>
{{template "base/footer" .}}