frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Open in hackernews

AI-generated Git commits with diff compression pipeline

https://github.com/benS-03/commait
1•dogbless•1h ago

Comments

dogbless•1h ago
I have just published my first CLI, and I am excited to share it because I believe it solves a problem ubiquitous to all developers. Writing commit messages is not hard, but it does take time. I have created a CLI that handles committing and pushing via a single command. commait reads your staged diff, sends it to an AI provider of your choice (OpenAI or Anthropic), and generates a clean commit message. You can configure it to stage, commit, and push all in one go without prompting, or keep it interactive and prompt for approval before anything happens. The part I'm most proud of is the enforceable token budget. When the diff exceeds the user-defined token budget, commait runs the diff through a compression pipeline first, stripping unchanged context lines, removing git headers, stripping noise files, and trimming less information-dense files. In my testing, your diff has to be extremely large or your token budget extremely small for the compression to fail to reduce the diff below the budget. It's fully configurable, supports model switching without touching any code, and has automatic provider fallback as well. As far as alternatives, I found one (commitai on npm). It is a much simpler CLI with much less functionality. Essentially just generating a message based on your diff, and that's it. If you have ever committed with a 4-word commit message at 2 am, you should give it a try :) https://www.npmjs.com/package/commait-cli https://github.com/benS-03/commait

TheSims.css

https://thesimscss.inbn.dev/
1•jumpocelot•53s ago•0 comments

Show HN: Hemicycle – Visualizing US bill cosponsors by party

https://legisletter.org/hemicycle
1•processing•55s ago•0 comments

Who Is America's Homer?

https://www.plough.com/articles/who-is-americas-homer
1•samclemens•1m ago•0 comments

Finding a new web host for this blog

https://log.schemescape.com/posts/web-development/web-hosting-for-this-blog.html
1•speckx•1m ago•0 comments

From Empathy to Apathy: The Bystander Effect Revisited

https://pmc.ncbi.nlm.nih.gov/articles/PMC6099971/
1•andrewstetsenko•1m ago•0 comments

Show HN: Wordit – Change One Letter, Keep the Chain Going

https://victorribeiro.com/wordit/
1•atum47•3m ago•0 comments

Universal-3.5 Pro Realtime

https://www.assemblyai.com/blog/universal-3-5-pro-realtime
1•handfuloflight•3m ago•0 comments

A Mathematical Model for the Human Will

https://outlookzen.com/2026/06/23/a-mathematical-model-for-the-human-will/
1•whack•3m ago•0 comments

MSG was keeping tabs on facial recognition activists

https://www.fightforthefuture.org/news/2026-06-22-breaking-madison-square-garden-was-keeping-tabs...
1•jaredwiener•3m ago•0 comments

AI Hiring Tools Yield Racial Bias and Systemic Rejection; 26% Black & 15% Asian

https://hai.stanford.edu/news/ai-hiring-tools-can-yield-racial-bias-and-systemic-rejection
1•sizzle•4m ago•0 comments

A free puzzle generator that guarantees unique Sudoku/nonogram solutions

https://www.puzzlepage.app
1•baxbyte•4m ago•0 comments

What If Creativity Was the Constraint?

https://blog.nseldeib.com/p/what-if-creativity-was-the-constraint
1•nadis•5m ago•0 comments

AI Didn't Make Us Faster It Demoted Us

https://www.askable.com/blog/ai-didnt-speed-us-up-it-demoted-us
1•lizsteelman•6m ago•0 comments

China beats US with fastest supercomputer

https://www.reuters.com/world/china/china-beats-us-with-worlds-fastest-supercomputer-race-not-gea...
2•tosh•8m ago•0 comments

Applications are open for OpenAI DevDay 2026

https://devday.openai.com/#devday-exchanges
1•rarisma•9m ago•0 comments

Model Size Scaling in 2023-2031

https://www.lesswrong.com/posts/yLHiQGCPdvzL9fBn3/model-size-scaling-in-2023-2031
1•mecameron•10m ago•0 comments

Bow-and-arrow-shaped radio galaxy discovered by citizen scientist

https://ras.ac.uk/news-and-press/research-highlights/bow-and-arrow-shaped-radio-galaxy-discovered...
1•gmays•10m ago•0 comments

Liberty, War, and Sovereignty: The Declaration of Independence at 250 [pdf]

https://isonomiaquarterly.com/wp-content/uploads/2026/06/iq-4.2-summer-2026-totten-american-state...
1•brandonlc•11m ago•0 comments

World of Mathematics

https://mathigon.org/world/
1•board•14m ago•0 comments

Millions in UK could claim share of £3B after Apple case given green light

https://www.bbc.co.uk/news/articles/c932d1r0p96o
5•Brajeshwar•15m ago•0 comments

Butterfly that barely ages could help unlock longevity secrets

https://www.sciencedaily.com/releases/2026/06/260622014302.htm
2•thunderbong•15m ago•0 comments

The Day Facebook Disappeared – Global Outage (2021)

https://onlytech.boo/incident/the-day-facebook-disappeared-global-outage-2021-mnn043ht
1•vednig•15m ago•0 comments

Accept cookies or pay? No thanks

https://danielle.bearblog.dev/accept-cookies-or-pay-no-thanks/
1•speckx•15m ago•0 comments

Argument Clinic – Monty Python (Official Sketch) [video]

https://www.youtube.com/watch?v=TpQlyUjp3vM
2•zeristor•16m ago•1 comments

The first AI marketing benchmark

https://viralbench.ai/
1•Jibran12345•16m ago•1 comments

Legibility of Effort

https://eieio.games/blog/legibility-of-effort/
2•nicholasjbs•16m ago•0 comments

Jerry's Map

http://www.jerrysmap.com/the-map
20•turtleyacht•20m ago•2 comments

Confidence estimation is a better metric than agreement for LLM judges

https://arxiv.org/abs/2604.20972
2•rapiddev•20m ago•0 comments

What Is Claude Tag?

https://support.claude.com/en/articles/15594475-what-is-claude-tag
3•shpat•21m ago•0 comments

Using CSS media queries to target monochrome e-paper

https://geastack.com/blog-same-app-color-and-e-paper
2•arbayi•21m ago•0 comments