{"id":13563598,"url":"https://github.com/udhos/apishell","last_synced_at":"2026-05-14T22:38:37.558Z","repository":{"id":75074177,"uuid":"285715549","full_name":"udhos/apishell","owner":"udhos","description":"Run commands using APIs.","archived":false,"fork":false,"pushed_at":"2020-08-15T01:44:13.000Z","size":74,"stargazers_count":3,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-03-17T00:42:52.326Z","etag":null,"topics":["api","cli","go","golang","shell","ssh"],"latest_commit_sha":null,"homepage":"","language":"Go","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/udhos.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,"governance":null,"roadmap":null,"authors":null}},"created_at":"2020-08-07T02:14:22.000Z","updated_at":"2023-03-05T06:28:52.000Z","dependencies_parsed_at":null,"dependency_job_id":"c9d32426-d93c-44e4-82eb-5e8b623f512d","html_url":"https://github.com/udhos/apishell","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/udhos%2Fapishell","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/udhos%2Fapishell/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/udhos%2Fapishell/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/udhos%2Fapishell/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/udhos","download_url":"https://codeload.github.com/udhos/apishell/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":234565074,"owners_count":18853247,"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":["api","cli","go","golang","shell","ssh"],"created_at":"2024-08-01T13:01:21.197Z","updated_at":"2026-05-14T22:38:37.527Z","avatar_url":"https://github.com/udhos.png","language":"Go","funding_links":[],"categories":["Go"],"sub_categories":[],"readme":"# apishell\nRun commands using APIs.\n\n# Install\n\nMake sure you have a working Go installation.\n\n    https://github.com/udhos/apishell\n    cd apishell\n    go install ./...\n\n# Quick Start\n\n## Create certificate\n\n    openssl req -x509 -nodes -days 365 -newkey rsa:2048 -keyout key.pem -out cert.pem\n\n## Run apid server\n\n    apid\n\n## Use curl as client\n\n    curl -k -u admin:admin https://localhost:8080/static/\n\n    curl -k -u admin:admin -d '{\"args\":[\"ls\",\"-al\"]}' https://localhost:8080/api/exec/v1/\n\n    $ cat ls.yaml\n    args:\n    - ls\n    - /tmp\n\n    curl -k -u admin:admin --data-binary @ls.yaml https://localhost:8080/api/exec/v1/\n\n    # Below 'aGVsbG8K' is 'hello' encoded in base64\n    curl -k -u admin:admin -d '{\"args\":[\"cat\"],\"stdin\":\"aGVsbG8K\"}' https://localhost:8080/api/exec/v1/\n\n## Use apictl client\n\n```\napictl exec --stdin \"hello world\" wc\n\napictl exec --stdin @/etc/passwd head\n\napictl exec head /etc/passwd\n\napictl exec -- ls -la\n\napictl exec -- bash -c \"echo -n 12345 | wc\"\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fudhos%2Fapishell","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fudhos%2Fapishell","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fudhos%2Fapishell/lists"}