frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Distributing your own scripts via Homebrew

https://justin.searls.co/posts/how-to-distribute-your-own-scripts-via-homebrew/
46•ingve•2d ago

Comments

darkamaul•3h ago
Really informative read, I agree that Homebrew’s naming conventions can be frustrating at times, but overall it’s such a great tool.

I hadn’t realized it was this simple to spin up your own tap for distributing tools. How does this compare to using language specific tools (like uv, for example)? Is it better because that’s easier for folks not within the ecosystem ?

thewisenerd•3h ago
specifically for python packages,

while it's lightweight, shipping the kitchen sink (uv) is a no-go

so, it's a venv, with the pinned dependencies installed [0], a random example of how this looks like, here [1]

(specifically for uv; i tried to get `brew update-python-resources` and `homebrew-pypi-poet` working for a "private" package, it didn't really work; so i went ahead and created uvbrew [2] instead to help with the resource generation)

[0]: https://docs.brew.sh/Python-for-Formula-Authors [1]: https://github.com/hynek/homebrew-tap/blob/main/Formula/doc2... [2]: https://github.com/thewisenerd/uvbrew

thewisenerd•2h ago
that said, it's _really_ easy to have executables against random sdist with `uv run --with`.

here's something that i was writing just yesterday:

    #!/usr/bin/env bash
    PYSTABLE="3.13"
    SERVER="..."
    PACKAGE="xyz"
    VERSION="0.1.3"
    exec uv run --python "$PYSTABLE" --with "$SERVER/$PKG-$VERSION.tar.gz" "$PKG" "$@"
xyst•3h ago
I switched to nix to manage my systems and haven’t looked back. The only thing lacking is a single dependency on shitty windows for multiplayer gaming.
loozhengyuan•1h ago
IMO it might be more ideal to do the updates from the tap side, similar to how upstream does it. This workflow[1] allows you handle updates even for formulae/casks you do not own. Using the `brew bump` command, you scan all formulae/casks and create PRs that update them. In these PRs[2], you can use the `brew test-bot` command to ensure the updates are tested working.

[1]: https://github.com/loozhengyuan/homebrew-tap/blob/main/.gith...

[2]: https://github.com/loozhengyuan/homebrew-tap/pull/11

jbreckmckye•39m ago
A small tip for Go folk: the Goreleaser tool makes it very easy to manage your formulae, at least for distributing binaries (allowed in personal taps but a no-no in core)
wyattjoh•6m ago
I wrote my own version of the homebrew tap bumping workflow for GitHub Actions: https://github.com/wyattjoh/homebrew-bump-revision I use it for some of my personal projects

ChatGPT Developer Mode: Full MCP client access

https://platform.openai.com/docs/guides/developer-mode
269•meetpateltech•4h ago•134 comments

Show HN: Term.everything – Run any GUI app in the terminal

https://github.com/mmulet/term.everything
458•mmulet•1d ago•62 comments

Defeating Nondeterminism in LLM Inference

https://thinkingmachines.ai/blog/defeating-nondeterminism-in-llm-inference/
103•jxmorris12•3h ago•36 comments

Show HN: Haystack – Review pull requests like you wrote them yourself

https://haystackeditor.com
31•akshaysg•2h ago•10 comments

Launch HN: Recall.ai (YC W20) – API for meeting recordings and transcripts

35•davidgu•4h ago•17 comments

The HackberryPi CM5 handheld computer

https://github.com/ZitaoTech/HackberryPiCM5
93•kristianpaul•2d ago•24 comments

OrioleDB Patent: now freely available to the Postgres community

https://supabase.com/blog/orioledb-patent-free
319•tosh•9h ago•109 comments

I didn't bring my son to a museum to look at screens

https://sethpurcell.com/writing/screens-in-museums/
551•arch_deluxe•4h ago•211 comments

Dotter: Dotfile manager and templater written in Rust

https://github.com/SuperCuber/dotter
16•nateb2022•1h ago•3 comments

UGMM-NN: Univariate Gaussian Mixture Model Neural Network

https://arxiv.org/abs/2509.07569
11•zakeria•1h ago•1 comments

Harvey Mudd Miniature Machine

https://www.cs.hmc.edu/~cs5grad/cs5/hmmm/documentation/documentation.html
23•nill0•2d ago•6 comments

'Clearest sign' yet of ancient life on Mars

https://www.nature.com/articles/s41586-025-09413-0
45•stevenjgarner•55m ago•4 comments

Bild AI (YC W25) Is Hiring

https://www.ycombinator.com/companies/bild-ai/jobs/m2ilR5L-founding-engineer-applied-ai
1•rooppal•3h ago

Jiratui – A Textual UI for interacting with Atlassian Jira from your shell

https://jiratui.sh/
66•gjvc•5h ago•22 comments

The origin story of merge queues

https://mergify.com/blog/the-origin-story-of-merge-queues
58•jd__•4h ago•18 comments

Show HN: TailGuard – Bridge your WireGuard router into Tailscale via a container

https://github.com/juhovh/tailguard
68•juhovh•16h ago•21 comments

Kerberoasting

https://blog.cryptographyengineering.com/2025/09/10/kerberoasting/
123•feross•8h ago•42 comments

Zoox robotaxi launches in Las Vegas

https://zoox.com/journal/las-vegas
131•krschultz•5h ago•172 comments

Anthropic Services Down

https://status.anthropic.com/incidents/k6gkm2b8cjk9
137•rob•4h ago•68 comments

TikTok has turned culture into a feedback loop of impulse and machine learning

https://www.thenexus.media/tiktok-won-now-everything-is-60-seconds/
214•natalie3p•4h ago•163 comments

Clojure's Solutions to the Expression Problem

https://www.infoq.com/presentations/Clojure-Expression-Problem/
4•adityaathalye•3d ago•0 comments

Insufficiently sanitized data allows unauthenticated access to FreePBX Admin

https://labs.watchtowr.com/you-already-have-our-personal-data-take-our-phone-calls-too-freepbx-cv...
35•Tiberium•2h ago•6 comments

Distributing your own scripts via Homebrew

https://justin.searls.co/posts/how-to-distribute-your-own-scripts-via-homebrew/
46•ingve•2d ago•7 comments

We can’t circumvent the work needed to train our minds

https://zettelkasten.de/posts/the-scam-called-you-dont-have-to-remember-anything/
278•maksimur•5h ago•136 comments

Tarsnap is cozy

https://til.andrew-quinn.me/posts/tarsnap-is-cozy/
68•hiAndrewQuinn•8h ago•53 comments

Delphi 13 Florence Released

https://blogs.embarcadero.com/announcing-the-availability-of-rad-studio-13-florence/
41•andsoitis•2h ago•19 comments

Semantic Line Breaks (2017)

https://sembr.org
62•Bogdanp•3d ago•43 comments

Rayhunter: IMSI Catchers We Have Found So Far

https://www.eff.org/deeplinks/2025/09/rayhunter-what-we-have-found-so-far
42•cooperq•1h ago•3 comments

Things you can do with a debugger but not with print debugging

https://mahesh-hegde.github.io/posts/what_debugger_can/
169•never_inline•3d ago•178 comments

Charlie Kirk shot at event in Utah

https://www.nbcnews.com/news/us-news/live-blog/live-updates-shooting-charlie-kirk-event-utah-rcna...
153•david927•1h ago•227 comments