Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 9 additions & 6 deletions site/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Magic Commit — AI commit messages from your menu bar</title>
<meta name="description" content="A macOS menu bar app that watches your git projects and commits them with AI-written messages from opencommit, in one click.">
<meta name="description" content="A macOS menu bar app that watches your git projects and commits them with AI-written messages from Claude Code or opencommit, in one click.">
<meta property="og:title" content="Magic Commit">
<meta property="og:description" content="Commit as often as you like with a quick WIP, then let Magic Commit turn every WIP commit into a real message before you push.">
<meta property="og:type" content="website">
Expand Down Expand Up @@ -199,7 +199,7 @@
<h1>Commit messy. <span class="grad">Push clean.</span></h1>
<p class="lede">
A menu bar app that keeps an eye on your git projects and commits them with AI-written messages
from <a href="https://github.com/di-sukharev/opencommit">opencommit</a>, in one click.
from your local <a href="https://claude.com/claude-code">Claude Code</a> or <a href="https://github.com/di-sukharev/opencommit">opencommit</a>, in one click.
Save your work with a quick <code>WIP</code>, and let Magic Commit rewrite every WIP into a real message before you push.
</p>
<div class="ctas">
Expand Down Expand Up @@ -229,7 +229,7 @@ <h2>Everything a project needs, one row at a time</h2>
<div class="features">
<article class="card">
<h3><span class="ico"><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.2" stroke-linecap="round" stroke-linejoin="round"><path d="M5 12l5 5L19 7"/></svg></span>Commit</h3>
<p>Stages everything (unless you've already staged something) and runs <code>oco --yes</code> for a descriptive message.</p>
<p>Stages everything (unless you've already staged something) and lets Claude Code or <code>oco</code> write a descriptive message, in your repository's style.</p>
<div class="shot small">
<img src="screenshots/commit.png" alt="A project row with uncommitted changes and the Commit button" onerror="this.remove()">
<div class="ph">→ site/screenshots/commit.png</div>
Expand Down Expand Up @@ -267,17 +267,20 @@ <h2>Rewriting history, carefully</h2>
<p class="section-lede">Batch oco never touches your branch until it has proven the result is identical.</p>
<ol class="steps">
<li><strong>Replay in a worktree</strong>Commits from the oldest unpushed WIP up to <code>HEAD</code> are replayed in a temporary <code>git worktree</code>, away from your files.</li>
<li><strong>Rename only the WIPs</strong>Each WIP commit is re-staged and <code>oco --yes</code> writes its message. Every other commit is re-committed unchanged.</li>
<li><strong>Rename only the WIPs</strong>Each WIP commit is re-staged and Claude Code or <code>oco</code> writes its message. Every other commit is re-committed unchanged.</li>
<li><strong>Verify, then move</strong>The branch moves to the new history only if the final content is identical and <code>HEAD</code> hasn't moved in the meantime.</li>
</ol>
</section>

<section id="install">
<h2>Install in a minute</h2>
<p class="section-lede">Requires macOS 14 Sonoma or later and <a href="https://github.com/di-sukharev/opencommit">opencommit</a>. Magic Commit reads your <code>PATH</code> from your login shell, so <code>oco</code> from nvm or Homebrew is found.</p>
<p class="section-lede">Requires macOS 14 Sonoma or later and <a href="https://claude.com/claude-code">Claude Code</a> or <a href="https://github.com/di-sukharev/opencommit">opencommit</a>. Magic Commit reads your <code>PATH</code> from your login shell, so tools from nvm or Homebrew are found.</p>
<div class="install">
<div class="card">
<h3>1. Set up opencommit</h3>
<h3>1. Pick a message generator</h3>
<p><strong>Claude Code</strong>: install the <code>claude</code> CLI, run <code>claude</code> once to sign in, then pick it from the ✨ menu at the bottom of the panel.</p>
<pre><code>curl -fsSL https://claude.ai/install.sh | bash</code></pre>
<p><strong>opencommit</strong> (the default):</p>
<pre><code>npm install -g opencommit
oco config set OCO_API_KEY=&lt;your key&gt;</code></pre>
</div>
Expand Down
Loading