<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>publish.git — the toolkit behind ird.cod-sursa.ro</title>
<style>
:root {
color-scheme: dark;
--paper: #12161c; --ink: #e8edf2; --ink-soft: #9aa7b3;
--line: #263241; --card: #182029; --code-bg: #1f2a36; --accent: #7fc4a8;
}
@media (prefers-color-scheme: light) {
:root {
color-scheme: light;
--paper: #f8f9fa; --ink: #232a30; --ink-soft: #61707d;
--line: #dde4ea; --card: #ffffff; --code-bg: #eef2f5; --accent: #35836a;
}
}
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
background: var(--paper); color: var(--ink);
font: 16.5px/1.65 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
"Helvetica Neue", Arial, sans-serif;
padding: 64px 22px 90px;
}
main { max-width: 660px; margin: 0 auto; }
h1 { font-size: 40px; font-weight: 600; letter-spacing: -.4px;
font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }
.tag { margin: 14px 0 34px; font-size: 18px; color: var(--ink-soft); }
h2 { font-size: 20px; font-weight: 600; margin: 36px 0 10px; }
p { margin: 10px 0; }
a { color: var(--accent); }
pre {
background: var(--card); border: 1px solid var(--line); border-radius: 10px;
padding: 13px 16px; overflow-x: auto; margin: 14px 0;
font: 14px/1.5 ui-monospace, SFMono-Regular, Menlo, monospace;
}
code { font: 15px ui-monospace, SFMono-Regular, Menlo, monospace;
background: var(--code-bg); border-radius: 5px; padding: 1px 6px; }
pre code { background: none; padding: 0; }
ul { padding-left: 22px; } li { margin: 6px 0; }
footer { margin-top: 48px; padding-top: 20px; border-top: 1px solid var(--line);
font-size: 14px; color: var(--ink-soft); }
footer a { color: inherit; }
</style>
</head>
<body>
<main>
<h1>publish.git</h1>
<p class="tag">the toolkit behind this site: publish git repositories as
anonymous, publicly clonable repos served statically over IPFS —
<strong>no git server</strong>. A tutorial, an anonymity auditor, and the
publishing scripts.</p>
<h2>Clone</h2>
<pre><code>git clone https://ird.cod-sursa.ro/publish.git</code></pre>
<p><a href="browse/">browse the source in your browser →</a></p>
<h2>How it works</h2>
<p>Each repo is mirrored into a bare repo of loose objects — plain static
files that git's dumb-HTTP transport can clone with simple GETs. All
mirrors plus landing pages are assembled into one folder, pinned on IPFS,
and a DNSLink domain's IPNS name is re-pointed at the new CID. Adding a
repo needs no new DNS, certs, or servers.</p>
<h2>What's inside</h2>
<ul>
<li><code>README.md</code> — the full step-by-step tutorial</li>
<li><code>check-anonymity.sh</code> — standalone pre-publish audit:
single anonymous author, no identity bytes in any git object, no
secret-shaped content. Identity patterns are read from an untracked
local file, so the script itself stays clean</li>
<li><code>templates/publish-repo.sh</code> — per-repo mirror builder
with the enforcing anonymity gate</li>
<li><code>templates/assemble.sh</code> — ecosystem assembler: build,
pin, publish, unpin the previous root</li>
</ul>
<h2>Automate it</h2>
<p>A ready-to-paste agent prompt that drives this whole workflow lives in
the companion repo:</p>
<pre><code>git clone https://ird.cod-sursa.ro/prompts.git</code></pre>
<h2>License</h2>
<p>MIT.</p>
<footer>
part of <a href="https://ird.cod-sursa.ro/">ird.cod-sursa.ro</a> —
public source, clonable straight from this domain.
</footer>
</main>
</body>
</html>