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

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

Mapping AI into Production: A Field Experiment on Firm Performance

https://papers.ssrn.com/sol3/papers.cfm?abstract_id=6513481
1•senko•47s ago•0 comments

Show HN: Retardmaxxing.ai – Don't Overthink It

https://retardmaxxing.ai/
2•kenrik•5m ago•0 comments

Artemis II crew snaps portrait of Earth on their way to the moon

https://www.popsci.com/science/earth-photo-artemis-ii/
1•geox•5m ago•0 comments

Across the social sciences, half of research doesn't replicate

https://www.science.org/content/article/across-social-sciences-half-research-doesn-t-replicate
2•XzetaU8•5m ago•0 comments

Polymarket apologizes for allowing wagers on fate of U.S. pilots downed in Iran

https://www.nbcnews.com/news/us-news/polymarket-apologizes-allowing-wagers-fate-us-pilots-downed-...
4•ceejayoz•7m ago•0 comments

Malaysia's age verification rules for social media could be strictest

https://www.biometricupdate.com/202604/malaysias-age-verification-rules-for-social-media-could-be...
1•anonhaven•9m ago•0 comments

IBM 3270 Information Display System: Color and Programmed Symbols (1979) [pdf]

https://bitsavers.org/pdf/ibm/3278/GA33-3056-0_3270_Information_Display_System_Color_and_Programm...
1•hggh•10m ago•0 comments

Not all of this is new

https://www.natemeyvis.com/not-all-of-this-is-new/
1•Brajeshwar•13m ago•0 comments

Artificial Intelligence Will Die – and What Comes After

https://comuniq.xyz/post?t=912
3•01-_-•16m ago•0 comments

Astronomers Find a Third Galaxy Missing Its Dark Matter

https://www.universetoday.com/articles/astronomers-find-a-third-galaxy-missing-its-dark-matter-va...
5•gostsamo•17m ago•0 comments

The Token Price Discovery Problem in the AI Diffusion Debate

https://davefriedman.substack.com/p/the-price-discovery-problem-in-the
1•walterbell•21m ago•0 comments

What does Open Source mean?

https://nesbitt.io/2026/04/04/what-does-open-source-mean.html
1•zdw•23m ago•1 comments

Laid Off from Oracle(OCI). Looking for Software Roles (USA)

1•bemindful•24m ago•1 comments

Iran's Network of Cameras Bolsters Air Defenses, Expert Says

https://www.wsj.com/livecoverage/iran-war-news-2026/card/iran-s-network-of-cameras-bolsters-air-d...
5•uxhacker•24m ago•0 comments

Detecting Defects in Software Systems

https://lasse.hels.dk/detecting-defects-in-software-systems/
1•seagrassalert•24m ago•0 comments

Ask HN: Regarding app rejection on 3.1.1 Guidelines

1•binaryvigilante•26m ago•0 comments

The AI-Native Fork

https://www.howardgray.net/the-fork/
3•walterbell•27m ago•0 comments

Sonos Play Review: Performance Meets Convenience

https://www.wired.com/review/sonos-play/
1•joozio•28m ago•0 comments

AI Safety at the Frontier: Paper Highlights of February and March 2026

https://www.lesswrong.com/posts/ckKZFqfSQGMye4JeK/ai-safety-at-the-frontier-paper-highlights-of-f...
1•joozio•30m ago•0 comments

Artemis II SLS Rocket Unseen Onboard Camera Footage

https://www.youtube.com/watch?v=WnG9y0JIyIw
3•Betelbuddy•30m ago•0 comments

Txpay.app – Crypto Shareable payment links, cross-chain

https://txpay.app
1•maximoCorrea•31m ago•0 comments

LLM Wiki

https://gist.github.com/karpathy/442a6bf555914893e9891c11519de94f
1•tamnd•33m ago•0 comments

Razer Wolverine V3 Pro and Betop KP50 Controllers to Be Supported by Linux 7.0

https://www.phoronix.com/news/Linux-7.0-rc7-Input-Fixes
2•doener•34m ago•0 comments

Neovim TreeSitter plugin has been archived on GitHub

https://github.com/nvim-treesitter/nvim-treesitter
3•ComputerGuru•35m ago•1 comments

FAA prohibits SFO's parallel approaches

https://www.reuters.com/world/us/faa-imposes-restrictions-some-landings-san-francisco-airport-202...
7•elromulous•35m ago•1 comments

Show HN: Trading harness for Indian stock market

https://github.com/hopit-ai/india-trade-cli
8•Arkid•35m ago•0 comments

Show HN: Kaoslabs – High-intensity AI video and visual experiments

https://kaoslabs.org
2•wilhart•36m ago•0 comments

Why the Most Valuable Things You Know Are Things You Cannot Say

https://deadneurons.substack.com/p/why-the-most-valuable-things-you
6•nr378•41m ago•0 comments

Show HN: DocMason – Agent Knowledge Base for local complex office files

https://github.com/jetxu-llm/docmason
4•Jet_Xu•41m ago•0 comments

Turn safety data sheets into structured JSON via API

https://turninto.dev/
1•VelaA•43m ago•0 comments