{"id":16298212,"url":"https://github.com/kdeloach/scripty","last_synced_at":"2025-08-04T15:33:09.875Z","repository":{"id":27309529,"uuid":"30783666","full_name":"kdeloach/scripty","owner":"kdeloach","description":"Walk up from current directory and look for shell scripts in scripts/ folder","archived":false,"fork":false,"pushed_at":"2015-03-20T02:08:21.000Z","size":147,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-07-11T18:46:08.615Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/kdeloach.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":"2015-02-14T01:34:00.000Z","updated_at":"2022-02-05T02:05:48.000Z","dependencies_parsed_at":"2022-08-26T22:42:31.653Z","dependency_job_id":null,"html_url":"https://github.com/kdeloach/scripty","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/kdeloach/scripty","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kdeloach%2Fscripty","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kdeloach%2Fscripty/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kdeloach%2Fscripty/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kdeloach%2Fscripty/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kdeloach","download_url":"https://codeload.github.com/kdeloach/scripty/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kdeloach%2Fscripty/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":268715186,"owners_count":24295285,"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-08-04T02:00:09.867Z","response_time":79,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","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":[],"created_at":"2024-10-10T20:43:47.587Z","updated_at":"2025-08-04T15:33:09.810Z","avatar_url":"https://github.com/kdeloach.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# scripty\n\nRun scripts from a nested directory without navigating up to project root.\n\n## usage\n\nSay you have the follow directory tree for a project you are developing, \n\n```\n~/project/\n├── scripts\n│   ├── bar.sh\n│   ├── baz.py\n│   ├── foo.sh\n│   └── qux\n└── src\n    └── subpackage\n```\n\nwhere the contents of scripts are all executable.\n\nYou can execute these scripts, with or without file extensions, from any directory under `~/project/`:\n```\n[~/project/src/subpackage]$ scripty -l\nbar\nbaz\nfoo\nqux\n[~/project/src/subpackage]$ scripty bar\n# ... executes bar.sh\n[~/project/src/subpackage]$ scripty bar.sh\n# ... executes bar.sh\n\n```\n\n## customization\n\nInstead of looking for a `scripts` dir, you can set an environment variable `SCRIPTY_DIR` to the name\nof a folder, without slashes, to look for scripts in.\n\n## bash completion\n\nDepending on your platform, and setup, you can add bash completion in one of two ways:\n\n#### binary only\n\nIf you downloaded a binary from the releases page, you can add bash completion with something like:\n```shell\nsudo bash -c \"curl https://raw.githubusercontent.com/steventlamb/scripty/master/scripty_completion.sh \u003e /etc/bash_completion.d/scripty\"\n```\n\n#### with source\n\nAssuming you have scripty in your go path:\n\n```shell\nln -s $GOPATH/scripty/scripty_completion.sh /etc/bash_completion.d/scripty\n```\n\n## motivation\n\nScripty is inspired by the behavior of modern tools like fabric, vagrant, etc.\nThese tools allow you to run commands from any subdirectory of a project, which is very \nconvenient. I had gotten used to using fabric, and after switching to a folder full of\nscripts for simplicity, I missed this functionality.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkdeloach%2Fscripty","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkdeloach%2Fscripty","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkdeloach%2Fscripty/lists"}