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•6mo 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•6mo 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•6mo 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•6mo 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•6mo 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•6mo ago
The commit itself is the content diff. Repeating that in the log message is redundant.
owebmaster•6mo ago
no, it is not redundant, a summary makes it easier to search and find the correct commit to read the full diff.
hiatus•6mo ago
Isn't that solved with blame?
InsideOutSanta•6mo 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•6mo 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•6mo 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•6mo 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•6mo 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•6mo 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•6mo ago
Do you need an LLM to create those commit messages?
alzamixer•6mo 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•6mo ago
Don't forget to include committed code in the context when amending.
theknarf•6mo 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•6mo 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•6mo ago
Just click the copilot button in any ide to generate an automated commit message in less than one second. This is effectively useless.

NTSB Preliminary Ups Flight 2976 Crash During Takeoff

https://www.ntsb.gov:443/investigations/Pages/DCA26MA024.aspx
1•kens•2m ago•0 comments

Agentic systems redraw the Pareto frontier on ARC-AGI

https://poetiq.ai/posts/arcagi_announcement/
1•gkapur•3m ago•0 comments

Show HN: GitPulse – AI-powered tool to discover open source projects

https://git-pulsee.vercel.app
1•Indri-Fazliji•3m ago•0 comments

US Departments of Labor, Education announce new education partnerships

https://www.dol.gov/newsroom/releases/osec/osec20251118
1•pavel_lishin•5m ago•0 comments

Ask HN: How do you prioritize dependency updates?

1•nrig•6m ago•0 comments

How were large Unix installations managed in the 80s/90s?

https://retrocomputing.stackexchange.com/questions/32279/how-were-large-unix-installs-managed-in-...
2•SeenNotHeard•7m ago•0 comments

Robots with Day Jobs: Why Teleoperated Humanoids May Be What Labor Markets Need

https://www.cnet.com/home/smart-home/robots-with-day-jobs-why-teleoperated-humanoids-might-be-exa...
1•connorjewiss•7m ago•0 comments

Nearly half of US kids want in-game currency this Christmas

https://www.gamesindustry.biz/nearly-half-of-us-kids-want-in-game-currency-this-christmas
1•haunter•7m ago•0 comments

Microsoft makes Zork I, II, and III open source under MIT License

https://arstechnica.com/gaming/2025/11/microsoft-makes-zork-i-ii-and-iii-open-source-under-mit-li...
1•ndsipa_pomu•10m ago•2 comments

SEO Community Reacts to Adobe's Semrush Acquisition

https://www.searchenginejournal.com/seo-community-reacts-to-adobes-semrush-acquisition/561506/
2•rmason•12m ago•0 comments

Toy solid.js implementation (signal/effect) in less than 100 LOCs

https://github.com/danielfalbo/solid.js/blob/main/solid.js
1•danielfalbo•16m ago•0 comments

The Most Dangerous Halo LAN Party – High Speed Highway Halo (2002) [video]

https://www.youtube.com/watch?v=QNCaE5mxKM4
1•zdw•16m ago•0 comments

Quickinim – simple procurement automation for manufacturers (1-minute setup)

https://quickinim.com/manufacturing
1•Gormanu•17m ago•0 comments

nanochat.karpathy.ai

https://nanochat.karpathy.ai/
1•danielfalbo•18m ago•0 comments

Why don't we see agents around us? Share your thoughts

1•spacemnstr42069•20m ago•0 comments

Lincoln Electric is bringing DC fast charging to sites WITHOUT 3-phase power

https://electrek.co/2025/11/19/lincoln-electric-is-bringing-dc-fast-charging-to-sites-without-3-p...
1•thelastgallon•20m ago•0 comments

Show HN: Roundible – A Space for Anonymous Discussions

https://roundible.com
1•Oxidome•22m ago•0 comments

The Pithiest Critique of Modern Conservatism Keeps Getting Credited to Wrong Man

https://slate.com/business/2022/06/wilhoits-law-conservatives-frank-wilhoit.html
2•riffic•23m ago•0 comments

The Moon Was an Inside Job

https://www.nytimes.com/2025/11/20/science/moon-collision-earth-theia.html
2•donohoe•24m ago•0 comments

Spring Boot 4.0.0 is here

https://spring.io/blog/2025/11/20/spring-boot-4-0-0-available-now/
3•siddharthgoel88•26m ago•0 comments

Two-thirds of AI-generated citations are fabricated or contain errors

https://www.psypost.org/study-finds-nearly-two-thirds-of-ai-generated-citations-are-fabricated-or...
3•geox•27m ago•0 comments

Parallel Loop Transformer for Efficient Test-Time Computation Scaling

https://arxiv.org/abs/2510.24824
1•PaulHoule•27m ago•0 comments

TikTok owner ByteDance valued at $480B after bidding war

https://www.thetimes.com/business/companies-markets/article/tiktok-owner-bytedance-valued-480bn-b...
1•JumpCrisscross•27m ago•0 comments

The Boring Part of Bell Labs

https://elizabethvannostrand.substack.com/p/the-boring-part-of-bell-labs
2•Hooke•28m ago•0 comments

Fractional Leadership Consultant – Remote Partnership

https://www.cognitoforms.com/RelationshipLeadership1/StrategicPartnerQuestionnaire
1•eddiemac24•28m ago•1 comments

Show HN: An open source WisprFlow alternative for Linux, Windows and Mac

https://github.com/qforge-dev/qspeak
2•aspaler•29m ago•0 comments

Introducing Kagi Assistants

https://blog.kagi.com/kagi-assistants
3•ingve•30m ago•0 comments

Show HN: Free GPUs in your terminal for learning CUDA

https://github.com/RohanAdwankar/cgpu
1•RohanAdwankar•31m ago•0 comments

Did rust take down the internet? [video]

https://www.youtube.com/watch?v=nVu4qrNzyqk
1•yomismoaqui•31m ago•1 comments

8th Wall Is Closing Down

https://www.8thwall.com/blog/post/200208966730/next-chapter
1•aosaigh•31m ago•0 comments