{"id":19750931,"url":"https://github.com/sheepla/dwebsh","last_synced_at":"2026-05-07T16:03:15.810Z","repository":{"id":45991948,"uuid":"427903141","full_name":"sheepla/dwebsh","owner":"sheepla","description":"🦕 A command line websh client powered by Deno","archived":false,"fork":false,"pushed_at":"2021-11-24T11:40:22.000Z","size":32469,"stargazers_count":3,"open_issues_count":3,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-10T21:30:14.751Z","etag":null,"topics":["api-client","deno","deno-cli","shellgei"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/sheepla.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":"2021-11-14T10:55:08.000Z","updated_at":"2022-04-03T12:16:16.000Z","dependencies_parsed_at":"2022-08-29T22:31:36.796Z","dependency_job_id":null,"html_url":"https://github.com/sheepla/dwebsh","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sheepla%2Fdwebsh","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sheepla%2Fdwebsh/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sheepla%2Fdwebsh/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sheepla%2Fdwebsh/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sheepla","download_url":"https://codeload.github.com/sheepla/dwebsh/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241080675,"owners_count":19906328,"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-client","deno","deno-cli","shellgei"],"created_at":"2024-11-12T02:41:18.765Z","updated_at":"2026-05-07T16:03:15.709Z","avatar_url":"https://github.com/sheepla.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cdiv align=\"right\"\u003e\n  \u003cimg src=\"https://img.shields.io/static/v1?label=License\u0026message=MIT\u0026color=blue\u0026style=flat-square\"/\u003e\n\u003c/div\u003e\n\n\u003cdiv align=\"center\"\u003e\n\n# 🦕 dwebsh\n\n\u003c/div\u003e\n\n\u003cdiv align=\"center\"\u003e\n\nA command line [websh](https://github.com/jiro4989/websh) client powered by deno\n\n\u003c/div\u003e\n\n## Features\n\n- [x] Run commands on the websh environment\n- [x] Save execution result images\n- [x] Upload local images\n\n## Usage\n\n```\n$ dwebsh --help\n\n  Usage:   dwebsh \u003ccode:string\u003e\n  Version: v0.0.2\n\n  Description:\n\n    A command line websh client powered by Deno\n\n  Options:\n\n    -h, --help               - Show this help.\n    -V, --version            - Show the version number for this program.\n    -i, --images   \u003cimages\u003e  - image files to upload\n```\n\n### Run commands\n\nJust specify the command you want to execute in the first argument.\n\n```\n$ dwebsh 'uname -a'\nLinux e143d8fdbb59 4.15.0-55-generic #60-Ubuntu SMP Tue Jul 2 18:22:20 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux\n```\n\n### Save execution result images\n\nTo save images, output the image files to `/images/` on the websh environment.\n\n```\n$ dwebsh 'screenfetch | textimg -o /images/out.png'\nImage saved: /tmp/dwebsh_76a6b2f5.png\n```\n\n### Upload local images\n\nYou can upload and use local images. If you specify the image path in the `-i` /\n`--images` option and execute it, it will be saved in `0`, `1`, ... files under\nthe `/media/` directory on the websh environment.\n\n```\n$ dwebsh --images ~/pic/foo.png --images ~/pic/bar.png 'ls -lA /media'\n合計 12\n-rw-r--r-- 1 root root  828 11月 21 19:21 0\n-rw-r--r-- 1 root root 6434 11月 21 19:21 1\n```\n\n## Installation\n\nRequires [deno](https://deno.land/deno), testing on `v1.16.1`.\n\n```bash\ndeno install --allow-net --allow-write --name dwebsh \\\n    https://raw.githubusercontent.com/sheepla/dwebsh/master/cli.ts\n```\n\n... or clone this repository then run below.\n\n```bash\nmake build \u0026\u0026 sudo make install\n```\n\n## Contributing\n\nWelcome💕\n\n## LICENSE\n\n[MIT](./LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsheepla%2Fdwebsh","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsheepla%2Fdwebsh","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsheepla%2Fdwebsh/lists"}