caelum0x 7cbb4a42f0 fix(ritgram): drop remaining self-hosted/old-base-name copy and unbacked pricing claims
Rithub is now positioned as a hosted product, not a self-hosted one: removed the
last literal "Gitea"/"self-hosted" mentions from the docs comparison pages
(rit, rithub-vs-gitlab, rithub-vs-codeberg, rithub-vs-github, import-from-github),
the landing-page stat tile, and the OAuth mark's JSDoc comment. Also dropped an
unsubstantiated "no per-seat billing" claim on rithub-vs-github (no live pricing
page exists to back it).

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-11-26 14:05:23 +03:00

114 lines
4.7 KiB
XML

import Link from 'next/link'
export const metadata = {
title: 'Import your repos from GitHub — Ritgram',
description: 'How to bring your GitHub projects onto Ritgram and Rithub.',
}
export default function ImportFromGitHubPage() {
return (
<div className="max-w-3xl mx-auto py-16 px-4">
<h1 className="text-4xl font-bold mb-4">Import your repos from GitHub</h1>
<p className="text-lg text-muted mb-10">
Two ways to bring your work onto Ritgram, depending on what you want:
just show it off here, or host the code itself on Rithub.
</p>
<div className="space-y-10">
<section>
<h2 className="text-2xl font-bold mb-3">1. Show your GitHub projects on your profile</h2>
<ol className="space-y-2 text-muted list-decimal list-inside">
<li>
Create a free account at{' '}
<Link href="/register" className="text-primary underline">
ritgram.rithub.dev/register
</Link>
.
</li>
<li>Open Settings → Account.</li>
<li>
Enter your GitHub username in the &quot;GitHub Username&quot; field and save. Your
public repos, stars, and activity start showing up on your profile right away — no
token needed.
</li>
</ol>
<p className="text-sm text-muted mt-3">
The one-click &quot;Connect GitHub&quot; OAuth button is in the product and will link
your account automatically once GitHub app approval finishes on our side — this
username method works today, with no waiting.
</p>
</section>
<section>
<h2 className="text-2xl font-bold mb-3">2. Move the code itself onto Rithub</h2>
<p className="text-muted mb-3">
Rithub is our own code host (think GitHub, but hosted by us, at{' '}
<a
href="https://rithub.dev"
className="text-primary underline"
target="_blank"
rel="noreferrer"
>
rithub.dev
</a>
). The fastest way, no terminal needed:
</p>
<ol className="space-y-2 text-muted list-decimal list-inside mb-4">
<li>
Create a free account at{' '}
<a
href="https://rithub.dev/user/sign_up"
className="text-primary underline"
target="_blank"
rel="noreferrer"
>
rithub.dev/user/sign_up
</a>{' '}
(one captcha, no waiting on approval).
</li>
<li>
Click <strong>+ → New Migration</strong>, then pick <strong>GitHub</strong> (or{' '}
<strong>Git</strong> for any other host, including GitLab and Codeberg).
</li>
<li>
Paste the repo&apos;s clone URL, give it a name, click{' '}
<strong>Migrate Repository</strong>.
</li>
</ol>
<p className="text-muted mb-3">
We tested this end to end against a real public repo: account creation, picking
GitHub as the source, pasting a URL, one click to migrate — real commit history came
over intact, well under a minute for a small repo. It replaces what used to be a
terminal round trip plus a separate personal-access-token setup with one form.
</p>
<p className="text-sm text-muted mb-3">
Prefer the command line, or need a repeatable mirror you can re-sync later?
</p>
<pre className="bg-[var(--background-secondary)] border border-[var(--border)] rounded-lg p-4 text-sm overflow-x-auto">
{`git clone --mirror https://github.com/you/your-repo.git
cd your-repo.git
git push --mirror https://rithub.dev/you/your-repo.git`}
</pre>
<p className="text-muted mt-3">
Either way, once it's on Rithub, connect it in Ritgram Settings → Account →
&quot;Rithub&quot; with a personal access token from your Rithub account (Settings
→ Applications there), and it syncs into your Ritgram profile the same way a GitHub
repo does.
</p>
</section>
<section>
<h2 className="text-2xl font-bold mb-3">Questions</h2>
<p className="text-muted">
Email{' '}
<a href="mailto:hello@ritgram.rithub.dev" className="text-primary underline">
hello@ritgram.rithub.dev
</a>{' '}
and we&apos;ll help you move everything over.
</p>
</section>
</div>
</div>
)
}