Owner bought rithub.dev 2026-11-17; Rithub/Ritgram/Rit/gitgram-ai are all part of it now. Replaces every ritgram.ereboslab.com / git.ereboslab.com reference across Ritgram's pages/docs/sitemap/robots/og-tags with ritgram.rithub.dev / rithub.dev, and adds NEXT_PUBLIC_SITE_URL fallback accordingly. New honest /docs/rit page explains Rit (Rust git library, kept in this monorepo) is not the production forge engine (that's go-gitea/gitea), added to the sitemap. Old hosts (git.ereboslab.com, ritgram.ereboslab.com) now 301 to the new domain at the Caddy layer (box-side change, not in this commit) except /api/*, git smart-HTTP, and the Actions runner API, so existing clones/pushes/CI/mobile keep working unchanged. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
114 lines
4.6 KiB
XML
114 lines
4.6 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 "GitHub Username" 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 "Connect GitHub" 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 self-hosted GitHub, 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'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 →
|
|
"Rithub" 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'll help you move everything over.
|
|
</p>
|
|
</section>
|
|
</div>
|
|
</div>
|
|
)
|
|
}
|