{"id":16852611,"url":"https://github.com/avdv/replay","last_synced_at":"2026-03-04T12:03:57.241Z","repository":{"id":38015159,"uuid":"353121362","full_name":"avdv/replay","owner":"avdv","description":"REPL for command line apps.","archived":false,"fork":false,"pushed_at":"2026-03-01T03:20:34.000Z","size":578,"stargazers_count":6,"open_issues_count":10,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2026-03-01T06:47:36.412Z","etag":null,"topics":["bazel","cli","repl","tui"],"latest_commit_sha":null,"homepage":"","language":"Starlark","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/avdv.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,"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":"2021-03-30T19:40:39.000Z","updated_at":"2026-01-30T08:57:41.000Z","dependencies_parsed_at":"2023-11-12T02:29:51.846Z","dependency_job_id":"9b30b6d9-e272-4147-83e2-7bc8f1042141","html_url":"https://github.com/avdv/replay","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/avdv/replay","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/avdv%2Freplay","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/avdv%2Freplay/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/avdv%2Freplay/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/avdv%2Freplay/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/avdv","download_url":"https://codeload.github.com/avdv/replay/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/avdv%2Freplay/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30079565,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-04T11:57:42.557Z","status":"ssl_error","status_checked_at":"2026-03-04T11:56:10.793Z","response_time":59,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: 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":["bazel","cli","repl","tui"],"created_at":"2024-10-13T13:48:02.652Z","updated_at":"2026-03-04T12:03:57.186Z","avatar_url":"https://github.com/avdv.png","language":"Starlark","funding_links":[],"categories":[],"sub_categories":[],"readme":"![replay](images/logo.svg)\n\n\u0026mdash; *A REPL to play with.*\n\nWrap any command into a TUI, displaying its output in a scrollable area. Change\nparts of the command, hit enter to re-run the command again. Repeat.\n\n---\n\n![Github workflow status](https://github.com/avdv/replay/actions/workflows/test.yml/badge.svg?branch=main)\u003c/div\u003e\n\n# Building\n\nYou can build this project using [Bazel](https://bazel.build/) on [NixOS](https://nixos.org/):\n\n```console\n$ bazel build replay\n```\n\n# Usage\n\n## Synopsis\n\n```console\n$replay - interactive command line tool\n\nUsage: replay [-v|--version] [-n|--var-name NAME] [-w|--watch FILE] \n              [-i|--from-stdin] COMMAND ARGS\n  Repeatedly run a command and display its output.\n\nAvailable options:\n  -v,--version             output version information and exit\n  -n,--var-name NAME       name of the variable to replace (default: \"input\")\n  -w,--watch FILE          watch FILE and re-run command automatically if it\n                           changes\n  -i,--from-stdin          read input from stdin, pipe into program continually\n  -h,--help                Show this help text\n```\n\n## Configuration\n\n`replay` reads a config file in `ini` format from `~/.config/replay/config.ini` when it exists. This can be used to define defaults for specific commands.\n\nIts format is like this:\n```ini\n; a section is matched from the command given on the command line\n[cmd]\n;; arguments that will be prepended to the arguments given on the command line\nargs = --default --arguments --query={input}\n;; command to run instead of the command given on the command line\ncommand = foocmd\n;; the prompt to show before the text input\nprompt = $\n;; the default input of the command\ninput = help\n```\n\n## Example\n\n```console\n$ replay jq --color-output input -r wikipedia.json\n```\n\n![screenshot](images/shot1.png)\n\nThis command executes the [jq](https://stedolan.github.io/jq/) tool and displays the output in a text area. Editing the expression in the input field and hitting \u003ckbd\u003eEnter\u003c/kbd\u003e re-runs the command and displays the new output.\n\n![screenshot](images/shot2.png)\n\nPressing \u003ckbd\u003eEsc\u003c/kbd\u003e exits the program, and prints the last output to stdout.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Favdv%2Freplay","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Favdv%2Freplay","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Favdv%2Freplay/lists"}