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.
110 lines
4.9 KiB
XML
110 lines
4.9 KiB
XML
import Link from 'next/link'
|
|
|
|
export const metadata = {
|
|
title: 'Rithub vs GitLab — Ritgram',
|
|
description:
|
|
'A plain, fact-checked comparison: Rithub (self-hosted code host) + Ritgram (the social layer on top) versus GitLab.',
|
|
}
|
|
|
|
export default function RithubVsGitLabPage() {
|
|
return (
|
|
<div className="max-w-3xl mx-auto py-16 px-4">
|
|
<h1 className="text-4xl font-bold mb-4">Rithub + Ritgram vs GitLab</h1>
|
|
<p className="text-lg text-muted mb-10">
|
|
GitLab.com is a hosted product owned by one company, same as GitHub — your account and
|
|
your namespace live on their servers, under their terms. Rithub runs on our own server.
|
|
Here is the honest comparison, point by point.
|
|
</p>
|
|
|
|
<div className="space-y-10">
|
|
<section>
|
|
<h2 className="text-2xl font-bold mb-3">1. Who controls the account</h2>
|
|
<p className="text-muted">
|
|
A GitLab.com account can be suspended or a namespace reclaimed by GitLab, same as any
|
|
hosted SaaS. Rithub runs on our own server at{' '}
|
|
<a
|
|
href="https://rithub.dev"
|
|
className="text-primary underline"
|
|
target="_blank"
|
|
rel="noreferrer"
|
|
>
|
|
rithub.dev
|
|
</a>
|
|
. We run the box, so nobody else decides who stays and who goes.
|
|
</p>
|
|
</section>
|
|
|
|
<section>
|
|
<h2 className="text-2xl font-bold mb-3">2. Self-hosting the alternative yourself</h2>
|
|
<p className="text-muted">
|
|
GitLab also ships a self-managed edition, but it is a much heavier install — the
|
|
GitLab Omnibus package bundles its own Postgres, Redis, Sidekiq workers, and multiple
|
|
services, and GitLab's own reference architectures start sizing at several GB of
|
|
RAM even for a handful of users. Rithub is a single binary plus Postgres — the
|
|
same stack serving every repo on Rithub today runs on one small Oracle Cloud box
|
|
alongside several other apps.
|
|
</p>
|
|
</section>
|
|
|
|
<section>
|
|
<h2 className="text-2xl font-bold mb-3">3. Moving your code over</h2>
|
|
<p className="text-muted mb-3">
|
|
Rithub has a built-in migration tool — no local git install needed. Log in, click{' '}
|
|
<strong>+ → New Migration → GitLab</strong>, paste your GitLab repo URL, click{' '}
|
|
<strong>Migrate Repository</strong>. We tested this exact flow end to end against a
|
|
real public repo: account creation, picking a source, pasting a URL, and one click to
|
|
migrate — the whole thing finished in well under a minute for a small repo, with the
|
|
real commit history intact on the other side. The manual fallback, for anyone who
|
|
prefers the command line:
|
|
</p>
|
|
<pre className="bg-[var(--background-secondary)] border border-[var(--border)] rounded-lg p-4 text-sm overflow-x-auto">
|
|
{`git clone --mirror https://gitlab.com/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">
|
|
GitLab has no public social layer across hosts. Ritgram is one feed and portfolio
|
|
that reads activity from 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">
|
|
Rithub does not have GitLab's built-in CI/CD pipeline editor, its security
|
|
scanning suite, or its enterprise compliance tooling. Rithub today: real git repos,
|
|
issues, pull requests, Rithub Actions (GitHub-Actions-compatible CI), and a working API,
|
|
under a server we control. We would rather undersell this than oversell it.
|
|
</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 GitLab 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, GitLab tab instead of GitHub).
|
|
</p>
|
|
</section>
|
|
</div>
|
|
</div>
|
|
)
|
|
}
|