{"id":13705486,"url":"https://github.com/watzon/wsl-proxy","last_synced_at":"2025-08-19T23:04:32.883Z","repository":{"id":91428482,"uuid":"99454767","full_name":"watzon/wsl-proxy","owner":"watzon","description":"WSL proxy files for editor/linux interop","archived":false,"fork":false,"pushed_at":"2022-01-24T21:39:16.000Z","size":31,"stargazers_count":142,"open_issues_count":4,"forks_count":23,"subscribers_count":11,"default_branch":"master","last_synced_at":"2025-06-11T22:50:05.121Z","etag":null,"topics":["atom","linter","linux","php","sublime-text","sublime-text-3","visual-studio-code","windows","windows-10","wsl","wsl-proxy"],"latest_commit_sha":null,"homepage":null,"language":"Batchfile","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"wtfpl","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/watzon.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","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}},"created_at":"2017-08-06T00:16:59.000Z","updated_at":"2025-02-11T04:44:06.000Z","dependencies_parsed_at":null,"dependency_job_id":"8f8d31e4-a841-4a78-8d64-b1003c5efb6b","html_url":"https://github.com/watzon/wsl-proxy","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/watzon/wsl-proxy","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/watzon%2Fwsl-proxy","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/watzon%2Fwsl-proxy/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/watzon%2Fwsl-proxy/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/watzon%2Fwsl-proxy/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/watzon","download_url":"https://codeload.github.com/watzon/wsl-proxy/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/watzon%2Fwsl-proxy/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":271236280,"owners_count":24723978,"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-19T02:00:09.176Z","response_time":63,"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":["atom","linter","linux","php","sublime-text","sublime-text-3","visual-studio-code","windows","windows-10","wsl","wsl-proxy"],"created_at":"2024-08-02T22:00:42.346Z","updated_at":"2025-08-19T23:04:32.853Z","avatar_url":"https://github.com/watzon.png","language":"Batchfile","readme":"# WSL Proxy Files\n\nWSL (Windows Subsystem for Linux) is an awesome bit of innovation by Microsoft that allows you to run Linux inside of Windows 10 without the need for a Virtual Machine. This has several benefits, the largest of which is the memory that you save by not running a whole secondary OS. Unfortunately it also has it's drawbacks, the biggest of which is a distinct lack of support through editors such as Atom, VSCode, and Sublime Text.\n\nThe goal of this project is to create a collection of \"proxy\" batch files that can be used to route requests to the linux version of a command. Almost all of the files will have the same layout\n\n```batch\n@echo off\nbash.exe -c \"php %*\"\n```\n\nAs an example usecase take the [atom-linter](https://github.com/steelbrain/linter) package. Most of the linters, such as [linter-php]() require the path to an executable in order to run. If that executable is inside of WSL however, there is no way to access it.\n\nUsing the wsl-proxy `php.bat` file however, you can just replace the path to the executable with `C:\\\\Users\\\\myuser\\\\path\\\\to\\\\wsl-proxy\\\\php.bat`. Requests are now being routed to the linux version of PHP.\n\n**Pro tip:** If you clone this and add the cloned directory to your windows PATH you will be able to access any of the proxied commands through command prompt (even without the `.bat` extension)\n\n**Note:** This is an experiment currently and I can't guarentee it will work with everything, but please feel free to add files here. Let's turn this into a one-stop shop for wsl-proxy files.\n\n## Auto-generating proxy files\n\nRun the `proxygen.cmd` script to automatically generate proxies. A subfolder named `.\\autogen` will be created, and all the autogenned proxy files will be placed here -- add this folder to your Windows PATH if you want access to the proxied commands without typing in a full path.\n\nUsage:\n* (No args): `proxygen`  \nPrompts you to enter program names from stdin (press CTRL-D when done).\n* (Redirect from file): `proxygen \u003c program_name_file`  \nSame as above, but reads program names from a file.\n* (Specify args on command line): `proxygen program1 program2 ...`\n\nExamples:  \n`proxygen gcc g++`  \n`proxygen /usr/bin/foo`  \n`proxygen /usr/bin/*`  \n`proxygen /usr/bin/* /bin/*`\n\nProgram names will be resolved to absolute paths. If a program is not found, a warning message will be displayed (the proxy will still be created).\n","funding_links":[],"categories":["Batchfile","WSL Tools"],"sub_categories":["10. GUI Apps"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwatzon%2Fwsl-proxy","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwatzon%2Fwsl-proxy","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwatzon%2Fwsl-proxy/lists"}