{"id":23881798,"url":"https://github.com/zikani03/dujar","last_synced_at":"2026-02-03T22:03:10.317Z","repository":{"id":70574977,"uuid":"383960283","full_name":"zikani03/dujar","owner":"zikani03","description":"Basically du for .jar files - peak inside a jar file and see the sizes of the resources in the jar","archived":false,"fork":false,"pushed_at":"2021-08-12T08:12:48.000Z","size":3958,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-07-08T03:41:56.244Z","etag":null,"topics":["du","java","kotlin","toy-project"],"latest_commit_sha":null,"homepage":"","language":"Kotlin","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/zikani03.png","metadata":{"files":{"readme":"README.md","changelog":null,"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}},"created_at":"2021-07-08T00:46:52.000Z","updated_at":"2025-01-14T03:23:29.000Z","dependencies_parsed_at":null,"dependency_job_id":"ad5e2b33-0f9d-446d-b5b2-50ab0b9b5add","html_url":"https://github.com/zikani03/dujar","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/zikani03/dujar","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zikani03%2Fdujar","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zikani03%2Fdujar/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zikani03%2Fdujar/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zikani03%2Fdujar/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zikani03","download_url":"https://codeload.github.com/zikani03/dujar/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zikani03%2Fdujar/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29059005,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-03T20:13:53.544Z","status":"ssl_error","status_checked_at":"2026-02-03T20:13:40.507Z","response_time":96,"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":["du","java","kotlin","toy-project"],"created_at":"2025-01-04T01:59:00.284Z","updated_at":"2026-02-03T22:03:10.311Z","avatar_url":"https://github.com/zikani03.png","language":"Kotlin","funding_links":[],"categories":[],"sub_categories":[],"readme":"dujar\n=====\n\n\u003e My first ever Kotlin thingie, yay! 🥳\n\nBasically `du` for .jar files - peak inside a jar file and see the sizes of the resources in the jar \n\nIt is still early days and I'd like it to get it to work something like [goweight](https://github.com/jondot/goweight) with the JSON output and all. \n\nAlso needs more and actual command-line arguments and maybe even a kotlin-native build.\n\n## Why?\n\nI needed something like this at work and also needed a good reason to learn Kotlin.\n\n**Example output**\n\nRan it on a build of [zefaker](https://github.com/creditdatamw/zefaker), oof - those YAMLs takin up space huh.\n\n```\n$ java -jar dujar.jar zefaker-all.jar\n\n1.4 MiB en-US.yml\n1.0 MiB org/codehaus/groovy/runtime/ArrayUtil.class\n937.8 KiB       groovyjarjarantlr4/v4/unicode/UnicodeData.class\n526.3 KiB       org/apache/poi/sl/draw/geom/presetShapeDefinitions.xml\n507.2 KiB       org/apache/poi/xssf/usermodel/presetTableStyles.xml \n504.7 KiB       org/apache/groovy/util/Maps.class\n356.2 KiB       nl.yml\n...TRUNCATED...\n```\n\n## Building\n\nAssuming you have the Kotlin compiler on your PATH\n\n```sh\n$ kotlinc dujar.kt -include-runtime -d dujar.jar\n```\n\n## Running\n\n```sh\n$ java -jar dujar.jar /path/to/file.jar\n```\n\n---\n\nCopyright (c) Zikani Nyirenda Mwase\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzikani03%2Fdujar","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzikani03%2Fdujar","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzikani03%2Fdujar/lists"}