--- import BaseLayout from "../../layouts/BaseLayout.astro"; import { Header } from "../../components/layout/Header"; import { Card, CardContent, CardHeader, CardTitle, CardDescription } from "../../components/ui/card"; import { Button } from "../../components/ui/button"; import { Input } from "../../components/ui/input"; import { Label } from "../../components/ui/label"; import { Server, Sparkles, ShieldCheck, CheckCircle2, ArrowLeft, Globe, Code2, HelpCircle, Loader2 } from "lucide-react"; import { verifyToken } from "../../lib/auth"; const token = Astro.cookies.get("community_session")?.value; const user = token ? await verifyToken(token) : null; ---
Back to Instances

Connect Your Node

Submit your self-hosted OpenCodeHub URL to join the global federated mesh.

Instance Endpoint Must be a publicly reachable OpenCodeHub instance. We verify by querying GET /api/instance.

Example: https://code.mysite.com or https://opencodehub.org

Federation Architecture & Privacy

Public Scope: We only fetch repositories where visibility === "public" and public creator profiles. Private codebases are never indexed or logged.
Cross-Instance Contribution: Developers can clone your repositories via httpCloneUrl directly from your server without requiring an account on this hub.