feat: repo access policy — public/private/archived tiers on /build page

- 10 public products listed with all mirrors
- Archived section for legacy repos
- Internal repos note (private, authorized access only)
- Navbar: 'Our Code', Footer: 'Our Git (primary)'
- All mirror links: Our Git + GitLab + Codeberg + Radicle
This commit is contained in:
Crypto Rug Munch 2026-07-09 19:42:56 +07:00
parent 606617d760
commit 5ff20aaf4a

View file

@ -8,6 +8,8 @@ const active = [
{ name: 'walletpress', desc: 'WalletPress — 55-chain wallet engine, WordPress plugin, x402 marketplace', lang: 'Python', rad: 'z2s2wiPPHJXx2prvP5nPVgpkkzjwz' },
{ name: 'degenfeed-web', desc: 'DegenFeed — Multi-protocol social aggregator (Nostr, Farcaster, Bluesky, Mastodon, Lens, Threads, RSS)', lang: 'TypeScript', rad: 'z4HA4VujocEo1b3jTFwNk5qEGgF3V' },
{ name: 'cryptorugmunch-com', desc: 'This website — Docusaurus 3, black + neon green, Cloudflare Pages', lang: 'TypeScript', rad: '' },
{ name: 'rmi-docs', desc: 'Product documentation — architecture, ADRs, MCP docs, FAQ, audit reports', lang: 'Docs', rad: '' },
{ name: 'rmi-rag', desc: 'Retrieval-augmented generation — AI-powered risk explanations', lang: 'Python', rad: '' },
];
const infra = [
@ -17,16 +19,13 @@ const infra = [
];
const legacy = [
{ name: 'rugmunchbot', desc: 'Telegram bot — /scan, /portfolio, /simulate, /chart, /watch' },
{ name: 'rmi-local-services', desc: 'BGE-M3 embeddings, Ghost + n8n + RugFeed Poster' },
{ name: 'rmi-docs', desc: 'Product documentation — ARCHITECTURE.md, ADRs, MCP docs, audit reports' },
{ name: 'rugcharts', desc: 'Chart frontend + backend — real-time price charts' },
{ name: 'rugmaps', desc: 'Visual map of wallet relationships and token flows' },
{ name: 'x402-gateway', desc: 'Payment/settlement layer for x402 protocol APIs' },
{ name: 'rmi-rag', desc: 'Retrieval-augmented generation for risk explanations' },
{ name: 'rmi-mcp-x402', desc: 'Model Context Protocol server — AI agent access to RMI data' },
{ name: 'rugcharts', desc: 'Chart frontend + backend — real-time price charts (archived)' },
{ name: 'rugmaps', desc: 'Visual map of wallet relationships and token flows (archived)' },
];
// Private repos — visible only to authorized contributors
// fleet-infra, rugmunchbot, rmi-local-services, rmi-mcp-x402, x402-gateway
function glName(name: string) { return name === 'rmi-backend' ? 'rugmuncher-backend' : name; }
function RepoCard({ repo, active }: { repo: any; active: boolean }) {
@ -63,7 +62,8 @@ export default function Build() {
Mirrored to GitLab, Codeberg, and Radicle P2P for decentralized backup.
</p>
<h2 style={{ fontSize: '1.3rem', fontWeight: 700, marginBottom: 20, color: '#E8E8ED' }}>Active Products</h2>
<h2 style={{ fontSize: '1.3rem', fontWeight: 700, marginBottom: 20, color: '#E8E8ED' }}>Public Products</h2>
<p style={{ color: '#888899', fontSize: '0.8rem', marginBottom: 20 }}>Open-source. Audit them. Fork them. Run your own.</p>
<div style={{ display: 'grid', gap: 14, marginBottom: 40 }}>
{active.map(r => <RepoCard key={r.name} repo={r} active />)}
</div>
@ -73,11 +73,18 @@ export default function Build() {
{infra.map(r => <RepoCard key={r.name} repo={r} active />)}
</div>
<h2 style={{ fontSize: '1.3rem', fontWeight: 700, marginBottom: 20, color: '#E8E8ED' }}>Legacy & Internal</h2>
<h2 style={{ fontSize: '1.3rem', fontWeight: 700, marginBottom: 20, color: '#E8E8ED' }}>Archived</h2>
<div style={{ display: 'grid', gap: 14, marginBottom: 40 }}>
{legacy.map(r => <RepoCard key={r.name} repo={r} active={false} />)}
</div>
<div style={{ marginTop: 30, padding: 20, background: '#111118', border: '1px solid #222233', borderRadius: 10 }}>
<p style={{ fontSize: '0.78rem', color: '#555566', margin: 0, textAlign: 'center' }}>
Infrastructure, internal tooling, and service configurations are managed in private repositories
accessible to authorized contributors. Public products are listed above.
</p>
</div>
<div style={{ marginTop: 50, padding: 32, background: '#111118', border: '1px solid #222233', borderRadius: 12 }}>
<h3 style={{ fontSize: '1.1rem', fontWeight: 700, marginBottom: 12, color: '#E8E8ED' }}>Four-Way Decentralized Backup</h3>
<p style={{ fontSize: '0.82rem', color: '#888899', marginBottom: 16, lineHeight: 1.6 }}>