{"id":16725245,"url":"https://github.com/potherca/cli2web","last_synced_at":"2025-03-21T21:31:01.505Z","repository":{"id":33153984,"uuid":"151455278","full_name":"Potherca/cli2web","owner":"Potherca","description":"Expose a CommandLine Interface to the Web","archived":false,"fork":false,"pushed_at":"2025-02-14T06:45:43.000Z","size":86,"stargazers_count":2,"open_issues_count":3,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-18T05:12:37.034Z","etag":null,"topics":["cli-utilities","composer-package","php","php-library","potherca","web-app","web-application"],"latest_commit_sha":null,"homepage":null,"language":"PHP","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/Potherca.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":"2018-10-03T17:48:24.000Z","updated_at":"2022-02-24T13:01:52.000Z","dependencies_parsed_at":"2022-08-07T20:01:21.893Z","dependency_job_id":"2d57a15e-25ce-410a-8919-880efbcc905b","html_url":"https://github.com/Potherca/cli2web","commit_stats":{"total_commits":59,"total_committers":5,"mean_commits":11.8,"dds":0.288135593220339,"last_synced_commit":"5958db7a9335aafa1c4d720068d2ec74a9e32075"},"previous_names":[],"tags_count":8,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Potherca%2Fcli2web","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Potherca%2Fcli2web/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Potherca%2Fcli2web/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Potherca%2Fcli2web/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Potherca","download_url":"https://codeload.github.com/Potherca/cli2web/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244874154,"owners_count":20524576,"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":["cli-utilities","composer-package","php","php-library","potherca","web-app","web-application"],"created_at":"2024-10-12T22:48:28.129Z","updated_at":"2025-03-21T21:31:00.925Z","avatar_url":"https://github.com/Potherca.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# CLI2Web (CommandLine Interface to Web)\n[![FOSSA Status](https://app.fossa.io/api/projects/git%2Bgithub.com%2FPotherca%2Fcli2web.svg?type=shield)](https://app.fossa.io/projects/git%2Bgithub.com%2FPotherca%2Fcli2web?ref=badge_shield)\n\n\n## Introduction\n\nThe aim of this project is to make it trivial to expose a shell script(\"command-line \nscript\" or \"CLI script\") as a web application.\n\nThis library offers conversion, logic and templates to gather user input, feed it\nto a shell script and render the output in the browser.\n\nAll that has to be provided is a shell script and configuration. Optionally logic\ncan be added to compliment the input, output or render process. \n\n## Requirements\n\n- As this is a web application, it is assumed a web-server is available.\n- This project is written in PHP. Any actively support version is fine.\n\n## Installation\n\nInstallation is done using composer:\n\n    composer require potherca/cli2web\n\nAs this is a web application, it is assumed a web-server is available.\n\n## Usage\n\n- Create an index file in a public facing directory in the web-server\n- Include the cli2web engine\n- Feed the engine a configuration\n- Done.\n\nFor more advanced scenario's any of the following steps can also be taken:\n\n- Add logic that is called with the user input  \n  \u003csmall\u003e(instead of the CLI script being called directly)\u003c/small\u003e\n- Add logic that is called with the shell script output  \n  \u003csmall\u003e(instead of the output being displayed directly, \"raw\", as-is)\u003c/small\u003e\n- Add custom UI to display the returned output\n  \u003csmall\u003e(instead of the output being displayed as plain-text)\u003c/small\u003e\n\n\n## License\n[![FOSSA Status](https://app.fossa.io/api/projects/git%2Bgithub.com%2FPotherca%2Fcli2web.svg?type=large)](https://app.fossa.io/projects/git%2Bgithub.com%2FPotherca%2Fcli2web?ref=badge_large)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpotherca%2Fcli2web","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpotherca%2Fcli2web","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpotherca%2Fcli2web/lists"}