{"id":20973385,"url":"https://github.com/wkozaczuk/osv-html5-terminal","last_synced_at":"2025-07-20T05:33:39.149Z","repository":{"id":90348516,"uuid":"78353132","full_name":"wkozaczuk/osv-html5-terminal","owner":"wkozaczuk","description":"HTML5 command line terminal for OSv ","archived":false,"fork":false,"pushed_at":"2020-03-19T20:37:10.000Z","size":1102,"stargazers_count":7,"open_issues_count":0,"forks_count":0,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-05-14T12:35:07.274Z","etag":null,"topics":["html5-command","osv","osv-html5-terminal","typescript"],"latest_commit_sha":null,"homepage":null,"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/wkozaczuk.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,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-01-08T15:50:19.000Z","updated_at":"2025-03-30T22:49:53.000Z","dependencies_parsed_at":null,"dependency_job_id":"dd595617-6a27-42c2-a8d4-cfdfdd016d60","html_url":"https://github.com/wkozaczuk/osv-html5-terminal","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/wkozaczuk/osv-html5-terminal","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wkozaczuk%2Fosv-html5-terminal","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wkozaczuk%2Fosv-html5-terminal/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wkozaczuk%2Fosv-html5-terminal/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wkozaczuk%2Fosv-html5-terminal/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/wkozaczuk","download_url":"https://codeload.github.com/wkozaczuk/osv-html5-terminal/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wkozaczuk%2Fosv-html5-terminal/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266071519,"owners_count":23871940,"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":["html5-command","osv","osv-html5-terminal","typescript"],"created_at":"2024-11-19T04:13:29.618Z","updated_at":"2025-07-20T05:33:39.127Z","avatar_url":"https://github.com/wkozaczuk.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# osv-html5-terminal\nHTML5 command line terminal for OSv.  \nThe command line handling logic converted to Typescript from JS project https://github.com/mrchimp/cmd\n\n### Quick start\n##### Configure\n* npm install\n\n##### Build\n* npm run build\n  * The dist directory will contain all app artifacts.\n\n##### Run locally and open the app in the default browser\n* npm run server\n  * Expects OSv httpserver running and exposed on port 8000\n\n### Motivation\nOSv comes with an httpserver module that serves REST API. It also comes with lua-based cli \nmodule that provides shell-like (or ssh-like) command line interface to running OSv instance.  \n\nSo instead of command line program this HTML5 app provides similar functionality but instead \nin a browser so it can be executed anywhere without having to build cli executable for target OS.\n\nVerified to work in Firefox, Safari and with some limitations in Chrome.\n\n### Functionality\n##### Commands\n* cat\t\n* cls\n* cd\n* cmdline\t\n* connect\n* date\t\n* df\t\t\n* dmesg\t\n* free\t\n* help\n* ls\t\t\n* mkdir\t\n* poweroff\t\n* pwd\t\n* reboot\n* rm\t\t\n* top\t\n* uptime\n\nAll commands support --help option.\n\n### Screenshot\n![Example](screenshot.png)\n\n### Improvements\n- Functionality\n    - Add commands\n        - tree\n        - mv\n        - cp\n        - find\n        - ZFS\n            - mount\n            - unmount\n            - etc\n    - ability to edit file (cat and then put)\n    - path completion when ls, cd, etc\n    - HTTPS with client certificate\n- Refactoring\n    - extract OSv API abstraction\n    - use promises (JQuery)\n    - error handling\n    - HTML escaping\n    - typescript\n        - introduce interfaces for some of the responses from Osv\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwkozaczuk%2Fosv-html5-terminal","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwkozaczuk%2Fosv-html5-terminal","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwkozaczuk%2Fosv-html5-terminal/lists"}