{"id":19935657,"url":"https://github.com/gameanalytics/har_redbug","last_synced_at":"2025-05-03T12:31:26.734Z","repository":{"id":44473058,"uuid":"146628911","full_name":"GameAnalytics/har_redbug","owner":"GameAnalytics","description":"Trace an Erlang node and write HTTP requests to a file in HAR format","archived":true,"fork":false,"pushed_at":"2019-03-12T17:25:54.000Z","size":10,"stargazers_count":12,"open_issues_count":0,"forks_count":0,"subscribers_count":9,"default_branch":"master","last_synced_at":"2025-03-05T00:33:55.294Z","etag":null,"topics":["cowboy","debugging","elixir","erlang","hackney","http","maru","phoenix-framework"],"latest_commit_sha":null,"homepage":"","language":"Erlang","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/GameAnalytics.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}},"created_at":"2018-08-29T16:35:30.000Z","updated_at":"2025-02-04T09:53:39.000Z","dependencies_parsed_at":"2022-08-30T11:30:34.815Z","dependency_job_id":null,"html_url":"https://github.com/GameAnalytics/har_redbug","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GameAnalytics%2Fhar_redbug","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GameAnalytics%2Fhar_redbug/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GameAnalytics%2Fhar_redbug/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GameAnalytics%2Fhar_redbug/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/GameAnalytics","download_url":"https://codeload.github.com/GameAnalytics/har_redbug/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252190973,"owners_count":21708988,"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","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":["cowboy","debugging","elixir","erlang","hackney","http","maru","phoenix-framework"],"created_at":"2024-11-12T23:21:14.055Z","updated_at":"2025-05-03T12:31:26.456Z","avatar_url":"https://github.com/GameAnalytics.png","language":"Erlang","readme":"har_redbug\n=====\n\n[![Build Status](https://travis-ci.org/GameAnalytics/har_redbug.svg?branch=master)](https://travis-ci.org/GameAnalytics/har_redbug)\n\nAttach to an Erlang node, trace both incoming and outgoing HTTP\nrequests, and write a file in [HAR format][har-format].\n\nHAR files can be viewed in popular web browsers: open developer tools,\nselect the \"Network\" tab, and drag and drop the HAR file into the\nwindow.  You can also use the [HTTP Archive Viewer Chrome\nextension][har-viewer].\n\nThe purpose of this tool is to get a transcript of HTTP requests for\ndevelopment, debugging, and documentation.  It is possible to achieve\nsomething similar by capturing network traffic using e.g. tcpdump or\nWireshark, but that doesn't work as well when connections are\nencrypted.\n\nAs the name implies, this tool is based on [redbug][redbug].\n\nCurrently supported:\n\n* cowboy 1 and 2 (incoming requests)\n* shotgun (outgoing requests)\n* hackney (outgoing requests)\n\n[har-format]: http://www.softwareishard.com/blog/har-12-spec/\n[har-viewer]: https://chrome.google.com/webstore/detail/http-archive-viewer/ebbdbdmhegaoooipfnjikefdpeoaidml\n[redbug]: https://github.com/massemanet/redbug\n\nBuild\n-----\n\n    $ rebar3 compile \u0026\u0026 rebar3 escriptize\n\nThis generates an escript archive in `_build/default/bin/har_redbug`.\nThe archive is path-independent, so you can move it wherever you want.\nIt only contains BEAM files, so it is platform-independent: you can\nrun it anywhere you have `escript` in the path.\n\nRun\n---\n\n    $ _build/default/bin/har_redbug NODENAME -cookie COOKIE -msgs 1000 -time 15000\n\nThat is, connect to NODENAME with the given cookie, and collect data\nuntil 1000 trace messages have been received or 15 seconds have\npassed, whichever comes first.\n\nThe output is written to `redbug.har` in the current directory.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgameanalytics%2Fhar_redbug","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgameanalytics%2Fhar_redbug","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgameanalytics%2Fhar_redbug/lists"}