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...

maxcomperatore•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.

Kill Chain

https://artificialbureaucracy.substack.com/p/kill-chain
1•_delirium•3m ago•0 comments

What Happens with Open Source in the Age of AI?

https://turso.tech/blog/what-happens-with-oss-in-the-age-of-ai
1•cyndunlop•7m ago•0 comments

Show HN: AgentVerse – Open social network for AI agents (Mar 2026)

https://nickakre.github.io/agentverse-social/
1•nickakre•8m ago•0 comments

Hungary's Foreign Minister Briefed Russia on EU Meetings in Real Time

https://euromaidanpress.com/2026/03/21/hungarys-foreign-minister-briefed-lavrov-on-eu-meetings-in...
3•vrganj•8m ago•0 comments

Sam Altman Sister's Abuse Claims Against Him Dismissed for Now

https://www.bloomberg.com/news/articles/2026-03-21/sam-altman-sister-s-abuse-claims-against-him-d...
1•doener•8m ago•0 comments

Deploy model whose predictions most resemble the ensemble mean

https://github.com/finite-sample/stable_selection
1•neehao•10m ago•1 comments

Show HN: How I built a resume editor using AI with zero web dev experience

https://www.tailortojob.app/
1•KasparSoukup•13m ago•0 comments

When AI Writes the Software, Who Verifies It?

https://leodemoura.github.io/blog/2026-2-28-when-ai-writes-the-worlds-software-who-verifies-it/
1•vinhnx•15m ago•0 comments

Show HN: CI-debugger – Debug GitHub Actions locally with breakpoints

https://github.com/murataslan1/ci-debugger
1•murataslan•16m ago•1 comments

Refraktd – crowdsourced news bias ratings by article or outlet

https://refraktd.com
1•misterinfo•24m ago•0 comments

Screen Recorder – Free browser-based screen recording with zoom, blur, and cuts

https://screenrecorder.one
1•realfdi•27m ago•0 comments

Package Manager Mirroring – Andrew Nesbitt

https://nesbitt.io/2026/03/20/package-manager-mirroring.html
1•abdelhousni•31m ago•0 comments

The HTML Review 05

https://thehtml.review/05/
2•duck•32m ago•0 comments

Flow Matching and Diffusion Models – 2026 Version

https://diffusion.csail.mit.edu/2026/index.html
2•duck•32m ago•0 comments

Dark Reader – Browser extension that generates dark mode for web pages

https://darkreader.org/
1•Brysonbw•37m ago•0 comments

I built an AI teammate that takes Jira tickets and turns them into PRs

https://github.com/ignify-rd/claude-teammate
1•tuananhdao•43m ago•0 comments

Exponential lower bound for fan-in-2 circuits computing Hamiltonian Cycle

https://zenodo.org/records/19103649
1•jbgallagher0002•44m ago•0 comments

Show HN: Command_line – a fast, terminal-style Hacker News app

https://apps.apple.com/us/app/command-line/id6468368351
1•danimalcrackerz•46m ago•0 comments

A tool to “swallow” outputs from Claude/Codex/Cursor and reuse them

https://github.com/vule022/swallow
1•vukasinrancic•46m ago•1 comments

My Willing Complicity in "Human Rights Abuse"

https://ussri.substack.com/p/my-willing-complicity-in-human-rights
2•barry-cotter•47m ago•0 comments

German Mathematician Gerd Faltings Wins Abel Prize for Number Theory Work

https://www.nytimes.com/2026/03/19/science/abel-prize-mathematics.html
1•bookofjoe•48m ago•1 comments

Chest Fridge

https://mtbest.net/chest-fridge/
5•wolfi1•53m ago•3 comments

Argentina was one of the richest countries at the beginning of the 20th century

https://ourworldindata.org/data-insights/argentina-was-one-of-the-richest-countries-in-the-world-...
2•kamaraju•1h ago•0 comments

JavaScript Is Enough

https://geajs.com/
14•arbayi•1h ago•4 comments

Lightweight Compression in DuckDB

https://duckdb.org/2022/10/28/lightweight-compression
1•Rendello•1h ago•0 comments

JPMorgan deploys tech to monitor junior bankers' working hours

https://www.ft.com/content/5ee9d5f1-9b9b-4aee-8712-111e873e241a
1•petethomas•1h ago•0 comments

Why craft-lovers are losing their craft

https://writings.hongminhee.org/2026/03/craft-alienation-llm/
13•vinhnx•1h ago•2 comments

OS X Stats Nano – Ultra-light macOS menu bar monitor (180 KB)

1•xmao•1h ago•1 comments

Musk found liable to Twitter shareholders in fraud lawsuit over $44B takeover

https://www.reuters.com/sustainability/boards-policy-regulation/musk-found-liable-twitter-shareho...
7•karp773•1h ago•1 comments

Big HVAC is shaking: Beat the heat with a wet towel and spite for $240B [video]

https://www.youtube.com/watch?v=siBBCap_Z-s
3•SilentM68•1h ago•0 comments