{"id":50870019,"url":"https://github.com/ak1ra-lab/smartscan","last_synced_at":"2026-06-15T04:04:47.390Z","repository":{"id":364588567,"uuid":"1267562159","full_name":"ak1ra-lab/smartscan","owner":"ak1ra-lab","description":"A CLI tool that collects SMART data from disk devices, checks configurable health thresholds, optionally analyses results with an LLM, and tracks history in SQLite.","archived":false,"fork":false,"pushed_at":"2026-06-13T17:19:44.000Z","size":130,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2026-06-13T17:25:00.719Z","etag":null,"topics":["hardware-diagnostics","hdd","homelab","llm-analysis","nvme","smart","smartctl","smartmontools"],"latest_commit_sha":null,"homepage":"https://ak1ra-lab.github.io/smartscan/","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ak1ra-lab.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","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":"AGENTS.md","dco":null,"cla":null}},"created_at":"2026-06-12T16:49:20.000Z","updated_at":"2026-06-13T15:45:26.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/ak1ra-lab/smartscan","commit_stats":null,"previous_names":["ak1ra-lab/smartscan"],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/ak1ra-lab/smartscan","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ak1ra-lab%2Fsmartscan","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ak1ra-lab%2Fsmartscan/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ak1ra-lab%2Fsmartscan/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ak1ra-lab%2Fsmartscan/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ak1ra-lab","download_url":"https://codeload.github.com/ak1ra-lab/smartscan/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ak1ra-lab%2Fsmartscan/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34326493,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-14T02:00:07.365Z","response_time":62,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["hardware-diagnostics","hdd","homelab","llm-analysis","nvme","smart","smartctl","smartmontools"],"created_at":"2026-06-15T04:04:46.685Z","updated_at":"2026-06-15T04:04:47.385Z","avatar_url":"https://github.com/ak1ra-lab.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# smartscan\n\n[![GitHub Actions Workflow Status](https://img.shields.io/github/actions/workflow/status/ak1ra-lab/smartscan/.github%2Fworkflows%2Fpublish-to-pypi.yaml)](https://github.com/ak1ra-lab/smartscan/actions/workflows/publish-to-pypi.yaml)\n[![PyPI - Version](https://img.shields.io/pypi/v/smartscan)](https://pypi.org/project/smartscan/)\n[![PyPI - Version](https://img.shields.io/pypi/v/smartscan?label=test-pypi\u0026pypiBaseUrl=https%3A%2F%2Ftest.pypi.org)](https://test.pypi.org/project/smartscan/)\n[![Docs](https://img.shields.io/badge/docs-online-0a7ea4)](https://ak1ra-lab.github.io/smartscan/)\n\nA CLI tool that runs smartctl on all disks, extracts key SMART health metrics, and stores historical results in SQLite for tracking changes over time.\n\n## Quick start\n\nInstall [smartmontools](https://www.smartmontools.org/) to provide the `smartctl` command, then install smartscan:\n\n```bash\nuv tool install smartscan\n```\n\nCollect SMART data from all disks (requires root):\n\n```bash\nsudo smartscan collect\nsudo smartscan collect --no-save \"WDC\"\nsudo smartscan collect --verbose\nsudo smartscan --json collect\n```\n\nQuery historical records, filter by name, or get JSON output:\n\n```bash\nsmartscan query --since 2026-01-01\nsmartscan query --last-days 7 --verbose\n```\n\nMap disks to their /dev/disk/ identifiers (no root needed):\n\n```bash\nsmartscan lsblk\nsmartscan lsblk --source by-id \"Samsung\"\nsmartscan --exclude '^/dev/(loop|zd)\\d+' lsblk\n```\n\nRead the [full documentation](https://ak1ra-lab.github.io/smartscan/) for shell completion, configuration reference, and advanced usage.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fak1ra-lab%2Fsmartscan","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fak1ra-lab%2Fsmartscan","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fak1ra-lab%2Fsmartscan/lists"}