{"id":32450982,"url":"https://github.com/ranaaditya/usbpro","last_synced_at":"2026-04-18T19:31:39.330Z","repository":{"id":319272038,"uuid":"1072074439","full_name":"ranaaditya/usbpro","owner":"ranaaditya","description":"USB Diagnostic tool for Linux first Systems","archived":false,"fork":false,"pushed_at":"2025-10-08T17:08:34.000Z","size":3335,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-12-10T15:00:06.459Z","etag":null,"topics":["linux","lsusb","usb","usb-c","usb-devices"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ranaaditya.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-10-08T08:18:43.000Z","updated_at":"2025-10-08T17:10:45.000Z","dependencies_parsed_at":"2025-10-18T17:06:07.392Z","dependency_job_id":"6de44924-d179-4fa6-be7a-dbae777cff9c","html_url":"https://github.com/ranaaditya/usbpro","commit_stats":null,"previous_names":["ranaaditya/usbpro"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ranaaditya/usbpro","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ranaaditya%2Fusbpro","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ranaaditya%2Fusbpro/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ranaaditya%2Fusbpro/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ranaaditya%2Fusbpro/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ranaaditya","download_url":"https://codeload.github.com/ranaaditya/usbpro/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ranaaditya%2Fusbpro/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31982496,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-18T17:30:12.329Z","status":"ssl_error","status_checked_at":"2026-04-18T17:29:59.069Z","response_time":103,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["linux","lsusb","usb","usb-c","usb-devices"],"created_at":"2025-10-26T06:48:39.961Z","updated_at":"2026-04-18T19:31:39.322Z","avatar_url":"https://github.com/ranaaditya.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n  \u003cimg src=\"static/usbpro_banner.png\" alt=\"USBPRO banner\"/\u003e\n\u003c/p\u003e\n\n\n```\n▗▖ ▗▖ ▗▄▄▖▗▄▄▖ ▗▄▄▖ ▗▄▄▖  ▗▄▖ \n▐▌ ▐▌▐▌   ▐▌ ▐▌▐▌ ▐▌▐▌ ▐▌▐▌ ▐▌\n▐▌ ▐▌ ▝▀▚▖▐▛▀▚▖▐▛▀▘ ▐▛▀▚▖▐▌ ▐▌\n▝▚▄▞▘▗▄▄▞▘▐▙▄▞▘▐▌   ▐▌ ▐▌▝▚▄▞▘\n```\n\n# USBPRO — USB Diagnostic Tool for Linux\n\n\u003e A simple, zero-dependency CLI tool to **inspect, analyze, and visualize** connected USB devices on Linux — with a clean, readable tree view.     \n\u003e Built in Go. Lightweight, fast, and made for humans. ❤️\n\n---\n\n## 🧭 Overview\n\n`USBPRO` is a command-line utility that parses detailed USB information using the native `lsusb -v` command and presents it in a structured, color-coded tree.\n\nIt helps you quickly see what’s plugged into your machine — **from hubs to devices to speeds** — in an intuitive visual format, without digging through raw terminal output.\n\n---\n\n## ✨ Features\n\n- 🚀 **Fast \u0026 Native** — built in pure Go, runs anywhere `lsusb` does.  \n- 🌈 **Color-coded Speeds** — instantly spot USB 1.x, 2.x, 3.x, and 4.0 devices.  \n- 🌲 **Tree-style Hierarchy** — see device relationships clearly.  \n- 💡 **Readable \u0026 Minimal Output** — no clutter, just useful info.  \n- 🧩 **No External Libraries** — pure Go and ANSI colors.  \n- 🐧 **Linux-First** — works seamlessly on Ubuntu, Debian, Fedora, Arch, etc.\n\n---\n\n## 📸 Example Output\n\n\u003cp align=\"center\"\u003e\n  \u003cimg src=\"static/usbpro_output.png\" alt=\"USBPRO banner\"/\u003e\n\u003c/p\u003e\n\n\n\u003c!-- ```\n▗▖ ▗▖ ▗▄▄▖▗▄▄▖ ▗▄▄▖ ▗▄▄▖  ▗▄▖ \n▐▌ ▐▌▐▌   ▐▌ ▐▌▐▌ ▐▌▐▌ ▐▌▐▌ ▐▌\n▐▌ ▐▌ ▝▀▚▖▐▛▀▚▖▐▛▀▘ ▐▛▀▚▖▐▌ ▐▌\n▝▚▄▞▘▗▄▄▞▘▐▙▄▞▘▐▌   ▐▌ ▐▌▝▚▄▞▘\n                              \n                                                            \n\n├─ Linux Foundation 2.0 root hub\n│ Speed        : USB 2.0 (480 Mb/s)\n│ Manufacturer : Linux Foundation\n│ Vendor ID    : 1d6b\n│ Power        : 0\n├─ Huasheng Electronics USB2.0 HUB\n│ Speed        : USB 2.0 (480 Mb/s)\n│ Manufacturer : Huasheng Electronics\n│ Vendor ID    : 214b\n│ Power        : 100\n├─ Elan Microelectronics Corp. ELAN:Fingerprint\n│ Speed        : USB 2.0 (480 Mb/s)\n│ Manufacturer : Elan Microelectronics Corp.\n│ Vendor ID    : 04f3\n│ Power        : 0\n├─ Logitech, Inc. USB Receiver\n│ Speed        : USB 2.0 (480 Mb/s)\n│ Manufacturer : Logitech, Inc.\n│ Vendor ID    : 046d\n│ Power        : 98\n├─ Lite-On Technology Corp. Integrated Camera\n│ Speed        : USB 2.01\n│ Manufacturer : Lite-On Technology Corp.\n│ Vendor ID    : 04ca\n│ Power        : 500\n├─ Areson Technology Corp Elecom Co., Ltd MR-K013 Multicard Reader\n│ Speed        : USB 1.1 (12 Mb/s)\n│ Manufacturer : Areson Technology Corp\n│ Vendor ID    : 25a7\n│ Power        : 100\n├─ Intel Corp. Bluetooth 9460/9560 Jefferson Peak (JfP)\n│ Speed        : USB 2.0 (480 Mb/s)\n│ Manufacturer : Intel Corp.\n│ Vendor ID    : 8087\n│ Power        : 100\n├─ Logitech, Inc. G213 Prodigy Gaming Keyboard\n│ Speed        : USB 2.0 (480 Mb/s)\n│ Manufacturer : Logitech, Inc.\n│ Vendor ID    : 046d\n│ Power        : 500\n└─ Linux Foundation 3.0 root hub\n  Speed        : USB 3.1 (10 Gb/s)\n  Manufacturer : Linux Foundation\n  Vendor ID    : 1d6b\n  Power        : 0\n\nSpeed Legend:\n USB 1.0/1.1 - Very slow, legacy devices\n USB 2.0     - Slower, older devices\n USB 3.0/3.1 - Fast, modern devices\n USB 3.2/USB4 - Very fast, latest devices\n\nDone.\n``` --\u003e\n\n## Installation\n\n```bash\ngit clone https://github.com/ranaaditya/usbpro.git\ncd usbpro\ngo build -o usbpro ./cmd/usbpro\nsudo mv usbpro /usr/local/bin/\n```\n\n## Project Structure\n```\nusbpro/\n├── cmd/\n│   └── usbpro/\n│       └── main.go         # Entry point\n└── internal/\n    └── usb/\n        ├── parser.go       # Parses `lsusb -v` output\n        ├── printer.go      # Pretty tree + color formatting\n        └── tree.go         # Hierarchy builder\n\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Franaaditya%2Fusbpro","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Franaaditya%2Fusbpro","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Franaaditya%2Fusbpro/lists"}