{"id":50722854,"url":"https://github.com/levnagornov/poc-command-trigger-app","last_synced_at":"2026-06-10T01:38:32.892Z","repository":{"id":323145808,"uuid":"1057960649","full_name":"levnagornov/poc-command-trigger-app","owner":"levnagornov","description":"This is POC app, that shows that it's possible to trigger a command on a Linux machine remotely with a backend app via HTTP","archived":false,"fork":false,"pushed_at":"2025-11-08T10:30:49.000Z","size":6,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2026-06-10T01:38:32.012Z","etag":null,"topics":["docker","docker-compose","flask","python","ubuntu"],"latest_commit_sha":null,"homepage":"","language":"Python","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/levnagornov.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-09-16T12:44:19.000Z","updated_at":"2025-11-08T10:30:52.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/levnagornov/poc-command-trigger-app","commit_stats":null,"previous_names":["levnagornov/poc-command-trigger-app"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/levnagornov/poc-command-trigger-app","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/levnagornov%2Fpoc-command-trigger-app","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/levnagornov%2Fpoc-command-trigger-app/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/levnagornov%2Fpoc-command-trigger-app/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/levnagornov%2Fpoc-command-trigger-app/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/levnagornov","download_url":"https://codeload.github.com/levnagornov/poc-command-trigger-app/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/levnagornov%2Fpoc-command-trigger-app/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34133404,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-09T02:00:06.510Z","response_time":63,"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":["docker","docker-compose","flask","python","ubuntu"],"created_at":"2026-06-10T01:38:32.147Z","updated_at":"2026-06-10T01:38:32.886Z","avatar_url":"https://github.com/levnagornov.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# A proof of concept app \"Command trigger\"\nThis is POC app, that shows that it's possible to trigger a command on a Linux machine remotely with a backend app via HTTP.  \nThe backend is built with `Flask`, for the Linux OS I used `Ubuntu`.  \n\n## How to install\nInstall Docker on your machine first. Then you can use Docker to start the whole application:\n```bash\ndocker compose up --build\n```\n## Usage\n Send HTTP requests to the backend. You can use `curl` as shown below. Or use GUI Postman app for API requests: \n```bash\ncurl -X POST http://localhost:5001/run \\\n     -H \"Content-Type: application/json\" \\\n     -d '{\"cmd\":\"ls /\"}'\n\ncurl -X POST http://localhost:5001/run \\\n     -H \"Content-Type: application/json\" \\\n     -d '{\"cmd\":\"echo hello world\"}'\n\ncurl -X POST http://localhost:5001/run \\\n     -H \"Content-Type: application/json\" \\\n     -d '{\"cmd\":\"bash --version\"}'\n```\n\nCreated by Lev Nagornov.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flevnagornov%2Fpoc-command-trigger-app","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flevnagornov%2Fpoc-command-trigger-app","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flevnagornov%2Fpoc-command-trigger-app/lists"}