{"id":15567370,"url":"https://github.com/laktak/pipevcr","last_synced_at":"2025-04-24T00:03:21.727Z","repository":{"id":57452925,"uuid":"312313266","full_name":"laktak/pipevcr","owner":"laktak","description":"Record and play back Linux pipes at different speeds","archived":false,"fork":false,"pushed_at":"2024-01-25T22:08:08.000Z","size":8,"stargazers_count":17,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-24T00:03:14.308Z","etag":null,"topics":["asciicast","cli","pipes","recorder","recording","terminal","terminal-recording","testing"],"latest_commit_sha":null,"homepage":"https://pypi.org/project/pipevcr/","language":"Python","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/laktak.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}},"created_at":"2020-11-12T15:11:55.000Z","updated_at":"2024-12-30T22:25:34.000Z","dependencies_parsed_at":"2024-01-25T23:26:27.505Z","dependency_job_id":"b0bfb821-d33e-46e8-a0b4-4e5e2ebabdc8","html_url":"https://github.com/laktak/pipevcr","commit_stats":{"total_commits":4,"total_committers":1,"mean_commits":4.0,"dds":0.0,"last_synced_commit":"18d9172901ae7fa521e87d24606a5defeeae9504"},"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/laktak%2Fpipevcr","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/laktak%2Fpipevcr/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/laktak%2Fpipevcr/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/laktak%2Fpipevcr/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/laktak","download_url":"https://codeload.github.com/laktak/pipevcr/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250535088,"owners_count":21446507,"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":["asciicast","cli","pipes","recorder","recording","terminal","terminal-recording","testing"],"created_at":"2024-10-02T17:10:51.059Z","updated_at":"2025-04-24T00:03:21.675Z","avatar_url":"https://github.com/laktak.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n# pipevcr\n\nRecord and play back pipes. Similar to what `script` does with the terminal but for pipes.\n\nThis can be used for debugging or testing where timing matters.\n\n## Installation\n\n```\npip3 install --user pipevcr\n\n# or if you have pipx\npipx install pipevcr\n```\n\n## Usage\n\n```\nusage: pipevcr [-h] [-r] [-s SPEED] [-m MAX_PAUSE] FILE\n\npipevcr - the linux pipe recorder\n\npositional arguments:\n  FILE                  data file\n\noptions:\n  -h, --help            show this help message and exit\n  -r, --record          record pipe\n  -s SPEED, --speed SPEED\n                        playback speed, \u003c1 to slow down, \u003e1 to speed up\n  -m MAX_PAUSE, --max-pause MAX_PAUSE\n                        max pause time between outputs in seconds\n```\n\n## Record\n\nYou record a pipe with `-r`, e.g.:\n\n```\n(echo wait 1; sleep 1; echo wait 2; sleep 2; echo end) | pipevcr -r test.vcr\n```\n\n## Playback\n\nAnd play it back with:\n\n```\npipevcr test.vcr\n```\n\n## Faster\n\nTo speed it up (2=double):\n\n```\npipevcr -s 2 test.vcr\n```\n\n## Slower\n\nTo slow it down (.5=half):\n\n```\npipevcr -s .5 test.vcr\n```\n\nYou can also set the maximum pause time separately:\n\n```\npipevcr -m 1 test.vcr\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flaktak%2Fpipevcr","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flaktak%2Fpipevcr","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flaktak%2Fpipevcr/lists"}