main
erb 119 lines 7.03 KB
Raw
1 <% content_for :title, "Git hosting for the AI era" %>
2 <% content_for :description, "siGit hosts your Git repositories and open-weights models with full model cards and LFS-backed files, and hands the keys to your AI coding agent over the Agent Client Protocol." %>
3 <% content_for :structured_data do %>
4 <%= tag.script({
5 "@context" => "https://schema.org",
6 "@type" => "SoftwareApplication",
7 "name" => "siGit Code",
8 "applicationCategory" => "DeveloperApplication",
9 "operatingSystem" => "macOS, Linux, Windows",
10 "url" => code_url,
11 "description" => "Local-first AI coding agent that runs on-device or against a hosted endpoint and speaks the Agent Client Protocol for editor integration.",
12 "offers" => { "@type" => "Offer", "price" => "0", "priceCurrency" => "USD" }
13 }.to_json.html_safe, type: "application/ld+json") %>
14 <% end %>
15
16 <div class="min-h-screen bg-surface-900">
17 <section class="border-b border-surface-600 bg-surface-800">
18 <div class="max-w-6xl mx-auto px-4 sm:px-6 py-20 sm:py-28">
19 <div class="max-w-3xl">
20
21
22 <h1 class="mt-6 max-w-2xl text-4xl font-semibold tracking-tight text-gray-100 sm:text-6xl">
23 Git hosting for the AI era.
24 </h1>
25
26 <p class="mt-6 max-w-xl text-base leading-7 text-gray-400 sm:text-lg">
27 Version your repositories, publish
28 open-weights models with full model cards and LFS-backed files, and hand the keys
29 to your AI agent over the Agent Client Protocol ~
30 <span class="mt-10 text-gray-500"><a href="/sigit" class="text-gray-400 underline underline-offset-2 hover:text-gray-200 transition-colors">@sigit</a></span>
31 </p>
32
33 <div class="mt-10 flex flex-col gap-3 sm:flex-row">
34 <%= link_to "Explore models", models_path, class: "btn-primary px-6 py-3 text-sm justify-center" %>
35 <% if signed_in? %>
36 <%= link_to "Browse repositories", repos_path, class: "btn-secondary px-6 py-3 text-sm justify-center" %>
37 <% else %>
38 <%= link_to "Sign in", signin_path, class: "btn-secondary px-6 py-3 text-sm justify-center" %>
39 <% end %>
40 </div>
41 </div>
42 </div>
43 </section>
44
45 <%# ── Two pillars: code + models ── %>
46 <section class="max-w-6xl mx-auto px-4 sm:px-6 pt-16 sm:pt-20">
47 <div class="grid grid-cols-1 gap-4 sm:grid-cols-2">
48 <%= link_to repos_path, class: "card p-8 hover:border-surface-400 transition-colors group" do %>
49 <div class="flex items-center gap-3 mb-4">
50 <span class="flex h-10 w-10 items-center justify-center rounded-sm border border-surface-500 bg-surface-800 text-gray-300">
51 <svg class="w-5 h-5" viewBox="0 0 16 16" fill="currentColor"><path d="M2 2.5A2.5 2.5 0 0 1 4.5 0h8.75a.75.75 0 0 1 .75.75v12.5a.75.75 0 0 1-.75.75h-2.5a.75.75 0 0 1 0-1.5h1.75v-2h-8a1 1 0 0 0-.714 1.7.75.75 0 1 1-1.072 1.05A2.495 2.495 0 0 1 2 11.5Zm10.5-1h-8a1 1 0 0 0-1 1v6.708A2.486 2.486 0 0 1 4.5 9h8Z"/></svg>
52 </span>
53 <h2 class="text-lg font-semibold text-gray-100">Code repositories</h2>
54 </div>
55 <p class="text-sm leading-6 text-gray-400">
56 Fast diffs, deep file browsing, instant repos. Public or private, just git push.
57 </p>
58 <span class="mt-4 inline-flex items-center gap-1 text-sm text-brand-500 group-hover:gap-2 transition-all">
59 Browse repositories
60 <svg class="w-3.5 h-3.5" viewBox="0 0 16 16" fill="currentColor"><path d="M8.22 2.97a.75.75 0 0 1 1.06 0l4.25 4.25a.75.75 0 0 1 0 1.06l-4.25 4.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042L10.94 8.75H2.75a.75.75 0 0 1 0-1.5h8.19L8.22 4.03a.75.75 0 0 1 0-1.06Z"/></svg>
61 </span>
62 <% end %>
63
64 <%= link_to models_path, class: "card p-8 hover:border-surface-400 transition-colors group" do %>
65 <div class="flex items-center gap-3 mb-4">
66 <span class="flex h-10 w-10 items-center justify-center rounded-sm border border-surface-500 bg-surface-800 text-brand-500">
67 <svg class="w-5 h-5" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.8" stroke-linecap="round" stroke-linejoin="round"><path d="M21 16V8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73l7 4a2 2 0 0 0 2 0l7-4A2 2 0 0 0 21 16Z"/><path d="m3.27 6.96 8.73 5.05 8.73-5.05M12 22.08V12"/></svg>
68 </span>
69 <h2 class="text-lg font-semibold text-gray-100">Model library</h2>
70 </div>
71 <p class="text-sm leading-6 text-gray-400">
72 A home for open weights. Model cards, quantized GGUF and safetensors, downloads and likes.
73 </p>
74 <span class="mt-4 inline-flex items-center gap-1 text-sm text-brand-500 group-hover:gap-2 transition-all">
75 Explore models
76 <svg class="w-3.5 h-3.5" viewBox="0 0 16 16" fill="currentColor"><path d="M8.22 2.97a.75.75 0 0 1 1.06 0l4.25 4.25a.75.75 0 0 1 0 1.06l-4.25 4.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042L10.94 8.75H2.75a.75.75 0 0 1 0-1.5h8.19L8.22 4.03a.75.75 0 0 1 0-1.06Z"/></svg>
77 </span>
78 <% end %>
79 </div>
80 </section>
81
82 <%# ── Why siGit ── %>
83 <section id="features" class="max-w-6xl mx-auto px-4 sm:px-6 py-16 sm:py-20">
84 <div class="grid grid-cols-1 gap-px overflow-hidden rounded-sm border border-surface-500 bg-surface-500 sm:grid-cols-3">
85 <div class="bg-surface-800 p-8 sm:p-10">
86 <div class="mb-6 flex h-10 w-10 items-center justify-center rounded-sm border border-surface-500 bg-surface-700 text-brand-500">
87 <span class="text-lg font-semibold">01</span>
88 </div>
89 <h2 class="text-lg font-semibold text-gray-100">One platform for both</h2>
90 <p class="mt-3 text-sm leading-6 text-gray-400">
91 Source code and open-weights models share the same git storage and the same calm UI.
92 No second tool to learn, no weights scattered across services.
93 </p>
94 </div>
95
96 <div class="bg-surface-800 p-8 sm:p-10">
97 <div class="mb-6 flex h-10 w-10 items-center justify-center rounded-sm border border-surface-500 bg-surface-700 text-brand-500">
98 <span class="text-lg font-semibold">02</span>
99 </div>
100 <h2 class="text-lg font-semibold text-gray-100">Built for big files</h2>
101 <p class="mt-3 text-sm leading-6 text-gray-400">
102 Model cards parsed straight from your README, Git LFS for multi-gigabyte weights, and
103 file sizes, formats, and quants surfaced at a glance.
104 </p>
105 </div>
106
107 <div class="bg-surface-800 p-8 sm:p-10">
108 <div class="mb-6 flex h-10 w-10 items-center justify-center rounded-sm border border-surface-500 bg-surface-700 text-brand-500">
109 <span class="text-lg font-semibold">03</span>
110 </div>
111 <h2 class="text-lg font-semibold text-gray-100">Agent-ready</h2>
112 <p class="mt-3 text-sm leading-6 text-gray-400">
113 siGit speaks the Agent Client Protocol, so your AI coding agent can read, review, and
114 ship straight from the editor. Low latency, high contrast, made for the 2 AM flow state.
115 </p>
116 </div>
117 </div>
118 </section>
119 </div>