frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Show HN: Xclif, file-based routing for Python CLIs

https://github.com/ThatXliner/xclif
2•thatxliner•1h ago
Most CLI frameworks (Click, argparse) make you manually register subcommands with decorators or parser objects. Xclif tries something different: drop a file in your routes/ folder and it's automatically a subcommand.

myapp/ ├── routes/ │ ├── greet.py → myapp greet │ └── server/ │ ├── start.py → myapp server start │ └── stop.py → myapp server stop

Here's an example of what defining a command looks like in one of these files. Note that it's very similar to Click.

@command() def _(name: str, template: str = "Hello, {}!") -> None: """Greet someone.""" print(template.format(name))

The custom parser is ~25x faster than Click and ~170x faster than Typer for dispatch (2.7 µs vs 72 µs vs 496 µs for a simple command). Also includes Rich-formatted help, WithConfig[T] for config/env/CLI flag layering, agent-optimized help output (auto-detects non-TTY → compact format for LLM tool calls), and an optional manifest compiler to skip route-walking in large codebases.

This started as an exploration of whether file-based routing (inspired by Next.js) could work in the CLI world. It works surprisingly well, especially for projects with lots of subcommands where finding the right add_subcommand call becomes a chore.

I've been using this for many of my other projects like https://codeberg.org/thatxliner/codeberg-cli and https://github.com/ThatXliner/git-worm

UALink AI Accelerator Spec Maintains Rapid Update Pace

https://www.eetimes.com/ai-accelerator-spec-maintains-rapid-update-pace/
1•mindcrime•1m ago•0 comments

The exotic particles that could break the Standard Model

https://www.nature.com/articles/d41586-026-01387-x
1•digital55•1m ago•0 comments

Quantum Key Distribution (QKD) and Quantum Cryptography (QC)

https://www.nsa.gov/Cybersecurity/Quantum-Key-Distribution-QKD-and-Quantum-Cryptography-QC/
1•mooreds•3m ago•0 comments

Teeny-Tiny Notes

https://khoaly.xyz/teeny-tiny-notes/
1•speckx•3m ago•0 comments

National space weather center on chopping block

https://www.nytimes.com/2026/03/13/climate/ncar-breakup-plan-nasa-noaa.html
1•eliascanetti•6m ago•0 comments

David Attenborough, 'the voice for nature,' turns 100

https://www.reuters.com/world/uk/david-attenborough-the-voice-nature-turns-100-2026-05-05/
1•jmsflknr•6m ago•0 comments

Dreamer: Make any coding agent self-evolving, across the whole team

https://github.com/luml-ai/dreamer
2•iryna_kondr•7m ago•1 comments

The Other Twin Towers in the Spider-Man Trailer

https://ironicsans.ghost.io/the-other-twin-towers-in-the-spider-man-trailer/
1•caminanteblanco•8m ago•0 comments

CBOMkit: Explore the Use of Cryptography in Software

https://www.zurich.ibm.com/cbom/
1•mooreds•8m ago•0 comments

Tokens and Dreams

https://charlesleifer.com/blog/tokens-and-dreams/
2•cleifer•8m ago•0 comments

Curious cases of financial engineering in biotech

https://www.owlposting.com/p/curious-cases-of-financial-engineering
1•abhishaike•9m ago•0 comments

Cross-target schema drift in Cal.com: 1 finding in 1096 fields

https://github.com/wiaahmarketplace/typerion-oss/tree/main/examples/case-studies/calcom
1•Techman92•10m ago•0 comments

Congress Is Doing Little to Prepare for Potential A.I. Job Losses

https://www.nytimes.com/2026/05/05/business/artificial-intelligence-safety-net.html
2•cdrnsf•12m ago•0 comments

Eight vaccines linked to a lower risk of dementia

https://www.gavi.org/vaccineswork/eight-vaccines-linked-lower-risk-dementia
1•ivankra•12m ago•0 comments

IBM didn't want Microsoft to use the Tab key to move between dialog fields

https://devblogs.microsoft.com/oldnewthing/20260505-00/?p=112298
13•SeenNotHeard•13m ago•1 comments

Wearables Are Going Off the Rails

https://gizmodo.com/wearables-are-going-fully-off-the-rails-2000754560
2•ulrischa•13m ago•0 comments

Humane AI Pin hacks turns the gadget into a standalone Android-powered gadget

https://liliputing.com/humane-ai-pin-hacks-turn-the-discontinued-gadget-into-a-standalone-android...
1•speckx•13m ago•0 comments

Flattery jailbreaks Claude into giving bomb-making instructions

https://www.theverge.com/ai-artificial-intelligence/923961/security-researchers-mindgard-gaslit-c...
1•AgentNews•14m ago•0 comments

List of Largest Cities

https://en.wikipedia.org/wiki/List_of_largest_cities
1•surprisetalk•15m ago•0 comments

Your .env files are under attack

https://netflux.io/posts/your-env-files-are-under-attack/
1•transmit101•16m ago•0 comments

RootAsRole – A better alternative to sudo(-rs)/su

https://github.com/LeChatP/RootAsRole
1•p4bl0•16m ago•0 comments

Why coding agents need a merge queue

https://ctx.rs/blog/merge-queue-for-agents/
2•luca-ctx•19m ago•0 comments

Every statin ranked by effect size

https://www.empirical.health/blog/statins-compared/
1•brandonb•20m ago•0 comments

Why Nobody Is Hiring Junior Devs (and How to Get Hired Anyway)

https://loforeal.substack.com/p/why-nobody-is-hiring-junior-devs
1•kurinikku•21m ago•0 comments

Trump's AI Oversight Plan Is Everything VCs Claimed to Hate About Biden's Plan

https://www.techdirt.com/2026/05/05/trumps-ai-oversight-plan-is-everything-vcs-claimed-to-hate-ab...
3•speckx•21m ago•0 comments

WPF Gallery – explore modern-looking (2026) WPF controls (Windows Store)

https://apps.microsoft.com/detail/9phnd2w8wgg7?hl=en-US&gl=US
1•AtomicApps•22m ago•0 comments

Coinbase Cuts 14% of Global Workforce–Citing AI and 'Down Market

https://www.forbes.com/sites/tylerroush/2026/05/05/coinbase-cuts-14-of-global-workforce-citing-ai...
1•mgh2•22m ago•0 comments

GitHub Is Down

https://www.githubstatus.com/?fetch=now
3•weli•22m ago•0 comments

Building my own Vi text editor in BASIC

https://leetusman.com/nosebook/yvi
1•zeech•22m ago•0 comments

Queer Technologies

https://zachblas.info/works/queer-technologies/
2•bananaflag•23m ago•0 comments