{"id":13449386,"url":"https://github.com/outersky/har-tools","last_synced_at":"2025-09-18T08:11:18.074Z","repository":{"id":9642428,"uuid":"11575727","full_name":"outersky/har-tools","owner":"outersky","description":"tools for HAR file","archived":false,"fork":false,"pushed_at":"2020-11-17T03:58:14.000Z","size":679,"stargazers_count":196,"open_issues_count":3,"forks_count":39,"subscribers_count":11,"default_branch":"master","last_synced_at":"2025-06-16T07:57:41.423Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/outersky.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}},"created_at":"2013-07-22T07:54:05.000Z","updated_at":"2025-04-23T16:19:12.000Z","dependencies_parsed_at":"2022-09-04T10:40:23.784Z","dependency_job_id":null,"html_url":"https://github.com/outersky/har-tools","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/outersky/har-tools","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/outersky%2Fhar-tools","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/outersky%2Fhar-tools/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/outersky%2Fhar-tools/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/outersky%2Fhar-tools/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/outersky","download_url":"https://codeload.github.com/outersky/har-tools/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/outersky%2Fhar-tools/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":275732391,"owners_count":25518099,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-09-18T02:00:09.552Z","response_time":77,"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":[],"created_at":"2024-07-31T06:00:36.810Z","updated_at":"2025-09-18T08:11:18.043Z","avatar_url":"https://github.com/outersky.png","language":"Go","funding_links":[],"categories":["Processing tools","Go"],"sub_categories":[],"readme":"har-tools\n=========\n\ntools for HAR file\n\nharx : extract files from HAR file. Domain name and all fold info are kept.\n\n\ninstallation\n------------\n\nharx can be installed using (you need go 1.14)\n\n     go get -v github.com/outersky/har-tools/cmd/harx\n     \nthis will install an executable in your default path for go executables $GOPATH/bin (default GOPATH=$HOME/go)\n\n     \nharx\n--------\n\nUsage: harx [options] har-file\n\n    -l                           List files , lead by [index]\n    -lu  urlPattern              like -l , but filter by urlPattern\n    -lm  mimetypePattern         like -l , but filter by response mimetype\n    -x   dir                     eXtract all content to [dir]\n    -xi  index                   eXtract the [index] content , need run with -l first to get [index]\n    -xu  urlPattern      dir     like -x , but filter by urlPattern\n    -xm  mimetypePattern dir     like -x , but filter by mimetypePattern\n    -xmd mimetypePattern dir     like -xm , but dump contents directly to [dir]\n\nExamples\n--------\n\nStep1: Save HAR.\n\n- open Chrome browser ;\n- open Develeper Tools, switch to Network panel;\n- enter website url, you will see all requests in Network panel;\n- Right Click in Network panel, choose \"Save as HAR with Content\", that's all.\n\n- or you can try [Capture HAR files from a remote Chrome instance][3]\n\nStep2: Explor content in HAR\n\n    $ harx -l /tmp/site.har\n\n    You will get something like this:\n\n        mac:har-tools tony$ harx -l /tmp/google.har \n        [  0][   GET][                text/html][Size:    3247][URL:http://www.google.cn/]\n        [  1][   GET][                image/png][Size:    7842][URL:http://www.google.cn/landing/cnexp/google-search.png]\n        [  2][   GET][                text/html][Size:     962][URL:http://www.google.cn/intl/zh-CN_cn/images/cn_icp.gif]\n\nStep3: Extract them all.\n\n    $ harx -x /tmp/some_dir /tmp/site.har\n\n    Now you can jump into that folder to see what you get .\n\n\nResources\n---------\n\n- [HAR 1.2 Spec][1]\n- [HAR Viewer][2]\n- [Tools, projects and applications that support HTTP Archive format (HAR)][4]\n\n[1]: http://www.softwareishard.com/blog/har-12-spec/\n[2]: http://www.softwareishard.com/blog/har-viewer/\n[3]: https://github.com/cyrus-and/chrome-har-capturer\n[4]: http://www.softwareishard.com/blog/har-adopters\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foutersky%2Fhar-tools","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Foutersky%2Fhar-tools","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foutersky%2Fhar-tools/lists"}