{"id":19665799,"url":"https://github.com/seanedwards/svcizer","last_synced_at":"2025-08-18T08:04:49.908Z","repository":{"id":19171658,"uuid":"22403914","full_name":"seanedwards/svcizer","owner":"seanedwards","description":"Recklessly turns a shell command into an HTTP endpoint","archived":false,"fork":false,"pushed_at":"2014-07-30T04:48:22.000Z","size":204,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-27T04:15:18.244Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Ruby","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/seanedwards.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":"2014-07-30T01:45:39.000Z","updated_at":"2022-06-27T20:41:23.000Z","dependencies_parsed_at":"2022-08-05T02:15:19.638Z","dependency_job_id":null,"html_url":"https://github.com/seanedwards/svcizer","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/seanedwards/svcizer","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/seanedwards%2Fsvcizer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/seanedwards%2Fsvcizer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/seanedwards%2Fsvcizer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/seanedwards%2Fsvcizer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/seanedwards","download_url":"https://codeload.github.com/seanedwards/svcizer/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/seanedwards%2Fsvcizer/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":270962391,"owners_count":24675965,"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-18T02:00:08.743Z","response_time":89,"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-11-11T16:24:51.116Z","updated_at":"2025-08-18T08:04:49.806Z","avatar_url":"https://github.com/seanedwards.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"svcizer\n=======\n\nRecklessly turns a shell command into a plain HTTP endpoint. _There is no security._\n\nUsage\n=====\n\n    svcize \u003ccmd\u003e \u003cargs\u003e\n\nNow you have an HTTP server running on port 8080, which you can hit with GET requests.\n\n* The request body will be passed to stdin.\n* `STDOUT` and `STDERR` from `cmd` will be dumped to the response body.\n* If the command returns 0, the server will return `200 OK`. If the command returns non-zero, the server will return `503 Internal Server Error`.\n* If you really care, the actual exit code is stuffed into the `Exit-Status` header.\n* HTTP headers and query parameters will be passed as environment variables. Yes, this means you can overwrite `$PATH`. Do it if you want. _There is no security._\n* Any environment variable can be substituted into an argument by using `%var%`:\n  \n      `svcize ls %p%`\n  \n  Now we can pass in an argument with the `p` query parameter:\n  \n      $ curl \"http://localhost:8080?p=.\"\n      Gemfile\n      Gemfile.lock\n      LICENSE\n      README.md\n      svcize\n\nThat's it. The end.\n\nPotential FAQ\n=============\n\n\"Security?\"\n-----------\n_There is no security._\n\n\"Cookies?\"\n----------\nDelicious. But no.\n\n\"What about...?\"\n--------------\nYou probably can't. This is a super basic tool for building the most micro of web services.\n\n\"How do I perform maximum evil?\"\n--------------------------------\n    svcize bash -c %cmd%\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fseanedwards%2Fsvcizer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fseanedwards%2Fsvcizer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fseanedwards%2Fsvcizer/lists"}