登录 注册
其他
9,110
Stars
0
Forks
0
Watchers
0
Open Issues
未知
许可证
Swift
语言
创建时间
最近更新

项目能做什么

macOS 菜单栏工具,用通俗语言显示插在 Mac 上的各 USB-C 线缆实际支持的功能。
来源:AI 基于仓库事实生成 · 内容以仓库实际 README 为准

使用说明 查看原始 README 原仓库文档

中文使用说明暂未生成。下面保留原仓库 README 摘录,命令与配置均以原文为准。
原始 README 摘录(英文原文,节选前 3000 字符)
# WhatCable

> **What can this USB-C cable actually do?**

**Website: [whatcable.uk](https://whatcable.uk)** (overview, screenshots, and CLI docs)

A small macOS menu bar app that tells you, in plain English, what each USB-C cable plugged into your Mac can actually do, and **why your Mac might be charging slowly**.

USB-C hides a lot under one connector. Anything from a USB 2.0 charge-only cable to a 240W / 40 Gbps Thunderbolt 4 cable, all looking identical in your drawer. macOS already exposes the relevant info via IOKit; WhatCable surfaces it as a friendly menu bar popover.

Part of a family: [**WhatBattery**](https://www.whatbattery.app) for battery health and charging, [**WhatPort**](https://www.whatport.app) for every port at once.

<a href="https://www.producthunt.com/products/whatcable?embed=true&utm_source=badge-top-post-badge&utm_medium=badge&utm_campaign=badge-whatcable" target="_blank" rel="noopener noreferrer"><img alt="WhatCable - Know what your USB-C cable can really do | Product Hunt" width="250" height="54" src="https://api.producthunt.com/widgets/embed-image/v1/top-post-badge.svg?post_id=1153432&theme=light&period=daily&t=1779720313376"></a>

[![Latest release](https://img.shields.io/github/v/release/darrylmorley/whatcable)](https://github.com/darrylmorley/whatcable/releases/latest)
[![Platform](https://img.shields.io/badge/platform-macOS%2014%2B-blue)](https://github.com/darrylmorley/whatcable)
[![License: MIT](https://img.shields.io/badge/license-MIT-green)](LICENSE)
[![WhatCable Pro](https://img.shields.io/badge/WhatCable%20Pro-%C2%A39.99-orange)](https://whatcable.uk/pro)

![WhatCable popover](docs/screenshot.webp)

## What it shows

Per port, in plain English:

- **At-a-glance headline:** Thunderbolt / USB4, USB device, Display connected, Charging only, Slow USB / charge-only cable, Nothing connected
- **Charging diagnostic:** when something's plugged in, a banner identifies the bottleneck:
  - *"Cable is limiting charging speed"* (cable rated below the charger)
  - *"Charging at 30W (charger can do up to 96W)"* (Mac is asking for less, e.g. battery near full)
  - *"Charging well at 96W"* (everything matches)
  - *"Battery full, not charging"* (plugged in, battery full, so the Mac isn't drawing power)
- **Mid-session fault warnings:** if a cable develops trouble while it's plugged in (a power overcurrent, or the connection dropping and coming back), a banner appears on the port. It reads the port's own fault counters, so it catches faults that only show up once a cable is under load.
- **Data-speed diagnostic:** a plain-English verdict on what's limiting the link, the Mac port, the cable, or the device. For example *"Cable is limiting data speed"*, *"Device runs at 10 Gbps, this is the fastest it supports, not a cable problem"*, or *"Running slower than expected"* when the link came up degraded. Shown inline, in the CLI, and in JSON.
- **Cable e-marker info:** the cable's actual speed (USB 2.0, 5 / 10 / 20 / 40 / 80 Gbps), c
阅读完整原文

商业机会分析 AI 生成

Mac App Store 独立高级版(WhatCable Pro)

产品构想针对大众高端Mac用户,在开源基础版上提供更精致的GUI、历史线缆插拔记录、伪劣线缆异常即时弹窗告警以及更多硬件识别功能(打包成套件)。
核心功能菜单栏常驻、线缆插入即时规格通告、异常功耗与降速即时Push通知、线缆规格标签导出与打印格式支持
目标用户普通Mac极客、设计师、办公白领等对线缆规格不熟悉但频繁遇阻的用户
难度/周期低 · 2-4周 · 成本:极低(主要是苹果开发者账号年费$99)
收费模式买断制付费(Mac App Store / Gumroad,建议售价 $4.99 - $9.99)
竞争风险苹果原生System Information逐步改善展示体验;开源版功能已相对完整可能导致转化率低。
依据 已验证事实

企业IT桌面运维与外设资产审计CLI/Agent

产品构想利用WhatCable已支持的CLI与JSON输出能力,打包成针对企业ITMDM系统的合规巡检工具,用于排查企业员工办公桌上不安全、假冒伪劣或限制办公效率的劣质线缆与拓展坞。
核心功能无头CLI模式静默采集、USB-IF白名单合规校验、不可信线缆/拓展坞告警、集成至Jamf/Intune的自动化脚本与集中上报探针
目标用户企业IT桌面运维、信息安全团队、设备采购部门
难度/周期中等 · 1-2个月 · 成本:低(后端收集服务与轻量API服务器成本)
收费模式B2B按接入Mac端点数订阅(如 $1/设备/年 或打包进IT管理套件)
竞争风险线缆通常被视为低价值耗材,企业对线缆维度的单独合规采购意愿可能有限。
依据 数据支持的判断

数码评测与硬件QC质检专业工具套件(WhatCable Lab)

产品构想为3C数码评测博主、线缆/充电头电商卖家、硬件工厂QC提供批量测试、压力波动监控与评测报告一键生成工具。
核心功能插拔实时自动生成PDF/Markdown测试认证报告、PDO握手日志图形化导出、长周期带载故障计数器监控看板、USB-IF数据库在线同步
目标用户数码博主、3C配件跨境电商卖家、硬件测试工程师
难度/周期中等 · 1-2个月 · 成本:低(桌面软件开发及轻量云同步)
收费模式专业版单机授权许可($29 - $49 买断或年订阅)
竞争风险硬件厂商和专业测评机构通常拥有专业硬件检测仪(如Power-Z等),纯软件层读取存在依赖Mac硬件端口本身的物理局限。
依据 AI推测
AI 基于仓库公开数据分析生成,含推测成分,不构成收益承诺。
报告会保存到 个人中心

竞品与相似项目 GitHub Search 真实检索

项目中文简介Stars语言
Zetaphor/whatcable-linux 中文介绍暂未生成
A linux/KDE port of whatcable, a tool to tell you what each
307 C++
darrylmorley/whatcable-windows 中文介绍暂未生成
Experimental - WhatCable Windows
91 PowerShell
nedrichards/whatcable-linux 中文介绍暂未生成
GNOME USB-C cable and power diagnostic viewer for Linux
71 Python
darrylmorley/homebrew-whatcable 中文介绍暂未生成
10 Ruby
lewys-miugo/whatcable-py 中文介绍暂未生成
10 Python
darrylmorley/whatcable-android 中文介绍暂未生成
WhatCable for Android - USB-C cable diagnostic app
9 Kotlin
以上为通过 GitHub 官方 Search API 检索的相似项目,功能差异与优劣势需进一步人工确认,配置 AI 后可生成对比分析。

项目优势与风险

技术成熟度创建于 ,最近推送 ,发布过 100 个 Release
社区活跃Star 9,110 / Fork 0 / Issue 0(数据支持,可自行核实)
许可证未检测到(需人工确认)
主要风险上游项目方向可能变化;同赛道竞争者较多(见竞品表);热度与需求不完全等价

安装与使用

快速开始(以仓库 README 为准)
git clone https://github.com/darrylmorley/whatcable.git
cd whatcable
# 请阅读仓库 README 获取确切安装步骤(依赖、配置、启动命令)
阅读原仓库文档
术语说明:Docker=应用容器(把程序和依赖打包运行);API Key=调用外部服务的密钥;Git Clone=把仓库代码下载到本地。常见错误:API Key 未配置 / 端口占用 / 数据库连接失败,多数项目在 README 的 Troubleshooting 章节有说明。