{"id":51845933,"url":"https://github.com/mkb79/httpcatcher-parser","last_synced_at":"2026-07-23T12:02:27.631Z","repository":{"id":323014829,"uuid":"1062640507","full_name":"mkb79/httpcatcher-parser","owner":"mkb79","description":null,"archived":false,"fork":false,"pushed_at":"2025-11-07T15:11:50.000Z","size":149,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-11-07T16:25:06.850Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"agpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mkb79.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","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":null,"dco":null,"cla":null}},"created_at":"2025-09-23T14:21:15.000Z","updated_at":"2025-09-23T18:46:16.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/mkb79/httpcatcher-parser","commit_stats":null,"previous_names":["mkb79/httpcatcher-parser"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/mkb79/httpcatcher-parser","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mkb79%2Fhttpcatcher-parser","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mkb79%2Fhttpcatcher-parser/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mkb79%2Fhttpcatcher-parser/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mkb79%2Fhttpcatcher-parser/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mkb79","download_url":"https://codeload.github.com/mkb79/httpcatcher-parser/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mkb79%2Fhttpcatcher-parser/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":35801473,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-07-20T02:08:10.276Z","status":"online","status_checked_at":"2026-07-23T02:00:06.683Z","response_time":57,"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":"2026-07-23T12:02:26.723Z","updated_at":"2026-07-23T12:02:27.627Z","avatar_url":"https://github.com/mkb79.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# httpcatcher-parser\n\n**httpcatcher-parser** is a Python library and CLI to parse binary **[HTTP Catcher](https://httpcatcher.com)** session\nfiles and export them to the **HAR** format. The project is designed to be installed and\nrun via **uv** directly from a Git repository or local path (no PyPI required).\n\n\u003e ⚠️ Not affiliated with or endorsed by \"HTTP Catcher\". Use responsibly.\n\n---\n\n## CLI tools\n\nThis README reflects the current `argparse` interfaces in your sources:\n\n### `hc-parser` -- session inspector\n\nParses a session file and optionally reports unparsed offset ranges (\"gaps\").\n\n```\nUsage: hc-parser SESSION [--outdir DIR] [--report-gaps] [--min-gap-bytes N]\n\nPositional arguments:\n  SESSION                 Path to session file to parse\n\nOptions:\n  --outdir DIR            Output directory. Default: result_{basename_without_suffix}\n  --report-gaps           Report unparsed offset ranges and coverage.\n  --min-gap-bytes N       Only include gaps \u003e= N bytes in the .gaps.txt report (default 1).\n```\n\n### `hc-har` -- HAR exporter\n\nConverts a session file to a `.har` file.\n\n```\nUsage: hc-har SESSION [--outdir DIR] [--outfile NAME] [--include-payload] [--no-decompress]\n\nPositional arguments:\n  SESSION                 Path to session file\n\nOptions:\n  --outdir DIR            Output directory (default: result_{basename})\n  --outfile NAME          Output HAR file name (default: \u003cbasename\u003e.har)\n  --include-payload       Include request/response bodies in HAR\n  --no-decompress         Do not decompress response bodies\n```\n\n---\n\n## Quick start with `uv`\n\n### Run once from Git (no install)\n```bash\nuvx --from git+https://github.com/mkb79/httpcatcher-parser.git hc-parser --help\nuvx --from git+https://github.com/mkb79/httpcatcher-parser.git hc-har --help\n```\n\n### Install as a global tool (from Git)\n```bash\nuv tool install --git https://github.com/mkb79/httpcatcher-parser.git\nhc-parser --help\nhc-har --help\n```\n\n### Local development (working copy)\n```bash\n# Run without installing\nuv run hc-parser path/to/input.session --report-gaps --min-gap-bytes 32\nuv run hc-har path/to/input.session --outfile my.har --include-payload\n\n# Install as a tool from the current path\nuv tool install --path .\nhc-parser --help\n```\n\n---\n\n## Exporting sessions from HTTP Catcher\n\nSession files must first be exported from the [HTTP Catcher app](https://httpcatcher.com).\n\n1. Open HTTP Catcher and go to the list of **Saved Sessions**.  \n2. Swipe **left** on the desired session.  \n3. Tap **Share**.  \n4. Choose **Save to Files**.  \n5. Select a location in the Files app (e.g. iCloud Drive, On My iPhone).  \n\nYou can then pass the saved `session` file to `hc-parser` or `hc-har` as described above.\n\n---\n## Project layout\n\n```\n.\n├─ src/\n│  └─ httpcatcher_parser/\n│     ├─ hc_parser.py     # binary session parser (argparse)\n│     └─ hc_har.py        # HAR exporter (argparse)\n├─ Specification.md\n├─ README.md\n├─ pyproject.toml\n└─ .python-version\n```\n\n---\n\n## License\n\nAGPL-3.0-only © 2025 [mkb79](mailto:mkb79@hackitall.de)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmkb79%2Fhttpcatcher-parser","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmkb79%2Fhttpcatcher-parser","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmkb79%2Fhttpcatcher-parser/lists"}