{"id":40690037,"url":"https://github.com/maxandersen/jdysk","last_synced_at":"2026-01-21T11:04:40.371Z","repository":{"id":298076734,"uuid":"998787092","full_name":"maxandersen/jdysk","owner":"maxandersen","description":"java version of dysk","archived":false,"fork":false,"pushed_at":"2025-07-09T12:57:49.000Z","size":4,"stargazers_count":9,"open_issues_count":0,"forks_count":2,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-07-09T13:55:35.984Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Java","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/maxandersen.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}},"created_at":"2025-06-09T08:48:47.000Z","updated_at":"2025-07-09T12:57:54.000Z","dependencies_parsed_at":"2025-06-09T09:46:41.679Z","dependency_job_id":null,"html_url":"https://github.com/maxandersen/jdysk","commit_stats":null,"previous_names":["maxandersen/jdysk"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/maxandersen/jdysk","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maxandersen%2Fjdysk","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maxandersen%2Fjdysk/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maxandersen%2Fjdysk/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maxandersen%2Fjdysk/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/maxandersen","download_url":"https://codeload.github.com/maxandersen/jdysk/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maxandersen%2Fjdysk/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28632277,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-21T04:47:28.174Z","status":"ssl_error","status_checked_at":"2026-01-21T04:47:22.943Z","response_time":86,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: 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":[],"created_at":"2026-01-21T11:04:40.316Z","updated_at":"2026-01-21T11:04:40.366Z","avatar_url":"https://github.com/maxandersen.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# jdysk\n\nA modern, cross-platform terminal tool to visually display filesystem usage, inspired by [dysk](https://github.com/Canop/dysk) but written in Java using oshi library.\n\n## Features\n- Lists all mounted filesystems in a table\n- Shows device path, type, total/used/free space, mount point\n- Visual usage bar with color (red/green) for used/free space\n- Human-readable sizes (e.g., 1.2G, 500M)\n- Cross-platform: works on Linux, macOS, and Windows\n- No dependencies except Java and JBang\n\n## Usage\n\n### Prerequisites\n- [JBang](https://www.jbang.dev/)\n\n### Run directly\n```sh\njbang Dysk.java\n```\n\n### Or use the alias (if set up)\n```sh\njbang dysk@maxandersen/jdysk\n```\n\n### Output Example\n```\nFilesystem           Type     Total        Used         Use               Free         Mount Point         \n/dev/sda1            ext4     234.0G       120.0G       ██████░░░░░  51%  114.0G      /                   \n/dev/sdb1            xfs      1.8T         499.0G       ███░░░░░░░░  28%  1.3T        /home/dev           \n...\n```\n\n## How it was made\n- **Language:** Java 11+\n- **Scriptable:** Uses [JBang](https://www.jbang.dev/) for easy scripting and dependency management\n- **Filesystem Info:** Uses [OSHI](https://github.com/oshi/oshi) to get cross-platform filesystem and device information\n- **Visuals:** Unicode and ANSI color codes for terminal output\n- **Plan-driven:** Implementation followed a step-by-step plan documented in `plan.md`, with notes and progress logs\n- **No-Op Logger:** Uses SLF4J no-op logger to suppress unwanted log output from dependencies\n\n## Development Notes\n- See `plan.md` for the full planning and progress log\n- The script is designed to be portable and easy to run anywhere Java and JBang are available\n\n## License\nMIT (same as original dysk) ","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmaxandersen%2Fjdysk","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmaxandersen%2Fjdysk","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmaxandersen%2Fjdysk/lists"}