frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

Open in hackernews

Show HN: GetHooky – a language-agnostic Git hook manager

https://ezpieco.github.io/GetHooky/
22•Ezpie•1d ago

Comments

Gys•21h ago
No mention of git hooks? Why install an extra tool for something that is already part of git? https://git-scm.com/book/en/v2/Customizing-Git-Git-Hooks
robertlagrant•20h ago
It's a git hook manager.
bubblyworld•18h ago
Using git hooks directly almost always leaves you maintaining a small collection of bash scripts for installs, upgrades, config in the long run. Personally I'm fine with that but tooling can be nice, no?

(in case it's not clear though these tools are wrappers - under the hood it's still git hooks like you linked)

ericyd•16h ago
There's always a spectrum of preference with these things. Personally I don't like git hooks for my workflows because I know CI will enforce the relevant checks. In addition, I am fine running an extra test or lint or build command before opening my PR to verify it works locally. Git hooks are a nice solution but for me they just slow down common operations so I'd rather not use them. This tool looks like a nice improvement over project-level configurations like Husky (in the npm space) because it's an individual configuration so I could just skip it, whereas husky gets configured for everyone.
SOLAR_FIELDS•14h ago
There are dozens of your type out there that I don’t understand. The “I don’t want no commit hooks running on my machine. I and only I control what happens on my local machine” purists. There’s at least one in every job I work.

If the thing is going to block in ci anyway, why are you opting for a push and pray approach? Why arbitrarily increase your feedback loop time and add waiting time for each loop in ci? Chances are the time to get feedback is at least a couple orders of magnitude faster locally, you’re paying not only the startup time to register the runner and bring it online, get dependencies installed etc but also the manual time to context switch to the CI window etc. Just do all your linting and auto formatting and whatever on commit. It’s all work you’re going to have to do anyway, why introduce some extra less efficient step on yourself to slow yourself down?

ericyd•13h ago
Valid questions. For me it's two things:

1) sometimes hooks are configured on commit, and I prefer to have a very quick and lightweight commit action. If I'm changing branches sometimes I'll commit WIP changes so I can easily come back to it later. I know git stash accomplishes a very similar functionality but it's just a preferred workflow.

2) I don't like the feedback I get from git hooks when committing in the VS Code interface. For example, we have a "lint" hook that runs on pre-push. When it fails, I have to run "lint" manually in my terminal anyway to actually see the errors, because VS Code doesn't show me the actual errors. I believe the hook results are available in some other tab or something but I haven't bothered to learn it.

Both of these are just personal preferences, and maybe a little bit of resistance to learning new workflows. I don't consider myself a purist about it and I've never argued about it at work but hopefully this sheds a little light on my perspective.

Edit: regarding the "push and pray" approach, I personally don't do that, I'll run it locally first, I just prefer to run it myself rather than via a hook.

G1N•12h ago
No support for arm64 unfortunately :( OP, I tried installing via rosetta on macOS arm:

   arch -x86_64 sh -c "$(curl -fsSL https://raw.githubusercontent.com/ezpieco/gethooky/master/tools/install.sh)"
And I get the following error:

   mv: fastcopy: open() failed (to): /usr/bin/hooky: Operation not permitted
I curl'd and installed the x86 version manually into my ~/.zsh_scripts folder to get past this; I think for darwin clients you need to install to /usr/local/bin to get past perms errors (maybe just for arm macs?).
greatgib•10h ago
Now thanks to Go and Rust, every single tool that are recommended to be installed in developers computers and server are required to be "sh -c "$(curl -fsSL " installed...

We are so cooked...

nodesocket•9h ago
What's the documentation site using and theme? Really like the look.
sjoedev•8h ago
Since it’s hosted on GitHub, I snooped through the repo, and it appears to be created using VitePress [1]. [1] https://vitepress.dev/

SIMD-friendly algorithms for substring searching

http://0x80.pl/notesen/2016-11-28-simd-strfind.html
16•Rendello•2h ago•0 comments

Filedb: Disk Based Key-Value Store Inspired by Bitcask

https://github.com/rajivharlalka/filedb
29•todsacerdoti•2h ago•2 comments

Implementing Logic Programming

https://btmc.substack.com/p/implementing-logic-programming
106•sirwhinesalot•8h ago•25 comments

Liquid Glass – WWDC25 [video]

https://developer.apple.com/videos/play/wwdc2025/219
31•lnrd•3d ago•30 comments

Self-Adapting Language Models

https://arxiv.org/abs/2506.10943
121•archon1410•10h ago•35 comments

OxCaml - a set of extensions to the OCaml programming language.

https://oxcaml.org/
276•lairv•15h ago•84 comments

Endometriosis is an interesting disease

https://www.owlposting.com/p/endometriosis-is-an-incredibly-interesting
81•crescit_eundo•6h ago•26 comments

The international standard for identifying postal items

https://www.akpain.net/blog/s10-upu/
41•surprisetalk•1d ago•5 comments

$100 Hamburger

https://en.wikipedia.org/wiki/$100_hamburger
30•TMWNN•1h ago•5 comments

Green Tea Garbage Collector

https://github.com/golang/go/issues/73581
27•cirwin•1h ago•0 comments

Whatever Happened to Sandboxfs?

https://blogsystem5.substack.com/p/whatever-happened-to-sandboxfs
40•zdw•2d ago•5 comments

Shaping Light – Volumetric Lighting

https://blog.maximeheckel.com/posts/shaping-light-volumetric-lighting-with-post-processing-and-raymarching/
6•bj-rn•3d ago•0 comments

I convinced HP's board to buy Palm and watched them kill it

https://philmckinney.substack.com/p/i-convinced-hps-board-to-buy-palm
496•AndrewDucker•11h ago•430 comments

UK unis to cough up to £10M on Java to keep Oracle off their backs

https://www.theregister.com/2025/06/13/jisc_java_oracle/
31•miles•2h ago•26 comments

If the moon were only 1 pixel: A tediously accurate solar system model (2014)

https://joshworth.com/dev/pixelspace/pixelspace_solarsystem.html
724•sdoering•20h ago•221 comments

Show HN: Tattoy – a text-based terminal compositor

https://tattoy.sh
164•tombh•15h ago•45 comments

Rethinking Losses for Diffusion Bridge Samplers

https://arxiv.org/abs/2506.10982
6•badmonster•3h ago•1 comments

The Hat, the Spectre and SAT Solvers (2024)

https://www.nhatcher.com/post/on-hats-and-sats/
83•todsacerdoti•14h ago•5 comments

100 years of Zermelo's axiom of choice: What was the problem with it? (2006)

https://research.mietek.io/mi.MartinLof2006.html
102•Bogdanp•14h ago•102 comments

Student discovers fungus predicted by Albert Hoffman

https://wvutoday.wvu.edu/stories/2025/06/02/wvu-student-makes-long-awaited-discovery-of-mystery-fungus-sought-by-lsd-s-inventor
78•zafka•3d ago•58 comments

Apple's Liquid Glass is prep work for AR interfaces, not just a design refresh

https://omc345.substack.com/p/from-skeuomorphic-to-liquid-glass
206•lightningcable•9h ago•211 comments

When random people give money to random other people (2017)

https://quomodocumque.wordpress.com/2017/06/27/when-random-people-give-money-to-random-other-people/
83•munificent•12h ago•58 comments

AI Isn't Magic, It's Maths

https://zerofluff.substack.com/p/ai-isnt-magic-its-maths
25•squircle•2d ago•23 comments

High-speed fluorescence light field tomography of whole freely moving organisms

https://opg.optica.org/optica/fulltext.cfm?uri=optica-12-5-674&id=570897
38•PaulHoule•3d ago•2 comments

Using computers more freely and safely (2023)

https://akkartik.name/freewheeling/
77•surprisetalk•12h ago•12 comments

Anne Wojcicki to buy back 23andMe and its data for $305M

https://www.cnbc.com/2025/06/13/anne-wojcicki-to-buy-back-23andme-and-its-data-for-305-million.html
47•vidyesh•2h ago•10 comments

A Study of the Winston Red: The Smithsonian's New Fancy Red Diamond

https://www.gia.edu/gems-gemology/spring-2025-winston-red-diamond
21•bookofjoe•7h ago•1 comments

EDAN: Towards Understanding Memory Parallelism and Latency Sensitivity in HPC [pdf]

https://spcl.inf.ethz.ch/Publications/.pdf/shen-ics-2025-edan.pdf
20•matt_d•3d ago•1 comments

God is hungry for Context: First thoughts on o3 pro

https://www.latent.space/p/o3-pro
8•aberoham•2d ago•1 comments

Ask HN: How do I give back to people helped me when I was young and had nothing?

333•jupiterglimpse•15h ago•175 comments