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
112•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•50m 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•51m 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•26m 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•49m ago
There's an issue on Github for this now: https://github.com/darrylmorley/whatcable/issues/2
wallst07•7m ago
...And claude fixed it already https://github.com/darrylmorley/whatcable/commit/7a3ad1363ae...
ulfw•53m 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
BiteCode_dev•50m 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•48m ago
You mean LTT ?
smusamashah•42m ago
We type two capital LLs a lot these days.
xandrius•7m ago
LoL
ricardobeat•33m 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•20m 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•30m ago
Any plans to support installations through Homebrew?
sagacity•26m ago
This is pretty nice, but why do a lot of Mac apps insist on living in the menu bar?
poisonborz•9m 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•24m 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•10m 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•10m ago
How do you define "thick" or "short" to a non-engineer/tech person? Relative to what exactly?
gedy•23m 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•6m ago
Just because it got pushed 2h ago it doesn't mean they didn't test it on their end.
theanonymousone•17m 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•8m ago
I am definitely gonna contribute or fork to create an open leaderboard of cable brands and quality :D
j16sdiz•5m 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
114•sleepingNomad•2h ago•33 comments

Show HN: Perfect Bluetooth MIDI for Windows

25•mayerwin•1h ago•4 comments

Show HN: Updated – A dual crossword puzzle where two crosswords share one grid

https://forkle.co.uk/
2•daveoshawrus•1h ago•0 comments

Show HN: Winpodx – run Windows apps on Linux as native windows

https://github.com/kernalix7/winpodx
78•kernalix7•8h ago•42 comments

Show HN: Pu.sh – a full coding-agent harness in 400 lines of shell

https://pu.dev/
82•nahimn•14h ago•21 comments

Show HN: WeSearch – Anonymous news aggregator with no algorithm, 700 sources

https://wesearch.press/
5•EGCstudy•3h ago•1 comments

Show HN: I built a context layer for our home

https://rosey.house
2•aloktiagi•5h ago•0 comments

Show HN: TRiP – a complete transformer engine in C built from scratch just by me

https://github.com/carlovalenti/TRiP
36•carlovalenti•18h ago•6 comments

Show HN: Self hosted video feed for children

https://github.com/vkolev/timmygram-server
3•vkolev•5h ago•0 comments

Show HN: What happens when you load a webpage (Interactive)

https://toolkit.whysonil.dev/how-it-works/internet-timeline/
26•otterwilde2•3d ago•7 comments

Show HN: Git repositories hosted directly on Freenet

https://github.com/freenet/freenet-git
5•sanity•6h ago•0 comments

Show HN: Coding-Flashcards – Learn Rust, SQLite, or Godot from First Principles

https://github.com/ad-si/Coding-Flashcards
18•adius•17h ago•2 comments

Show HN: A new benchmark for testing LLMs for deterministic outputs

https://interfaze.ai/blog/introducing-structured-output-benchmark
58•khurdula•1d ago•24 comments

Show HN: FusionCore: ROS 2 sensor fusion that outperforms robot_localization

https://github.com/manankharwar/fusioncore
11•kharwarm•2d ago•2 comments

Show HN: Rocky – Rust SQL engine with branches, replay, column lineage

https://github.com/rocky-data/rocky
119•hugocorreia90•2d ago•48 comments

Show HN: Drive any macOS app in the background without stealing the cursor

https://github.com/trycua/cua
184•frabonacci•2d ago•40 comments

Show HN: Vibe, a single-header C networking library for Linux

https://github.com/xtellect/vibe
4•enduku•8h ago•0 comments

Show HN: Live Sun and Moon Dashboard with NASA Footage

https://www.lumara-space.app/
217•beeswaxpat•2d ago•65 comments

Show HN: Rip.so – a graveyard for dead internet things

https://rip.so
180•bozdemir•2d ago•117 comments

Show HN: KeeWebX – KeePass that runs from a double-clicked HTML file

https://keewebx.app/app?demo=1
5•edxtz•10h ago•1 comments

Show HN: Gemini free tier is all you need

https://juanpabloaj.com/2026/04/30/gemini-free-tier-is-all-you-need/
6•juanpabloaj•11h ago•0 comments

Show HN: Exploding Hamsters

https://explodinghamsters.com
13•pompomsheep•16h ago•2 comments

Show HN: Auto-Architecture: Karpathy's Loop, pointed at a CPU

https://github.com/FeSens/auto-arch-tournament/blob/main/docs/auto-arch-tournament-blog-post.md
238•fesens•2d ago•75 comments

Show HN: Throwaway – open-source disposable email checker and API

https://github.com/sslboard/throwaway
11•weddpros•1d ago•10 comments

Show HN: Code on the Go, an IDE for Android with On-Device Debugging (GPLv3)

https://www.appdevforall.org/
4•hal-eisen•13h ago•4 comments

Show HN: Adblock-rust Manager – Firefox extension to enable the Brave ad blocker

https://github.com/electricant/adblock-rust-manager
93•electricant•1d ago•44 comments

Show HN: OSS Agent I built topped the TerminalBench on Gemini-3-flash-preview

https://github.com/dirac-run/dirac
390•GodelNumbering•3d ago•145 comments

Show HN: An attempt to grow a mind – building software with an inner life

https://www.momentbymoment.app/
12•shahabebrahimi•1d ago•17 comments

Show HN: Create screen recordings with annotations in Chrome, no uploads

https://framepin.com/
4•ipselon•15h ago•0 comments

Show HN: Qumulator – quantum circuit simulator, 1000 qubits, no GPU

https://github.com/qumulator/qumulator-sdk
13•nnoorbakhsh•3d ago•4 comments