{"id":15529171,"url":"https://github.com/phally/sexy-scripts","last_synced_at":"2026-04-13T15:31:35.709Z","repository":{"id":138048030,"uuid":"268261616","full_name":"Phally/sexy-scripts","owner":"Phally","description":"Sexy scripts to make dev life bearable!","archived":false,"fork":false,"pushed_at":"2020-05-31T19:45:59.000Z","size":9,"stargazers_count":1,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-20T07:23:45.154Z","etag":null,"topics":["apis","bash","linux","macos","phpunit","rest-api","script","tdd-utilities"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Phally.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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}},"created_at":"2020-05-31T11:00:11.000Z","updated_at":"2021-12-19T16:42:03.000Z","dependencies_parsed_at":null,"dependency_job_id":"42dde459-91d7-4a28-9525-628234907e14","html_url":"https://github.com/Phally/sexy-scripts","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Phally/sexy-scripts","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Phally%2Fsexy-scripts","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Phally%2Fsexy-scripts/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Phally%2Fsexy-scripts/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Phally%2Fsexy-scripts/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Phally","download_url":"https://codeload.github.com/Phally/sexy-scripts/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Phally%2Fsexy-scripts/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31759242,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-13T15:25:13.801Z","status":"ssl_error","status_checked_at":"2026-04-13T15:25:09.162Z","response_time":93,"last_error":"SSL_read: 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":["apis","bash","linux","macos","phpunit","rest-api","script","tdd-utilities"],"created_at":"2024-10-02T11:16:43.019Z","updated_at":"2026-04-13T15:31:35.697Z","avatar_url":"https://github.com/Phally.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Sexy scripts to make dev life bearable!\n\nThis repository contains scripts for everyday life in macOS / Linux.\n\nI'm sure you can get it to work in Windows Bash or Cygwin as well.\n\nClone or download this repository and add it to the environment in `~/.zshrc` (for example) using:\n\n```bash\nexport PATH=\"${PATH}:/Users/phally/sexy-scripts\"\n```\n\n## Scripts you want to use\n\n### watchdo – run a command on folder or file change\n\nWatches given folder(s) and runs a given command when something changes.\n\nExtremely useful for Test Driven Development (TDD) or HTTP API development for example.\n\nYou don't have to refresh the browser, re-run a command or going back to things like Postman every time you want to execute a request.\n\nIt doesn't support aliases as it uses `xargs`. Requires [`fswatch`](https://github.com/emcrisostomo/fswatch/wiki/How-to-Use-fswatch) which can be installed using Homebrew or Apt.\n\n**Usage:**\n```bash\nwatchdo \u003cfolder ...\u003e -- \u003ccommand\u003e\n```\n\n**Examples:**\n```bash\n# Automatically run all PHPunit tests when you save something:\nwatchdo src -- vendor/bin/phpunit\n\n# Automatically run a single PHPunit test when you save something:\nwatchdo src -- vendor/bin/phpunit tests/TestCase/Controller/UsersControllerTest.php\n\n# Obviously useful for API development!\n# Watch the source code and do a HTTP request on save (with HTTPie):\nwatchdo src -- http GET http://localhost:3000/project/items.json\n\n# Run a command for the triggered file.\n# Here {} is replaced by the full path of the changed file:\nwatchdo folder1 folder2 -- ls -lah {}\n```\n\n## More to come\nIn time I'll probably add more scripts here.\n\nThese scripts are designed to be simple. Although I appreciate contributions a lot, issues or pull requests making them more complex might be closed.\n\n[![License: MIT](https://img.shields.io/badge/License-MIT-brightgreen.svg)](https://opensource.org/licenses/MIT)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fphally%2Fsexy-scripts","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fphally%2Fsexy-scripts","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fphally%2Fsexy-scripts/lists"}