{"id":16243691,"url":"https://github.com/dustin/gosh","last_synced_at":"2025-04-08T11:00:14.984Z","repository":{"id":11564343,"uuid":"14051449","full_name":"dustin/gosh","owner":"dustin","description":"My script running web server for builds and junk.","archived":false,"fork":false,"pushed_at":"2017-02-13T06:33:53.000Z","size":13,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-14T07:20:14.341Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","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/dustin.png","metadata":{"files":{"readme":"README.markdown","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}},"created_at":"2013-11-01T19:08:54.000Z","updated_at":"2017-02-13T06:33:54.000Z","dependencies_parsed_at":"2022-09-23T00:10:55.537Z","dependency_job_id":null,"html_url":"https://github.com/dustin/gosh","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dustin%2Fgosh","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dustin%2Fgosh/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dustin%2Fgosh/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dustin%2Fgosh/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dustin","download_url":"https://codeload.github.com/dustin/gosh/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247829473,"owners_count":21002994,"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":[],"created_at":"2024-10-10T14:15:56.995Z","updated_at":"2025-04-08T11:00:14.898Z","avatar_url":"https://github.com/dustin.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# gosh - a tiny hook server\n\n`gosh` exists to run shell scripts on demand within a fairly small set\nof constraints:\n\n1. The shell scripts must be known ahead of time.\n2. No two scripts may run concurrently.\n3. Any script will be started at least once after any given trigger.\n\n## Usage\n\nFirstly, `gosh` runs scripts that are pre-defined in a scripts\ndirectory.  This directory is specified by the final argument to\n`gosh`.  e.g.:\n\n    gosh /some/directory\n\nAssuming that directory has a script called `foo`, you can invoke this\nwith the following example command:\n\n    curl http://localhost:8888/foo\n\nThis will queue an execution and return an HTTP `202`.  This is pretty\nmuch the only status that will ever be returned.\n\nIf you request a path that doesn't match a file, you'll get a `202`.\n\nIf the task is already running, another run will be queued.\n\nIf the task is already running *and* queued, nothing will happen (a\nnew run will start after the current request anyway).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdustin%2Fgosh","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdustin%2Fgosh","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdustin%2Fgosh/lists"}