[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-82229":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":10,"language":11,"languages":10,"totalLinesOfCode":10,"stars":12,"forks":13,"watchers":14,"openIssues":15,"contributorsCount":16,"subscribersCount":16,"size":16,"stars1d":16,"stars7d":17,"stars30d":18,"stars90d":16,"forks30d":16,"starsTrendScore":16,"compositeScore":19,"rankGlobal":10,"rankLanguage":10,"license":20,"archived":21,"fork":21,"defaultBranch":22,"hasWiki":23,"hasPages":21,"topics":24,"createdAt":10,"pushedAt":10,"updatedAt":30,"readmeContent":31,"aiSummary":32,"trendingCount":16,"starSnapshotCount":16,"syncStatus":15,"lastSyncTime":33,"discoverSource":34},82229,"whatcable-linux","nedrichards\u002Fwhatcable-linux","nedrichards","GNOME USB-C cable and power diagnostic viewer for Linux","",null,"Python",36,3,1,2,0,5,7,45.01,"GNU General Public License v3.0",false,"main",true,[25,26,27,28,29],"gnome","linux","python","usb","usb-c","2026-06-12 04:01:37","# WhatCable\n\nA GNOME\u002FGTK4 USB-C cable and power diagnostic viewer for Linux.\n\n![WhatCable showing connected USB devices and hardware details](data\u002Fscreenshots\u002Fcom.nedrichards.WhatCable.png)\n\nThis is a Linux-native reimplementation inspired by\n[`darrylmorley\u002Fwhatcable`](https:\u002F\u002Fgithub.com\u002Fdarrylmorley\u002Fwhatcable). It reads\nkernel sysfs Type-C and USB Power Delivery classes and presents a plain-English\nsummary of each port.\n\n## Current Scope\n\n- Reads `\u002Fsys\u002Fclass\u002Ftypec` for Type-C ports, partners, cables, roles, and\n  identity VDOs when the kernel exposes them.\n- Reads `\u002Fsys\u002Fclass\u002Fusb_power_delivery` for advertised source PDOs when\n  available.\n- Provides both a GNOME\u002Flibadwaita UI and a `--json`\u002F`--raw` CLI.\n- Runs without root for read-only sysfs access.\n\nLinux support depends on your machine's Type-C\u002FPD driver. If firmware handles\nPD negotiation without exposing identity\u002Fcapability data to the kernel, the app\ncan only show the subset present in sysfs.\n\n## Development\n\n```sh\nmeson setup build\nmeson test -C build\nmeson install -C build\nwhatcable-linux --json --raw\nwhatcable-linux\n```\n\n## Flatpak\n\nThe first version is designed to work as a normal read-only Flatpak app. The\ndefault sandbox exposes the relevant sysfs paths read-only on current Flatpak:\n`\u002Fsys\u002Fclass`, `\u002Fsys\u002Fbus`, `\u002Fsys\u002Fdev`, and `\u002Fsys\u002Fdevices`.\n\nBuild locally with:\n\n```sh\nflatpak-builder --user --install --force-clean build-flatpak build-aux\u002Fcom.nedrichards.WhatCable.json\nflatpak run com.nedrichards.WhatCable\n```\n\nIf rofiles-fuse is not available in the build environment, add\n`--disable-rofiles-fuse` to the `flatpak-builder` command.\n\n`build-aux\u002Fstable\u002Fcom.nedrichards.WhatCable.json` is the release-style manifest\nintended for Flathub submission. It builds from the published `v0.1.0` Git tag\ninstead of the local checkout.\n\n## AppStream\n\nThe AppStream metadata lives in\n`data\u002Fcom.nedrichards.WhatCable.metainfo.xml`. It includes the project URLs,\ncontent rating, release entry, and screenshot required for a Flathub review.\n\n## License\n\nWhatCable Linux is licensed under the GNU General Public License v3.0 or later.\nSee `COPYING` for the full license text.\n\n---\n*Co-authored with a bunch of different AIs*\n","WhatCable 是一个面向 Linux 的 GNOME\u002FGTK4 USB-C 线缆和电源诊断查看工具。它通过读取内核 sysfs 中的 Type-C 和 USB 供电类信息，以通俗易懂的方式展示每个端口的状态与功能。该应用支持从 `\u002Fsys\u002Fclass\u002Ftypec` 和 `\u002Fsys\u002Fclass\u002Fusb_power_delivery` 读取数据，并提供图形界面及命令行输出选项。无需 root 权限即可运行，适用于需要了解或调试连接到 Linux 系统上的 USB-C 设备及其供电情况的场景。","2026-06-11 04:08:07","CREATED_QUERY"]