{"id":16431010,"url":"https://github.com/estruyf/vscode-remote-control","last_synced_at":"2025-08-18T03:39:25.064Z","repository":{"id":45128495,"uuid":"360187927","full_name":"estruyf/vscode-remote-control","owner":"estruyf","description":"Remote Control your Visual Studio Code - This extension allows you to remotely control Visual Studio Code. Run commands from anywhere you want on your device. The extension allows you to take VSCode automation to the next level.","archived":false,"fork":false,"pushed_at":"2024-12-12T07:45:46.000Z","size":1761,"stargazers_count":31,"open_issues_count":3,"forks_count":10,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-06-04T07:05:28.596Z","etag":null,"topics":["code","control","extension","remote","remote-control","vscode","vscode-extension"],"latest_commit_sha":null,"homepage":"https://marketplace.visualstudio.com/items?itemName=eliostruyf.vscode-remote-control","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/estruyf.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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,"zenodo":null},"funding":{"github":["estruyf"]}},"created_at":"2021-04-21T13:50:33.000Z","updated_at":"2025-04-19T14:48:01.000Z","dependencies_parsed_at":"2025-06-04T00:08:09.218Z","dependency_job_id":"f66f1ef2-20af-461f-b49e-ce6610a1a444","html_url":"https://github.com/estruyf/vscode-remote-control","commit_stats":null,"previous_names":[],"tags_count":13,"template":false,"template_full_name":null,"purl":"pkg:github/estruyf/vscode-remote-control","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/estruyf%2Fvscode-remote-control","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/estruyf%2Fvscode-remote-control/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/estruyf%2Fvscode-remote-control/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/estruyf%2Fvscode-remote-control/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/estruyf","download_url":"https://codeload.github.com/estruyf/vscode-remote-control/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/estruyf%2Fvscode-remote-control/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":270940605,"owners_count":24671677,"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","status":"online","status_checked_at":"2025-08-18T02:00:08.743Z","response_time":89,"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":["code","control","extension","remote","remote-control","vscode","vscode-extension"],"created_at":"2024-10-11T08:28:57.217Z","updated_at":"2025-08-18T03:39:25.037Z","avatar_url":"https://github.com/estruyf.png","language":"TypeScript","funding_links":["https://github.com/sponsors/estruyf","https://www.buymeacoffee.com/zMeFRy9"],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://marketplace.visualstudio.com/items?itemName=eliostruyf.vscode-remote-control\"\u003e\n    \u003cimg alt=\"Remote Control\" src=\"./assets/logo.png\" height=\"200\"\u003e\n  \u003c/a\u003e\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://marketplace.visualstudio.com/items?itemName=eliostruyf.vscode-remote-control\" title=\"Check it out on the Visual Studio Marketplace\"\u003e\n    \u003cimg src=\"https://vscode-marketplace-badge.vercel.app/api/badge/version/eliostruyf.vscode-remote-control\" alt=\"Visual Studio Marketplace\" style=\"display: inline-block\" /\u003e\n  \u003c/a\u003e\n\n  \u003cimg src=\"https://vscode-marketplace-badge.vercel.app/api/badge/installs/eliostruyf.vscode-remote-control\" alt=\"Number of installs\"  style=\"display: inline-block;margin-left:10px\" /\u003e\n  \n  \u003cimg src=\"https://vscode-marketplace-badge.vercel.app/api/badge/rating/eliostruyf.vscode-remote-control\" alt=\"Ratings\" style=\"display: inline-block;margin-left:10px\" /\u003e\n\n  \u003ca href=\"https://www.buymeacoffee.com/zMeFRy9\" title=\"Buy me a coffee\" style=\"margin-left:10px\"\u003e\n    \u003cimg src=\"https://img.shields.io/badge/Buy%20me%20a%20coffee-€%203-blue?logo=buy-me-a-coffee\u0026style=flat\" alt=\"Buy me a coffee\" style=\"display: inline-block\" /\u003e\n  \u003c/a\u003e\n\u003c/p\u003e\n\nThis extension allows you to remotely control Visual Studio Code. Run commands from anywhere you want on your device. The extension allows you to take VSCode automation to the next level.\n\nIn the background it uses `websockets` in order to listen to commands it should execute in your VSCode instance.\n\n![](assets/example.gif)\n\n\u003e **Info**: This is a sample of how I use the Remote Control extension in combination with the macOS [Raycast](https://raycast.com/) app.\n\n## Extension Settings\n\nThe extension has the following settings which you can use to configure it:\n\n- `remoteControl.enable`: enable/disable this extension\n- `remoteControl.host`: the hostname of the websocket server. Default: `127.0.0.1`.\n- `remoteControl.port`: set the port number for the websocket to start the server\n- `remoteControl.fallbacks`: an array of port numbers to fallback to if the port is already in use\n- `remoteControl.onlyWhenInFocus`: allows you to broadcast commands to all VSCode instances and only the one with focus will execute it.\n\n## Current port in use\n\nOnce the extension starts, it will show the port number in the status bar. This way you can easily see which port is used.\n\n![](assets/statusbar-item.png)\n\n## Usage\n\nWhen you install this extension, it will automatically open a `websocket` on port `3710`. This port can be changed on in the VSCode settings. When you are going to use multiple VSCode sessions at the same time, it is best to configure it on workspace level or use the `remoteControl.fallbacks` setting to specify fallback ports when the previous one is already in use.\n\nOnce installed, you can execute `commands` for VSCode remotely by calling the Remote Control its websocket. Here is an example how to open the terminal in VSCode:\n\n```bash\necho \"{ \\\"command\\\": \\\"workbench.action.terminal.new\\\" }\" | websocat ws://localhost:3710\n```\n\nThe text you need to pass to the `websocket` listener is as you can see a stringified JSON object. The object currently consists of:\n\n- `Command`: `\u003ccommand-id\u003e`\n\n### Passing arguments\n\nto pass additional arguments use\n\n```bash\necho \"{ \\\"command\\\": \\\"command.id.with.arguments\\\", \\\"args\\\": [\\\"value\\\"] }\" | websocat ws://localhost:3710\n```\n\n### How do I get the command ID?\n\nTo get the command ID, open the `Command Palette` and type `Show all commands`. This will give you a list with all the available commands.\n\nBehind each command, there is a gear button. When you click on it, it brings you to the shortcut configuration. Where you can right-click on the command and copy its ID.\n\n![](assets/command-id.png)\n\n## Feedback / issues / ideas\n\nPlease submit your feedback/issues/ideas by creating an issue in the project repository: [issue list](https://github.com/estruyf/vscode-remote-control/issues).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Festruyf%2Fvscode-remote-control","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Festruyf%2Fvscode-remote-control","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Festruyf%2Fvscode-remote-control/lists"}