Owner rule: say Rithub, never Gitea. /docs/rit, /docs/rithub-vs-gitlab and /docs/rithub-vs-codeberg named the upstream engine "Gitea" 6 times total. Kept exactly one plain upstream-license attribution line (Gitea is MIT-licensed, on /docs/rit, the dedicated "what runs rithub.dev" page) and rewrote every other mention to say Rithub instead (including "Gitea Actions" -> "Rithub Actions"). Scoped to these 3 files only -- apps/ritgram/web has other agents' WIP (feed, onboarding, ContentComposer, middleware, api.ts) left untouched.
114 lines
5.2 KiB
XML
114 lines
5.2 KiB
XML
import Link from 'next/link'
|
|
|
|
export const metadata = {
|
|
title: 'Rithub vs Codeberg — Ritgram',
|
|
description:
|
|
'A plain, fact-checked comparison: Rithub (self-hosted code host) + Ritgram (the social layer on top) versus Codeberg.',
|
|
}
|
|
|
|
export default function RithubVsCodebergPage() {
|
|
return (
|
|
<div className="max-w-3xl mx-auto py-16 px-4">
|
|
<h1 className="text-4xl font-bold mb-4">Rithub + Ritgram vs Codeberg</h1>
|
|
<p className="text-lg text-muted mb-10">
|
|
Codeberg is a real, good-faith non-profit alternative to GitHub, run by volunteers on
|
|
donations, on Forgejo (a sibling project to the engine Rithub runs on). It is not a
|
|
single company that can hide your account on a whim. The honest difference is what it
|
|
takes to use it today, and what you get when you run your own instead.
|
|
</p>
|
|
|
|
<div className="space-y-10">
|
|
<section>
|
|
<h2 className="text-2xl font-bold mb-3">1. Getting an account, right now</h2>
|
|
<p className="text-muted">
|
|
We checked <code>codeberg.org/user/sign_up</code> today: it sits behind an
|
|
"Anubis" bot-check challenge page ("Making sure you're not a
|
|
bot!") before the signup form even loads — a real, visible sign of how much spam
|
|
a shared public instance has to fight off. Rithub's signup is a plain form with
|
|
one image captcha, no challenge page, because it is one instance for one team, not a
|
|
target for every bot on the internet.
|
|
</p>
|
|
</section>
|
|
|
|
<section>
|
|
<h2 className="text-2xl font-bold mb-3">2. Shared instance vs. your own</h2>
|
|
<p className="text-muted">
|
|
Codeberg is one shared instance for everyone — great for not running your own server,
|
|
but you share its storage limits, its moderation queue, and its capacity with every
|
|
other project on it. Rithub at{' '}
|
|
<a
|
|
href="https://rithub.dev"
|
|
className="text-primary underline"
|
|
target="_blank"
|
|
rel="noreferrer"
|
|
>
|
|
rithub.dev
|
|
</a>{' '}
|
|
is our own server. No other project's load, no other project's abuse
|
|
reports, affect it.
|
|
</p>
|
|
</section>
|
|
|
|
<section>
|
|
<h2 className="text-2xl font-bold mb-3">3. Moving your code over</h2>
|
|
<p className="text-muted mb-3">
|
|
Since Codeberg (Forgejo) and Rithub both speak plain git over HTTPS, the same
|
|
built-in migration tool works: log in to Rithub, click{' '}
|
|
<strong>+ → New Migration → Git</strong>, paste your Codeberg repo's clone URL,
|
|
click <strong>Migrate Repository</strong>. We tested this exact tool end to end
|
|
against a real public repo (different source, same tool) — account creation, source
|
|
selection, URL paste, one click — done in well under a minute for a small repo, full
|
|
commit history intact. Command-line fallback:
|
|
</p>
|
|
<pre className="bg-[var(--background-secondary)] border border-[var(--border)] rounded-lg p-4 text-sm overflow-x-auto">
|
|
{`git clone --mirror https://codeberg.org/you/your-repo.git
|
|
cd your-repo.git
|
|
git push --mirror https://rithub.dev/you/your-repo.git`}
|
|
</pre>
|
|
</section>
|
|
|
|
<section>
|
|
<h2 className="text-2xl font-bold mb-3">4. A social feed for code</h2>
|
|
<p className="text-muted">
|
|
Codeberg has no cross-project social feed. Ritgram is one feed and portfolio on top
|
|
of Rithub repos: profile, followers, activity, a page you can actually show off.
|
|
Early and still growing, but live and database-backed today.
|
|
</p>
|
|
</section>
|
|
|
|
<section>
|
|
<h2 className="text-2xl font-bold mb-3">What we are not claiming</h2>
|
|
<p className="text-muted">
|
|
Codeberg is a genuinely good non-profit project with a real community and real
|
|
moderation — we are not saying it is bad, only that it is shared infrastructure with
|
|
shared limits. Rithub does not have Codeberg's community, its mirrors, or its
|
|
years of uptime track record. What Rithub gives you instead: a server only your team
|
|
controls, with no queue to wait in.
|
|
</p>
|
|
</section>
|
|
|
|
<section>
|
|
<h2 className="text-2xl font-bold mb-3">Try it</h2>
|
|
<p className="text-muted mb-4">
|
|
Create a free Rithub account and migrate a repo straight from Codeberg in one form —
|
|
no terminal required.
|
|
</p>
|
|
<Link
|
|
href="/register"
|
|
className="inline-block px-6 py-3 rounded-lg bg-[var(--primary)] text-white font-semibold"
|
|
>
|
|
Get started free
|
|
</Link>
|
|
<p className="text-sm text-muted mt-4">
|
|
Full import walkthrough:{' '}
|
|
<Link href="/docs/import-from-github" className="text-primary underline">
|
|
ritgram.rithub.dev/docs/import-from-github
|
|
</Link>{' '}
|
|
(same tool, same steps — pick "Git" as the source for any non-GitHub host).
|
|
</p>
|
|
</section>
|
|
</div>
|
|
</div>
|
|
)
|
|
}
|