{"id":13994138,"url":"https://github.com/mandarg/rerun","last_synced_at":"2026-03-12T01:45:32.675Z","repository":{"id":137511833,"uuid":"2677634","full_name":"mandarg/rerun","owner":"mandarg","description":"A tiny utility to make it easy to run a bunch of commands over and over again.","archived":false,"fork":false,"pushed_at":"2018-07-10T01:25:39.000Z","size":4,"stargazers_count":23,"open_issues_count":3,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-11-29T15:50:59.877Z","etag":null,"topics":["python","repeat","utility"],"latest_commit_sha":null,"homepage":"","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/mandarg.png","metadata":{"files":{"readme":"README.markdown","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.markdown","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":"2011-10-30T23:32:16.000Z","updated_at":"2022-07-01T18:24:22.000Z","dependencies_parsed_at":"2024-01-18T04:51:38.050Z","dependency_job_id":"9357a03f-e681-4b6b-9e30-9b6dc56b38b3","html_url":"https://github.com/mandarg/rerun","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/mandarg/rerun","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mandarg%2Frerun","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mandarg%2Frerun/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mandarg%2Frerun/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mandarg%2Frerun/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mandarg","download_url":"https://codeload.github.com/mandarg/rerun/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mandarg%2Frerun/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266552577,"owners_count":23947179,"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-07-22T02:00:09.085Z","response_time":66,"last_error":null,"robots_txt_status":null,"robots_txt_updated_at":null,"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":["python","repeat","utility"],"created_at":"2024-08-09T14:02:43.587Z","updated_at":"2026-03-12T01:45:32.665Z","avatar_url":"https://github.com/mandarg.png","language":"Python","funding_links":[],"categories":["Python"],"sub_categories":[],"readme":"rerun\n=====\n\n`rerun` is a tiny little script that helps you run repetetive shell commands\nover and over again.\n\nThe Problem\n-----------\n\nImagine you're working on debugging an issue with a particular daemon, like\nCelery.  In one window you're editing code to try solutions, and in another\nyou're stopping and starting the Celery and RabbitMQ daemons.\n\nThe commands\nyou're running over and over in varying order might look like this:\n\n    sudo /etc/init.d/rabbitmq-server restart\n    sudo /etc/init.d/celeryd stop\n    sudo /etc/init.d/celeryd start\n    tail /var/log/celery/myhost.log\n    tail /var/log/celery/myotherhost.log\n\nRunning the various commands can be a pain.  They're similar enough that tab\ncompletion, zsh's history completion, and `Ctrl-R` searching all fall short.\nThat's where `rerun` comes in:\n\n![Screenshot of a rerun session](http://i.imgur.com/QcsuD.png)\n\nInstallation\n------------\n\n    curl 'https://raw.githubusercontent.com/mandarg/rerun/master/rerun' \u003e /usr/local/bin/rerun\n    chmod a+x /usr/local/bin/rerun\n\nUsage\n-----\n\nWhen you run `rerun` you're greeted with a prompt like this:\n\n    \u003e\n\nType `/help` (or just `/h`) to get a list of commands:\n\n    \u003e /help\n    (/a)dd [command]\n    (/d)elete [key]\n    (/h)elp\n    (/q)uit\n    (/r)run all commands in order shown\n\n    \u003e \n\nAdd commands to the list with `/add`.  You can specify the command right in the\n`/add` command or let `rerun` prompt you for it:\n\n    \u003e /add ls\n\n    [a] ls\n    \u003e /add\n    Enter command: pwd\n\n    [a] ls\n    [b] pwd\n    \u003e \n\nNow that you've got some commands in the list, run them by entering the key\ndisplayed next to their name:\n\n    [a] ls\n    [b] pwd\n    \u003e a\n    LICENSE.markdown\tREADME.markdown\t\trerun\n\n    [a] ls\n    [b] pwd\n    \u003e b\n    /Users/sjl/src/rerun\n\n    [a] ls\n    [b] pwd\n    \u003e \n\nIf you don't need a command any more you can `/delete` it:\n\n    [a] ls\n    [b] pwd\n    \u003e /delete b\n\n    [a] ls\n    \u003e /d\n    Which command? a\n\n    \u003e \n\nYou can also run all commands currently in the queue with a `/run` or `/r`:\n\n    \u003e /run\n\t/home/mandar/sandbox/rerun\n\tLICENSE.markdown\tREADME.markdown\t\trerun\n\n\t[a] pwd\n\t[b] ls\n\nUse `/quit` or `Ctrl-D` to exit.\n\nOther Information\n-----------------\n\n* Written by [@sjl](https://github.com/sjl), currently maintained by [@mandarg](https://github.com/mandarg)\n* Source (Mercurial): \u003chttps://bitbucket.org/mandarg/rerun/\u003e\n* Source (Git): \u003chttp://github.com/mandarg/rerun/\u003e\n* License: MIT/X11\n* Issues: \u003chttp://github.com/mandarg/rerun/issues/\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmandarg%2Frerun","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmandarg%2Frerun","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmandarg%2Frerun/lists"}