main
erb 163 lines 7.9 KB
Raw
1 <% content_for :title, "siGit Code" %>
2 <% content_for :description, "siGit Code is a local-first AI coding agent. Run LLM inference on-device or against a hosted endpoint, and drive it from your editor over the Agent Client Protocol." %>
3
4 <div class="min-h-screen bg-surface-900">
5 <%# ── Hero ── %>
6 <section class="border-b border-surface-600 bg-surface-800">
7 <div class="max-w-6xl mx-auto px-4 sm:px-6 py-20 sm:py-28">
8 <div class="max-w-3xl">
9 <span class="inline-flex items-center gap-2 rounded-sm border border-surface-500 bg-surface-700 px-3 py-1 text-xs font-medium text-gray-300">
10 <span class="h-1.5 w-1.5 rounded-full bg-brand-500"></span>
11 siGit Code
12 </span>
13
14 <h1 class="mt-6 max-w-2xl text-4xl font-semibold tracking-tight text-gray-100 sm:text-6xl">
15 A coding agent that runs on your machine.
16 </h1>
17
18 <p class="mt-6 max-w-xl text-base leading-7 text-gray-400 sm:text-lg">
19 siGit Code is a local AI coding agent. It works in your editor over the
20 Agent Client Protocol and runs on-device by default, so your code stays
21 on your machine. When a task needs a bigger model, sign in and switch to
22 siGit Code Cloud.
23 </p>
24
25 <div class="mt-10 flex flex-col gap-3 sm:flex-row">
26 <a href="https://getsigit.5mb.app/" class="btn-primary px-6 py-3 text-sm justify-center" target="_blank" rel="noopener noreferrer">Get siGit Code</a>
27 <a href="#install" class="btn-secondary px-6 py-3 text-sm justify-center">Install from your terminal</a>
28 </div>
29 </div>
30 </div>
31 </section>
32
33 <%# ── What it is ── %>
34 <section class="max-w-6xl mx-auto px-4 sm:px-6 py-16 sm:py-20">
35 <div class="grid grid-cols-1 gap-px overflow-hidden rounded-sm border border-surface-500 bg-surface-500 sm:grid-cols-3">
36 <div class="bg-surface-800 p-8 sm:p-10">
37 <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">
38 <span class="text-lg font-semibold">01</span>
39 </div>
40 <h2 class="text-lg font-semibold text-gray-100">On-device by default</h2>
41 <p class="mt-3 text-sm leading-6 text-gray-400">
42 Inference runs locally, on Apple silicon and other hardware. Your code
43 never leaves your machine unless you pick a cloud tier, and it costs
44 nothing to run.
45 </p>
46 </div>
47
48 <div class="bg-surface-800 p-8 sm:p-10">
49 <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">
50 <span class="text-lg font-semibold">02</span>
51 </div>
52 <h2 class="text-lg font-semibold text-gray-100">Lives in your editor</h2>
53 <p class="mt-3 text-sm leading-6 text-gray-400">
54 siGit Code speaks the Agent Client Protocol, so it runs in Zed and other
55 ACP editors, or as a terminal chat. It is the same agent either way.
56 </p>
57 </div>
58
59 <div class="bg-surface-800 p-8 sm:p-10">
60 <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">
61 <span class="text-lg font-semibold">03</span>
62 </div>
63 <h2 class="text-lg font-semibold text-gray-100">Tools and git, built in</h2>
64 <p class="mt-3 text-sm leading-6 text-gray-400">
65 It reads files, runs commands, searches the codebase, and handles git
66 itself, instead of telling you what to type. That keeps you in the work.
67 </p>
68 </div>
69 </div>
70 </section>
71
72 <%# ── siGit Code Cloud ── %>
73 <section class="border-y border-surface-600 bg-surface-800">
74 <div class="max-w-6xl mx-auto px-4 sm:px-6 py-16 sm:py-20">
75 <div class="max-w-2xl">
76 <h2 class="text-2xl font-semibold tracking-tight text-gray-100 sm:text-3xl">siGit Code Cloud</h2>
77 <p class="mt-4 text-sm leading-7 text-gray-400 sm:text-base">
78 Use the local model for everyday work, and switch to a hosted tier when a
79 task calls for a larger model. You pick a tier in <code class="rounded-sm bg-surface-700 px-1.5 py-0.5 text-gray-300">/models</code>,
80 and your account decides which ones you can use. You never paste an API key.
81 </p>
82 </div>
83
84 <div class="mt-10 grid grid-cols-1 gap-4 sm:grid-cols-3">
85 <div class="card p-6">
86 <h3 class="text-base font-semibold text-gray-100">Fast</h3>
87 <p class="mt-2 text-sm leading-6 text-gray-400">Quick edits and snappy back-and-forth.</p>
88 </div>
89 <div class="card p-6">
90 <h3 class="text-base font-semibold text-gray-100">Balanced</h3>
91 <p class="mt-2 text-sm leading-6 text-gray-400">The everyday tier for most agent work.</p>
92 </div>
93 <div class="card p-6">
94 <h3 class="text-base font-semibold text-gray-100">Large</h3>
95 <p class="mt-2 text-sm leading-6 text-gray-400">The heaviest tier, for hard multi-step problems.</p>
96 </div>
97 </div>
98
99 <div class="mt-8 flex flex-col gap-3 sm:flex-row">
100 <% if signed_in? %>
101 <%= link_to "Manage your account", settings_path, class: "btn-secondary px-6 py-3 text-sm justify-center" %>
102 <% else %>
103 <%= link_to "Create an account", signup_path, class: "btn-primary px-6 py-3 text-sm justify-center" %>
104 <%= link_to "Sign in", signin_path, class: "btn-secondary px-6 py-3 text-sm justify-center" %>
105 <% end %>
106 </div>
107 </div>
108 </section>
109
110 <%# ── Install ── %>
111 <section id="install" class="max-w-6xl mx-auto px-4 sm:px-6 py-16 sm:py-20">
112 <div class="grid grid-cols-1 gap-8 lg:grid-cols-2">
113 <div>
114 <h2 class="text-2xl font-semibold tracking-tight text-gray-100 sm:text-3xl">Install</h2>
115 <p class="mt-4 text-sm leading-7 text-gray-400">
116 Grab it however you ship Rust, Node, or Python tools, then run
117 <code class="rounded-sm bg-surface-700 px-1.5 py-0.5 text-gray-300">sigit</code>
118 in a project.
119 </p>
120 <pre class="mt-6 overflow-x-auto rounded-sm border border-surface-500 bg-surface-800 p-4 font-mono text-sm leading-7 text-gray-300"><span class="text-gray-500"># Rust</span>
121 cargo install sigit
122
123 <span class="text-gray-500"># Node</span>
124 npm install -g @smbcloud/sigit
125
126 <span class="text-gray-500"># Python</span>
127 pip install sigit-code
128
129 <span class="text-gray-500"># then, in any repository</span>
130 sigit</pre>
131 </div>
132
133 <div>
134 <h2 class="text-2xl font-semibold tracking-tight text-gray-100 sm:text-3xl">Commands</h2>
135 <p class="mt-4 text-sm leading-7 text-gray-400">
136 Everything is a slash command, in the editor or the terminal.
137 </p>
138 <dl class="mt-6 divide-y divide-surface-600 overflow-hidden rounded-sm border border-surface-500 bg-surface-800 text-sm">
139 <div class="flex gap-4 px-4 py-3">
140 <dt class="w-40 shrink-0 font-mono text-brand-500">/models</dt>
141 <dd class="text-gray-400">List models and tiers, and switch between them.</dd>
142 </div>
143 <div class="flex gap-4 px-4 py-3">
144 <dt class="w-40 shrink-0 font-mono text-brand-500">/login</dt>
145 <dd class="text-gray-400">Sign in to unlock siGit Code Cloud.</dd>
146 </div>
147 <div class="flex gap-4 px-4 py-3">
148 <dt class="w-40 shrink-0 font-mono text-brand-500">/whoami</dt>
149 <dd class="text-gray-400">Show the signed-in account.</dd>
150 </div>
151 <div class="flex gap-4 px-4 py-3">
152 <dt class="w-40 shrink-0 font-mono text-brand-500">/logout</dt>
153 <dd class="text-gray-400">Sign out on this machine.</dd>
154 </div>
155 <div class="flex gap-4 px-4 py-3">
156 <dt class="w-40 shrink-0 font-mono text-brand-500">/help</dt>
157 <dd class="text-gray-400">List every command.</dd>
158 </div>
159 </dl>
160 </div>
161 </div>
162 </section>
163 </div>