frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Show HN: acmsg (automated commit message generator)

https://github.com/quinneden/acmsg
15•qeden•9mo ago
A cli tool written in python for generating commit messages based on the staged changes in a repository using AI models through the OpenRouter API.

Comments

infocollector•9mo ago
Looks like openrouter api can be self-hosted, which means you should be able to run this locally. If anyone is able to run this with ollama, please do post how you did that? :)
theblazehen•9mo ago
The openrouter api is the same as the openai api, so you should be able to use the openai api compatibility built into ollama after updating the url in /src/acmsg/constants.py
pvdebbe•9mo ago
Maybe I am a bit old-fashioned but I think the commit message should convey intent and not content of the diffs. Perhaps the real utility of this is to describe existing commits in a repository.
owebmaster•9mo ago
I'm also old-fashioned but I always thought it made much more sense to give a content diff, it makes it easier to find changes.
JimDabell•9mo ago
The commit itself is the content diff. Repeating that in the log message is redundant.
owebmaster•9mo ago
no, it is not redundant, a summary makes it easier to search and find the correct commit to read the full diff.
hiatus•9mo ago
Isn't that solved with blame?
InsideOutSanta•9mo ago
I don't understand the reasoning for persisting LLM output that can be generated at any point. If I want to use an LLM to understand someone else's commits, I can use the LLM best suited for that task at the time I need the information, which will likely be more accurate than what was available at the time of the commit and will have access to more context.

I also believe that commit messages should focus on information the code doesn't already convey. Whatever the LLM can generate from looking at your code is likely not the info I'll seek when I read your commit message.

bee_rider•9mo ago
It looks like it just is based on the git diff and status, at least as far as I can tell in a quick skim…

Hypothetically, a tool like this could ingest the bug report you were fixing, some emails, etc etc. It could also read the whole project (to get more context than just the diff). In principle there’s no reason it couldn’t relay more info than just the diff, in some extreme form…

Also, it could be seen as producing a starting point. When a person picks which AI generated text to keep, that is enough to add a bit of human spark into the system, right?

nickcw•9mo ago
When you are looking through commit messages, "Why?", Is the question you want answered. The diff contains "What?" and "How?".

Assuming that the commits in this repo were generated by this tool it is missing the "Why?".

myrmidon•9mo ago
Fully agree. Also, using LLMs for things like this can have bad side-effects, too, simply because it raises the noise-floor:

By spelling out things that are not noteworthy enough for a human, you make it more difficult to find comments that are (and were). Injecting a lot of irrelevant information can hamper understanding even if it is technically completely correct.

flysand7•9mo ago
You are talking about the commit message body, right, not just the header? Because for me it's something similar, but:

Header: Contains "What" and the scope of the changes, as short as possible Body: Contains "Why" and the full explanation of the change

trallnag•9mo ago
So what kind of commit subject do you expect for fixing a single typo? Or bumping the patch version of a random dependency?
Xiol32•9mo ago
Do you need an LLM to create those commit messages?
alzamixer•9mo ago
I use the following script to allow copilot vim plugin to help me.

```plaintext name=../../bin/assisted-commit

#!/bin/bash

# Run git commit with --verbose --dry-run and save the output git commit --verbose --dry-run > ./commit.message

# Prepend # to every line and add "conventional commit message:" at the end sed -i 's/^/# /' ./commit.message echo "# uncommented conventional commit message using feat, fix or doc flags. !beakingchange iff change breaks backward compatibility:" >> ./commit.message echo "" >> ./commit.message

# Open the file in vim for editing, with cursor on a new line at the end and in insert mode vim +':normal Go' +startinsert ./commit.message

# Filter out commented lines and save to a temporary file grep -v '^#' ./commit.message > ./commit.message.filtered

# Commit using the filtered file git commit -F ./commit.message.filtered

# Delete the files rm ./commit.message ./commit.message.filtered

```

esafak•9mo ago
Don't forget to include committed code in the context when amending.
theknarf•9mo ago
This is worse than useless.

The commit message is supposed to contain the details that you can't just glance from the code. Why a certain decision was made, or the pro's and con's of a decision, a link to a relevant Github / Jira issue, etc.

jasonjmcghee•9mo ago
> a link to a relevant Github / Jira issue, etc.

So important!

Makes all devs lives so much easier.

Though you know someone is going to tweak the lint rules at some point and have the top commit on nearly every line at a certain point in time.

Is there a "non-functional change commit" dictionary for git blame to ignore these? I would use that feature...

maxcomperatore•9mo ago
Just click the copilot button in any ide to generate an automated commit message in less than one second. This is effectively useless.

Show HN: Idea Forge – Multi-model product validation(validated an OpenClaw idea)

https://ideas.sparkngine.com/
1•oliverchoy•47s ago•0 comments

Show HN: I taught GPT-OSS-120B to see using Google Lens and OpenCV

1•vkaufmann•3m ago•0 comments

What color are your bits? (2004)

https://ansuz.sooke.bc.ca/entry/23
1•tomodachi94•6m ago•0 comments

Simple email API for proton bridge

https://github.com/pgray/mayl
2•pgray•10m ago•0 comments

Stay Hungry, Stay Foolish (2005)

https://stevejobsarchive.com/stories/stay-hungry-stay-foolish
2•walterbell•11m ago•0 comments

High-deductible health plans associated with 46% worse mortality

https://jamanetwork.com/journals/jamanetworkopen/fullarticle/2844474
4•brandonb•12m ago•1 comments

Logic That Patterns Find

https://udara.io/logic-and-noise/
1•udara•12m ago•0 comments

Show HN: I made myself a no-nonsense TODO app

https://todo-app-light.pages.dev/
1•anjandutta•13m ago•0 comments

Functional Programming in an LLM World

https://notes.druchan.com/fp-in-llm-world
1•druchan89•13m ago•0 comments

I completed the MV in one day. Below is a detailed breakdown of how it was done

https://www.youtube.com/watch?v=rxWNmzQpW2c
1•luokai•16m ago•1 comments

Show HN: "hard questions" as a shared language for cross-domain reasoning

https://github.com/onestardao/WFGY
2•wfgy-github•17m ago•0 comments

When people think about aliens, they make assumptions which are wrong

https://www.mindlessalgorithm.com/alien-assumptions/
2•helloplanets•18m ago•0 comments

Brandon Wint: How Do We Know When A Poem Is Finished?

https://www.youtube.com/watch?v=k9hPmp09ssc
1•marysminefnuf•22m ago•0 comments

GraphQLite, Graph Network Extension on Top of SQLite

https://github.com/colliery-io/graphqlite
2•ekianjo•25m ago•0 comments

Show HN: Clawhosting.io– Managed OpenClaw

https://clawhosting.io
1•rezaghp•27m ago•0 comments

Modular Buys BentoML

https://www.modular.com/blog/bentoml-joins-modular
1•carefree-bob•30m ago•0 comments

Show HN: Hosting dynamic webcal on GitHub pages

https://github.com/sfw185/BJJCal
1•faridw•30m ago•0 comments

Why capital is fleeing Tech for the Tangible Economy

https://wwai.substack.com/p/the-great-rotation-capital-flees
4•watchwiseai•42m ago•1 comments

Harmless reward hacks generalize to shutdown evasion and dictatorship in GPT-4.1

https://arxiv.org/abs/2508.17511
1•toliveistobuild•44m ago•1 comments

Exponential Code, Network Effects in AI, & the Return of Apprenticeships

https://www.implications.com/p/exponential-code-network-effects
1•swolpers•47m ago•0 comments

Jonathan Blow on Why Modern Software Is Bloated

https://www.youtube.com/watch?v=GOtWR_T2VOk
3•cable2600•53m ago•0 comments

Venezuelan crude oil exports to Israel resume after 6-year gap

https://www.bloomberg.com/news/articles/2026-02-10/venezuela-sending-first-crude-oil-cargo-to-isr...
2•OgsyedIE•56m ago•0 comments

Secretary of War Hegseth Announces End of Support for Harvard University [video]

https://www.youtube.com/watch?v=eh5duiL3MwQ
2•nomilk•58m ago•1 comments

Vibrant Frog Collab – AI-Powered Writing Assistant

https://frogteam.ai/VibrantFrog/default.html
1•am-piazza•59m ago•0 comments

Show HN: Track and analyze AI coding tool usage across your team

https://trackr-bay.vercel.app/welcome
1•usmansidd•1h ago•0 comments

(Rust) Tracking Issue for Generic Constant Arguments MVP

https://github.com/rust-lang/rust/issues/132980
1•anfilt•1h ago•1 comments

How many of the 3,191 billionaires can you name?

https://billionaires.linolevan.com/
1•linolevan•1h ago•1 comments

mrdoob Ported Quake to JavaScript/Three.js

https://mrdoob.github.io/three-quake/
1•davidbarker•1h ago•0 comments

Russians supplied with new satellite internet terminals after Starlink blackout

https://www.pravda.com.ua/eng/news/2026/02/09/8020199/
2•c420•1h ago•0 comments

Block a website in specific countries using Nginx

https://shashanksrivastava.medium.com/block-a-website-in-specific-countries-using-nginx-20a651288795
2•kamaraju•1h ago•0 comments