frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Show HN: WhatCable, a tiny menu bar app for inspecting USB-C cables

https://github.com/darrylmorley/whatcable
114•sleepingNomad•2h ago
USB-C cables can be a mess. One cable charges at 5W, another does 100W and Thunderbolt 4, and they look identical in the drawer.

WhatCable sits in your menu bar and reads the cable data your Mac already has access to. Plug in a cable and it tells you in plain English what it can actually do: charging wattage, data speed, display support, Thunderbolt, etc.

Built in Swift/SwiftUI. Open source, free, no tracking.

GitHub: https://github.com/darrylmorley/whatcable

Comments

n3storm•1h ago
can something like this be done for linux? maybe a wrapper for lsusb. I just found https://github.com/doug-gilbert/lsucpd which adds PD and more.
emaro•1h ago
Pretty cool. What I don't understand is why both my USB@1 and USB@2 show the same connected devices. I'd expect to only see the respective devices. USB@1 is my USB-hub monitor, the other one is connected to my phone. Both show keyboard, etc. plus my phone as connected devices.
bkummel•1h ago
Doesn't work for me. Says "No USB-C ports detected", although I'm pretty sure my monitor is connected via USB-C, and the monitor also has a built-in USB hub where my USB keyboard is connected to.
bkummel•56m ago
There's an issue on Github for this now: https://github.com/darrylmorley/whatcable/issues/2
aquir•1h ago
Good stuff, but it's telling me that my USB-C Thunderbolt cable has been plugged in upside down but the connector handled this. I was not aware that you can plug in something into USB-C upside down!
justusthane•57m ago
I wasn't either (insomuch as I had never thought about it), but it makes sense if you think about it for a second. If you have one end plugged in one way, and the other end plugged in the other way, each individual wire is flipped from where it should be. The fact that you _can_ plug it in either way means that the device on one end needs to be capable of recognizing that and logically reversing it. Same as automatic crossover in Ethernet.

That's all the program is telling you. It doesn't matter that it's backwards, but technically it is.

regularfry•32m ago
It's not always the case that the cable will correctly fix it. I think (hope?) any that any which didn't would be out of spec, but they exist...
kmmbvnr_•1h ago
Could it be just a console utility?
captainbland•1h ago
Yeah I like the sound of the functionality but I don't like the idea of it taking up menu bar space. Console utility would be good or even a gui that can be quickly launched through spotlight
hallegbg•1h ago
Nice!
brk•1h ago
14 Inch 2021 MBPro / M1 Pro chip / Sonoma 14.5

WhatCable says "No USB-C Ports Detected".

System info clearly shows my iPhone attached to USB 3.1 Bus.

bkummel•56m ago
There's an issue on Github for this now: https://github.com/darrylmorley/whatcable/issues/2
wallst07•13m ago
...And claude fixed it already https://github.com/darrylmorley/whatcable/commit/7a3ad1363ae...
ulfw•59m ago
The 'plugged upside down' is weird for a USB-cable. Especially as that doesn't work. I tried plugging it 'the other way around' and it showed the same 'upside down' warning
AndroTux•6m ago
Everyone knows you have to flip the USB cable twice before it’s no longer upside down.
BiteCode_dev•56m ago
Tangential, but LLT recently came out with their own lineup of USB-C cables guaranteed to be up to spec. And they have the main specs printed on each cable end, so you know what you grab.

That should be mandatory.

aphroz•54m ago
You mean LTT ?
smusamashah•48m ago
We type two capital LLs a lot these days.
xandrius•13m ago
LoL
ricardobeat•39m ago
I remember seeing a recent analysis where the vast majority of cables from Amazon misreported their capabilities. Is this tool going to be able to catch those, or blindly report what the chip advertises?
Neywiny•26m ago
I think for real cables the delta could also be explained by damage or just a bad plug-in attempt, so even if you're not trying to detect counterfeit cables it could be useful to know:

1. What does the host support

2. What does the cable support

3. What does the device support

4. What actually got negotiated

Alifatisk•36m ago
Any plans to support installations through Homebrew?
sagacity•32m ago
This is pretty nice, but why do a lot of Mac apps insist on living in the menu bar?
poisonborz•15m ago
Making 1 click to access is faster than typing the app name in finder. Dock is usually full and used for different type of apps. Makes also constantly visible output possible with standard ui patterns.
denkmoon•30m ago
I get that the connectors are identical but I find it odd that people find it so challenging. Thunderbolt is the thick and short cable. If it's not thick it's not gonna work well and if it's over a metre it's not gonna work well. cf my pile of thin long "basic" usb c cables.
consp•16m ago
Thunderbolt 4 passive (over usb) is 0.8m in length, longer cables are active, up to two meters I think, so they do exist.
wallst07•16m ago
How do you define "thick" or "short" to a non-engineer/tech person? Relative to what exactly?
gedy•29m ago
I like the idea and thanks for sharing, but I do think folks who vibe code or use Claude should take their time using, testing, and improving app before rushing to share. This was pushed/deved like 2 hours ago
xandrius•12m ago
Just because it got pushed 2h ago it doesn't mean they didn't test it on their end.
LordGrey•6m ago
And it's been updated, with full releases, many times since.

I like this tool, but I agree that it was rushed and it is still being rushed. I urge the developer to slow down and get it right.

theanonymousone•23m ago
I would like to ask an LLM to rewrite it as Python CLI script. Is it even possible, or some Swift-only functionality is necessary?

P.S. Some time ago I learnt through HN of a one-line command in macOS which revealed the power (Wattage) of the connected charger. Can't find it now, but it was very useful.

thiagoperes•14m ago
I am definitely gonna contribute or fork to create an open leaderboard of cable brands and quality :D
j16sdiz•11m ago
It won't tell you the _quality_

It just tell you want the e-marker said.

Show HN: WhatCable, a tiny menu bar app for inspecting USB-C cables

https://github.com/darrylmorley/whatcable
116•sleepingNomad•2h ago•34 comments

A beginner's guide to Sourcehut (2025)

https://btxx.org/posts/beginners-guide-sourcehut/
17•bradley_taunt•1h ago•2 comments

The Rotary Un-Smartphone

https://skysedge.com/telecom/RUSP/index.html
27•tzury•1h ago•2 comments

Auto Polo

https://en.wikipedia.org/wiki/Auto_polo
71•canjobear•2d ago•19 comments

Show HN: Perfect Bluetooth MIDI for Windows

25•mayerwin•1h ago•4 comments

If I could make my own GitHub

https://matduggan.com/if-i-could-make-my-own-github/
8•matricaria•21h ago•46 comments

How Mark Klein told the EFF about Room 641A [book excerpt]

https://thereader.mitpress.mit.edu/the-whistleblower-who-uncovered-the-nsas-big-brother-machine/
612•the-mitr•18h ago•207 comments

New copy of earliest poem in English, written 1,3k years ago, discovered in Rome

https://www.tcd.ie/news_events/articles/2026/caedmons-hymn-discovery/
78•giuliomagnifico•1d ago•47 comments

Grok 4.3

https://docs.x.ai/developers/models/grok-4.3
112•simianwords•2h ago•131 comments

For Linux kernel vulnerabilities, there is no heads-up to distributions

https://www.openwall.com/lists/oss-security/2026/04/30/10
515•ori_b•18h ago•400 comments

OpenWarp

https://openwarp.zerx.dev
104•zero-lab•9h ago•84 comments

Softmax, can you derive the Jacobian? And should you care?

https://idlemachines.co.uk/essays/softmax
59•smaddrellmander•3d ago•6 comments

Shai-Hulud Themed Malware Found in the PyTorch Lightning AI Training Library

https://semgrep.dev/blog/2026/malicious-dependency-in-pytorch-lightning-used-for-ai-training/
403•j12y•19h ago•146 comments

Opus 4.7 knows the real Kelsey

https://www.theargumentmag.com/p/i-can-never-talk-to-an-ai-anonymously
361•ilamont•1d ago•189 comments

Maladaptive Frugality

https://herbertlui.net/maladaptive-frugality/
112•herbertl•2d ago•90 comments

Your Biggest Vulnerability is your Shitty Compensation

https://green.spacedino.net/your-biggest-vulnerability-is-your-shitty-compensation/
57•jfil•7h ago•17 comments

How an oil refinery works

https://www.construction-physics.com/p/how-an-oil-refinery-works
434•chmaynard•21h ago•136 comments

Claude Code refuses requests or charges extra if your commits mention "OpenClaw"

https://twitter.com/theo/status/2049645973350363168
1183•elmean•20h ago•653 comments

CPanel and WHM Authentication Bypass – CVE-2026-41940

https://labs.watchtowr.com/the-internet-is-falling-down-falling-down-falling-down-cpanel-whm-auth...
116•zikani_03•12h ago•48 comments

I built a Game Boy emulator in F#

https://nickkossolapov.github.io/fame-boy/building-a-game-boy-emulator-in-fsharp/
286•elvis70•18h ago•66 comments

How we run iSCSI over the internet

https://scsipub.com/blog/how-we-run-iscsi-over-the-internet
21•qdotme•1d ago•9 comments

Can I disable all data collection from my vehicle?

https://rivian.com/support/article/can-i-disable-all-data-collection-from-my-vehicle
639•Cider9986•15h ago•265 comments

You can beat the binary search

https://lemire.me/blog/2026/04/27/you-can-beat-the-binary-search/
326•vok•3d ago•143 comments

Roboticist-Turned-Teacher Built a Life-Size Replica of Eniac

https://spectrum.ieee.org/roboticist-turned-teacher-eniac-replica
34•oldnetguy•1d ago•8 comments

Canonical/Ubuntu have been under DDoS for more than 15h

https://status.canonical.com/#/incident/KNms6QK9ewuzz-7xUsPsNylV20jEt5kyKsd8A-3ptQEHpOd8VQ40ZQs-K...
65•jtlebigot•3h ago•21 comments

Reverse Engineering SimTower

https://phulin.me/blog/simtower
207•patrickhulin•2d ago•46 comments

After dissing Anthropic for limiting Mythos, OpenAI restricts access to Cyber

https://techcrunch.com/2026/04/30/after-dissing-anthropic-for-limiting-mythos-openai-restricts-ac...
38•gbourne1•59m ago•17 comments

New mechanical panoramic film camera from Jeff Bridges

https://wideluxx.com
151•armadsen•2d ago•69 comments

The Hearts of the Super Nintendo (2024)

https://fabiensanglard.net/snes_hearts/
32•droppedasbaby•9h ago•5 comments

Full-Text Search with DuckDB

https://peterdohertys.website/blog-posts/full-text-search-w-duckdb.html
146•ethagnawl•17h ago•31 comments