{"id":15954540,"url":"https://github.com/jeremymarshall/xterm.js-docker-bridge","last_synced_at":"2026-04-10T01:04:58.114Z","repository":{"id":71666605,"uuid":"106068693","full_name":"JeremyMarshall/xterm.js-docker-bridge","owner":"JeremyMarshall","description":"xterm.js based terminal emulator to bridge to docker exec","archived":false,"fork":false,"pushed_at":"2017-10-12T08:30:43.000Z","size":96,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-09T17:17:43.421Z","etag":null,"topics":["angular4","docker","express","nodejs","websocket","xterm-js"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/JeremyMarshall.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":"2017-10-07T03:26:20.000Z","updated_at":"2019-09-17T06:58:16.000Z","dependencies_parsed_at":"2023-03-07T00:00:32.388Z","dependency_job_id":null,"html_url":"https://github.com/JeremyMarshall/xterm.js-docker-bridge","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/JeremyMarshall%2Fxterm.js-docker-bridge","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JeremyMarshall%2Fxterm.js-docker-bridge/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JeremyMarshall%2Fxterm.js-docker-bridge/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JeremyMarshall%2Fxterm.js-docker-bridge/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/JeremyMarshall","download_url":"https://codeload.github.com/JeremyMarshall/xterm.js-docker-bridge/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247128737,"owners_count":20888234,"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":["angular4","docker","express","nodejs","websocket","xterm-js"],"created_at":"2024-10-07T13:18:16.116Z","updated_at":"2025-12-30T23:08:53.921Z","avatar_url":"https://github.com/JeremyMarshall.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# This is a project in three parts\n\n* An Angular 4 front end assembled with angular cli\n\n* An Express server\n\n* A terminal application \n\n# Description\nThe front end uses xterm.js to serve up a terminal\n\nthis connects via a websocket to the express server\n\nThe server conects via a pseudo tty to a node app called sash (Swiss Army Shell)\n\nThis shell is based on [commander.js](https://www.npmjs.com/package/commander) which provides \nan easily extensible mechanism to do CLI\n\nCurrently the commands implemented are\n* `docker ps`\n* `docker exec \u003ccontainer|name\u003e \u003ccommand\u003e`\n\n## Docker\nI built this to do a `docker exec` without having access to the docker host so it will run as a [docker container](https://hub.docker.com/r/jeremymarshall/angular4-express-dist/)\n\nSimply run `docker run -d -p 3000:3000 -v /var/run/docker.sock:/var/run/docker.sock jeremymarshall/angular4-express-dist` and connect to it on port 3000\n\n**There is a security risk as this exposes the docker daemon and you can exec to the container running the service. But this is a proof of concept**\n\n## CI\nThe CI is a bit hand cranked at the moment\n\n## TODO\n1. Do the CI\n1. Command History\n1. More commands\n  * docker\n  * docker compose\n  * marathon/mesos\n  * haproxy?\n  * ssh?\n1. integrate colour\n1. Log commands to a database - what about passwords?)\n\n## Please fork and raise PRs\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjeremymarshall%2Fxterm.js-docker-bridge","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjeremymarshall%2Fxterm.js-docker-bridge","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjeremymarshall%2Fxterm.js-docker-bridge/lists"}