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

Secure Local Configuration in Kakoune

https://ficd.sh/blog/kak-secure-local-config/
1•todsacerdoti•20s ago•0 comments

Cancelled Resident Evil port for the Game Boy Color released in near-final form

https://www.gamesthatwerent.com/2025/12/resident-evil/
1•jsheard•1m ago•0 comments

GPU Poor Continuous Learning: Making Agents Smarter Without Fine-Tuning

https://www.ashpreetbedi.com/articles/gpu-poor-continuous-learning
1•bediashpreet•1m ago•0 comments

Trump Administration Aims to Strip More Foreign-Born Americans of Citizenship

https://www.nytimes.com/2025/12/17/us/politics/trump-immigration-citizenship-denaturalization.html
2•sipofwater•2m ago•1 comments

An FTL spaceship would look a lot like Star Trek's Enterprise

https://www.fastcompany.com/91458842/star-trek-enterprise-spaceship-physics
1•ohjeez•4m ago•0 comments

Venezuelan Navy Escorts Vessels in Defiance of Trump's Blockade Threat

https://www.nytimes.com/2025/12/17/us/politics/venezuela-blockade-military-escort-trump.html
2•clanky•5m ago•1 comments

Introduction to Quantum Information Science

https://qubit.guide/plan-and-intended-audience
2•mathgenius•5m ago•0 comments

Notable Movies of 2025

https://www.nytimes.com/2025/12/17/movies/best-movies-2025-kpop-demon-hunters-roofman.html
1•whack•7m ago•0 comments

Built a SaaS Boilerplate with NestJS and Next.js

https://app.saaslaunchkit.dev/
1•marqur•7m ago•0 comments

Maestro – Run AI coding agents autonomously for days

https://runmaestro.ai
1•pedramamini•9m ago•1 comments

Show HN: GymBenchmark – A gym tracker focused on data visualization

https://www.gymbenchmark.com/
1•jesuscgv_•10m ago•1 comments

Apple's impressive open-source model instantly turns 2D photos into 3D views

https://9to5mac.com/2025/12/17/apple-sharp-ai-model-turns-2d-photos-into-3d-views/
1•alwillis•10m ago•0 comments

TikTok unlawfully tracks your shopping habits – and your use of dating apps

https://noyb.eu/en/tiktok-unlawfully-tracks-your-shopping-habits-and-your-use-dating-apps
4•doener•19m ago•0 comments

FTC probes Instacart's AI pricing tool, source says; shares drop

https://www.reuters.com/legal/litigation/ftc-investigating-instacarts-ai-pricing-tool-source-says...
1•doener•20m ago•0 comments

GPT Image 1.5

https://gptimage1-5.io/
1•sinpor1•21m ago•0 comments

Show HN: Proxylity – serverless UDP services on AWS (one year in production)

https://www.proxylity.com/articles/year-one.html
1•mlhpdx•23m ago•0 comments

Postgres query plan visualization tools

https://www.pgmustard.com/blog/postgres-query-plan-visualization-tools
1•b-man•24m ago•0 comments

(Interactive physics-based paper marbling simulation)

https://siobhanroberts.com/
2•MilnerRoute•26m ago•0 comments

What Is Claude Code's Plan Mode?

https://lucumr.pocoo.org/2025/12/17/what-is-plan-mode/
2•handfuloflight•33m ago•0 comments

Show HN: Nob – Make your terminal AI-powered

https://github.com/hetpatel-11/nob
1•hkpatel•35m ago•0 comments

Go-boot: bare metal Go UEFI boot manager

https://github.com/usbarmory/go-boot
2•nateb2022•36m ago•0 comments

The game behind the gig economy

https://www.techpolicy.press/the-game-behind-the-gig-economy/
2•anigbrowl•37m ago•0 comments

Judge wants $54M for lost pants

https://www.irishtimes.com/news/judge-wants-54m-for-lost-pants-1.808197
2•austinallegro•37m ago•2 comments

Realistic enterprise security dataset with 23-day APT campaign

https://github.com/gregdiy/cyber_simulation
1•PhantomArmor•39m ago•1 comments

Salesforce is tightening control of its data ecosystem

https://www.cio.com/article/4108001/salesforce-is-tightening-control-of-its-data-ecosystem-and-ci...
2•georgewfraser•39m ago•0 comments

Semiquincentennial $1 Coin Candidate Designs

https://www.usmint.gov/news/media-kit/semiq-dollar-coin
4•DustinEchoes•40m ago•1 comments

Coursera to buy Udemy, creating $2.5B firm to target AI training

https://www.reuters.com/business/coursera-udemy-merge-deal-valuing-combined-firm-25-billion-2025-...
2•elsewhen•42m ago•0 comments

SimpleQA Verified: Reliable Factuality Benchmark to Measure Parametric Knowledge

https://arxiv.org/abs/2509.07968
3•handfuloflight•42m ago•0 comments

Sendspin: Music Experience Protocol

https://www.sendspin-audio.com/
2•jackwilsdon•44m ago•0 comments

The Flag Institute

https://en.wikipedia.org/wiki/Flag_Institute
2•grobie12•44m ago•0 comments