frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Show HN: Shifu – A pure POSIX shell framework to create powerful CLIs

https://github.com/Ultramann/shifu
7•ultramann•1h ago
The startup I work for has an internal, bash-based, cli that basically amounts to shared aliases with a common entrypoint. As the number of aliases has grown, I've had a desire to group functionality together in subcommands, add more help strings, and have better tab completion. I know I could convert it to, e.g., a python script, but I was curious what was possible if we continued to use bash.

I couldn't find anything that solved those problems without lots of extra machinery. I understand why, shell scripts are generally not long, and focused on a dedicated task; adding cli features to them is mostly unnecessary, many might even discourage it for many valid reasons.

Nonetheless, I considered writing this functionality myself, but that felt like a poor use of company time. So I started toying with what a framework to handle those concerns entirely in shell script would look like on the side. Thus, shifu was born. I've been working on it off and on for about a year, and think I've got a reasonable alpha release, so thought I'd share.

Comments

spbuilds•32m ago
Keeping it in shell instead of rewriting in Python was probably the right call. Once you add a language runtime dependency you lose the “just drop this file in and use it” simplicity.
ultramann•22m ago
Yeah, that was definitely the motivation of putting it in shell in the first place

2027 Chevy Corvette Grand Sport: New LS6 and Z06 Aero

https://www.thedrive.com/news/2027-chevy-corvette-grand-sport-the-goldilocks-spec-returns-with-ne...
1•PaulHoule•48s ago•0 comments

Show HN: Zerobox – Sandbox any command with file and network restrictions

https://github.com/afshinm/zerobox
1•afshinmeh•1m ago•0 comments

SpaceX's monster IPO is unlike anything we've seen

https://www.axios.com/2026/03/30/spacex-ipo-elon-musk-wall-street
1•rurp•1m ago•0 comments

Hackers now exploit critical F5 BIG-IP flaw in attacks, patch now

https://www.bleepingcomputer.com/news/security/hackers-now-exploit-critical-f5-big-ip-flaw-in-att...
1•Brajeshwar•2m ago•0 comments

Foxing aspires to be an eBPF-powered replication engine for Linux filesystems

https://codeberg.org/aenertia/foxing
1•tanelpoder•3m ago•0 comments

Vibe check: AI may replace SaaS (but not for a while)

https://www.ncsc.gov.uk/blogs/vibe-check-ai-may-replace-saas-but-not-for-a-while
1•jruohonen•3m ago•0 comments

Analyzing round trip query latency

https://www.datadoghq.com/blog/analyzing-roundtrip-query-latency/
1•amw-zero•4m ago•0 comments

The future belongs to small companies

https://nicolaiarocci.com/the-future-belongs-to-small-companies/
1•speckx•4m ago•0 comments

2 Australian States Waive Transit Fares as Fuel Prices Soar

https://www.nytimes.com/2026/03/30/world/australia/australia-melbourne-free-transit.html
1•bookofjoe•7m ago•0 comments

Only-fans – CLI tool to bypass Apple's fan speed cap on macOS

https://github.com/ryanshahine/only-fans
2•ryanshahine•8m ago•0 comments

The Infinite Game: What Artists Know That Founders Don't

https://www.nfx.com/post/infinite-game
1•ossa-ma•8m ago•0 comments

How do you estimate LLM costs for automation workflows upfront?

https://llm-architecture-cost-modeler.vercel.app/
2•indiegoing•9m ago•0 comments

Show HN: Giving HTML, Canvas Superpowers

https://github.com/yeargun/chromium5/pull/1
2•yeargun•11m ago•0 comments

Does the Shy Girl Mess Mean We Give Up the Em Dash?

https://annerallen.com/2026/03/does-the-shy-girl-ai-accusation-mean-writers-should-stop-using-the...
1•speckx•11m ago•0 comments

Debating the Sharing Economy (2014)

https://greattransition.org/publication/debating-the-sharing-economy/
2•robtherobber•12m ago•0 comments

BurgerDisk News

https://www.colino.net/wordpress/archives/2026/03/28/burgerdisk-news/
2•ibobev•15m ago•0 comments

A Fast Immutable Map in Go

https://lemire.me/blog/2026/03/29/a-fast-immutable-map-in-go/
1•ibobev•15m ago•0 comments

Show HN: We scored 50k PRs with AI – what we learned about code complexity

https://gitvelocity.dev
4•chuboy•15m ago•0 comments

If You Have Been an Investor – This Is Your Moment to Act

https://manus.im/share/file/c68b4a9f-90dc-4501-9c63-54894d3e1dfb
1•stevendekoenigs•16m ago•0 comments

2026 has been the most pivotal year in my career and it's only March

https://nullprogram.com/blog/2026/03/29/
2•ibobev•17m ago•0 comments

BubbleWrap your dev env and agents

https://dpc.pw/posts/bubblewrap-your-dev-env-and-agents/
1•birdculture•17m ago•0 comments

Show HN: Gameplan – Play poker against a solver

https://gameplan.poker/
2•joelmanner•18m ago•0 comments

Three months of not reading the news

https://neilzone.co.uk/2026/03/three-months-of-not-reading-the-news/
3•speckx•18m ago•0 comments

Citrix NetScaler bug exploited in days, may be multiple flaws in a trench coat

https://www.theregister.com/2026/03/30/citrix_netscaler_flaw/
3•Brajeshwar•19m ago•0 comments

Show HN: Dendrite – O(1) KV cache forking for tree-structured LLM inference

https://github.com/BioInfo/dendrite
3•RyeCatcher•20m ago•1 comments

Renoir, Cezanne and Matisse paintings stolen from Italian museum

https://www.cnn.com/2026/03/30/style/magnani-rocca-art-heist-italy-scli-intl
2•Cider9986•21m ago•0 comments

Iran is the first war with live odds

https://www.dopaminemarkets.com/p/iran-the-first-war-with-live-odds
3•astorplace•21m ago•0 comments

Pigouvian Tax

https://en.wikipedia.org/wiki/Pigouvian_tax
2•simonebrunozzi•23m ago•0 comments

Show HN: Aludel – LLM eval workbench for Phoenix apps

https://github.com/ccarvalho-eng/aludel
2•wood-archer•23m ago•0 comments

Queueing Requests Queues Your Capacity Problems, Too

https://pushtoprod.substack.com/p/queueing-requests-queues-your-capacity-problems-too
2•mhawthorne•24m ago•0 comments