Gc

Gcommit – clustering code changes semantically

Hacker News

Gcommit – clustering code changes semantically

The problem: I kept making "mega-commits" with unrelated changes because I get in a flow state and then end up with a huge number of changes I forgot to commit. The solution: I built a tool that analyzes your staged git changes, clusters them by semantic similarity using embeddings + hierarchical clustering, and creates separate commits for each cluster. How it works: - Parses diffs into semantic chunks using tree-sitter - Generates embeddings (OpenAI text-embedding-3-small) - Clusters with single-linkage hierarchical clustering - Interactive dendrogram UI to adjust cluster threshold - Creates one commit per cluster Currently Mac-only (uses self-written https client with kqueue), but happy to add cross-platform support if there's interest. Also planning local LLM/embedding support. Looking for feedback!

Share card

Actual performance

2points
Did not reach leaderboard

Launch Intel predictions

Analyze your own launch →
Product HuntOn track for Day 1 leaderboard · Strong signals: mac, openai, single · Missing: agents, macos, agent
81%81% predicted probability of success on Product Hunt, based on ML models trained on real launch data.
best fitHighest predicted score across all platforms for this description.
Indie HackersFits the IH revenue-focused audience · Strong signals: para · Missing: supports, reddit linkedin, podcasting
51%51% predicted probability of success on Indie Hackers, based on ML models trained on real launch data.
Hacker NewsMay not resonate with HN audience · Strong signals: io · Missing: https docs, excited, just released
48%48% predicted probability of success on Hacker News, based on ML models trained on real launch data.
nativeThis product was originally launched on this platform.
AppSumoMay struggle as an AppSumo deal · Strong signals: platform · Missing: plus, intuitive, reviews
47%47% predicted probability of success on AppSumo, based on ML models trained on real launch data.
TrustMRRLess likely to generate early MRR · Strong signals: para · Missing: mobile apps, ios, personal
42%42% predicted probability of success on TrustMRR, based on ML models trained on real launch data.
Acquire.comPre-revenue stage for this audience · Strong signals: active · Missing: arr, mrr, revenue
12%12% predicted probability of success on Acquire.com, based on ML models trained on real launch data.
BetaListMay not resonate with beta-testers · Missing: web3, chat, crypto
1%1% predicted probability of success on BetaList, based on ML models trained on real launch data.

Correct prediction on native model

Similar products

Pa
Patchmark – LSP for reviewing code changes/diffs in text56%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Patchmark – LSP for reviewing code changes/diffs in text

Hacker News2
A
A system to recommend configuration changes on NixOS / Nix47%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

A system to recommend configuration changes on NixOS / Nix

Hacker News3
Ar
Archie – Cross-compile to ARM and RISC-V without code changes56%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Archie – Cross-compile to ARM and RISC-V without code changes

Hacker News2
Sh
Show the ancestry of your code changes visually59%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Show the ancestry of your code changes visually

Hacker News2
An
An improvement to reviewing code changes60%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

An improvement to reviewing code changes

Hacker News2
F5
F5NoMore – See your changes as you make them55%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

F5NoMore – See your changes as you make them

Hacker News3
Su
SuperAPI – API Caching with Automatic Invalidation (No Code Changes)28%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

SuperAPI – API Caching with Automatic Invalidation (No Code Changes)

Hacker News2
Au
Autobld, automatically restart your server when code changes55%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Autobld, automatically restart your server when code changes

Hacker News1
Ce
Ceruleum – Track changes to your code going towards your next commit51%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Ceruleum – Track changes to your code going towards your next commit

Hacker News8
St
Stacked diffs / interdependent changes (on GitHub)77%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Stacked diffs / interdependent changes (on GitHub)

Hacker News1