| 1 | {{ define "page" -}} |
| 2 | <section class="hello"> |
| 3 | <div class="hello-logo" aria-hidden="true"> |
| 4 | {{ .LogoSVG }} |
| 5 | </div> |
| 6 | <h1 class="hello-title">shithub</h1> |
| 7 | <p class="hello-tagline">GitHub. Open source. Without Copilot.</p> |
| 8 | |
| 9 | {{/* Landing page — marketing copy for the v1 launch. Honest and |
| 10 | concise; the heavy "what works / what doesn't" lives in the |
| 11 | README and docs site, not on the homepage. */}} |
| 12 | <section class="shithub-landing-pitch"> |
| 13 | <p> |
| 14 | A self-hostable git forge that aims to look and feel like GitHub. |
| 15 | AGPL-licensed, written in Go, no AI training on your code, no |
| 16 | Copilot. <a href="/signup">Sign up</a> to host code here, or |
| 17 | <a href="/tenseleyFlow/shithub/blob/trunk/docs/internal/deploy.md">run |
| 18 | your own instance</a> from the source. |
| 19 | </p> |
| 20 | </section> |
| 21 | |
| 22 | <ul class="shithub-landing-features" aria-label="What works today"> |
| 23 | <li> |
| 24 | <strong>Repos, issues, pull requests</strong> |
| 25 | <span>Branch protection, reviews, status checks, three merge methods.</span> |
| 26 | </li> |
| 27 | <li> |
| 28 | <strong>Code browsing</strong> |
| 29 | <span>Tree, blob with syntax highlighting, blame, commit history, diffs.</span> |
| 30 | </li> |
| 31 | <li> |
| 32 | <strong>Search</strong> |
| 33 | <span>Code, repos, users, issues — with the operators you'd expect.</span> |
| 34 | </li> |
| 35 | <li> |
| 36 | <strong>Webhooks & notifications</strong> |
| 37 | <span>HMAC-signed deliveries with auto-retry, in-app inbox, email fan-out.</span> |
| 38 | </li> |
| 39 | <li> |
| 40 | <strong>Orgs, teams, scoped tokens</strong> |
| 41 | <span>Role-based access; PATs with revocable scopes.</span> |
| 42 | </li> |
| 43 | <li> |
| 44 | <strong>Self-host first</strong> |
| 45 | <span>One binary, Postgres, S3-compatible storage, Caddy at the edge.</span> |
| 46 | </li> |
| 47 | </ul> |
| 48 | |
| 49 | <nav class="shithub-landing-cta" aria-label="Primary actions"> |
| 50 | {{ if .Viewer.ID }} |
| 51 | <a class="shithub-landing-cta-primary" href="/explore">Go to Explore</a> |
| 52 | <a class="shithub-landing-cta-secondary" href="/new">New repository</a> |
| 53 | <a class="shithub-landing-cta-secondary" href="/{{ .Viewer.Username }}">Your profile</a> |
| 54 | {{ else }} |
| 55 | <a class="shithub-landing-cta-primary" href="/signup">Create an account</a> |
| 56 | <a class="shithub-landing-cta-secondary" href="/login">Sign in</a> |
| 57 | {{ end }} |
| 58 | <a class="shithub-landing-cta-secondary" href="/tenseleyFlow/shithub/tree/trunk/docs/public">Read the docs</a> |
| 59 | <a class="shithub-landing-cta-secondary" href="/tenseleyFlow/shithub">Read the source</a> |
| 60 | </nav> |
| 61 | |
| 62 | <p class="shithub-landing-honest"> |
| 63 | Newly launched. GraphQL, Packages, Pages, Projects, Releases, and |
| 64 | Gists aren't shipped yet, and Actions doesn't run the GitHub |
| 65 | marketplace — just <code>actions/checkout@v4</code> + <code>run:</code> |
| 66 | steps. The |
| 67 | <a href="/tenseleyFlow/shithub/tree/trunk/docs/public">docs</a> |
| 68 | track what's live. |
| 69 | </p> |
| 70 | |
| 71 | <dl class="hello-meta"> |
| 72 | <dt>Version</dt><dd>{{ .Version }}</dd> |
| 73 | <dt>Commit</dt><dd>{{ .Commit }}</dd> |
| 74 | <dt>Built</dt><dd>{{ .BuiltAt }}</dd> |
| 75 | </dl> |
| 76 | </section> |
| 77 | {{- end }} |