{"id":28092872,"url":"https://github.com/caesar0301/zsh-shell-proxy","last_synced_at":"2025-06-28T08:35:03.333Z","repository":{"id":291988663,"uuid":"979451067","full_name":"caesar0301/zsh-shell-proxy","owner":"caesar0301","description":"Modified shell-proxy zsh plugin.","archived":false,"fork":false,"pushed_at":"2025-05-07T14:29:26.000Z","size":8,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-05-07T15:37:22.291Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/caesar0301.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,"zenodo":null}},"created_at":"2025-05-07T14:27:54.000Z","updated_at":"2025-05-07T14:29:29.000Z","dependencies_parsed_at":"2025-05-07T15:41:21.844Z","dependency_job_id":"e6f44fc8-ed3b-40c3-97e5-c12a1f11293a","html_url":"https://github.com/caesar0301/zsh-shell-proxy","commit_stats":null,"previous_names":["caesar0301/zsh-shell-proxy"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/caesar0301%2Fzsh-shell-proxy","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/caesar0301%2Fzsh-shell-proxy/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/caesar0301%2Fzsh-shell-proxy/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/caesar0301%2Fzsh-shell-proxy/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/caesar0301","download_url":"https://codeload.github.com/caesar0301/zsh-shell-proxy/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253953404,"owners_count":21989836,"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":[],"created_at":"2025-05-13T13:49:21.449Z","updated_at":"2025-05-13T13:49:22.032Z","avatar_url":"https://github.com/caesar0301.png","language":"Python","readme":"# shell-proxy plugin\n\nThis a pure user-space program, shell-proxy setter, written in Python3 and Zsh.\n\nTo use it, add `shell-proxy` to the plugins array in your zshrc file:\n\n```zsh\nplugins=(... shell-proxy)\n```\n\n## Key features\n\n- Supports macOS and Linux (Ubuntu, Archlinux, etc.)\n- Supports git via setting `$GIT_SSH`\n- Supports ssh, sftp, scp, slogin and ssh-copy-id via setting aliases\n- Built-in autocomplete\n\n## Usage\n\n### Method 1\n\nSet `SHELLPROXY_URL` environment variable to the URL of the proxy server:\n\n```sh\nSHELLPROXY_URL=\"http://127.0.0.1:8123\"\nSHELLPROXY_NO_PROXY=\"localhost,127.0.0.1\"\nproxy enable\n```\n\n### Method 2\n\nWrite a program file in `$HOME/.config/proxy` so that the proxy URL is defined dynamically.\nNote that the program file must be executable.\n\nExample:\n\n```sh\n#!/bin/bash\n\n# HTTP Proxy\nif [[ \"$(uname)\" = Darwin ]]; then\n  echo \"http://127.0.0.1:6152\" # Surge Mac\nelse\n  echo \"http://127.0.0.1:8123\" # polipo\nfi\n\n# No Proxy\necho \"localhost,127.0.0.1\"\n```\n\n### Method 3\n\nUse [method 2](#method-2) but define the location of the program file by setting the\n`SHELLPROXY_CONFIG` environment variable:\n\n```sh\nSHELLPROXY_CONFIG=\"$HOME/.dotfiles/proxy-config\"\n```\n\n## Reference\n\n- `$GIT_SSH`: \u003chttps://www.git-scm.com/docs/git#Documentation/git.txt-codeGITSSHcode\u003e\n- OpenSSH manual: \u003chttps://man.openbsd.org/ssh\u003e\n\n## Maintainer\n\n- [@septs](https://github.com/septs)\n","funding_links":[],"categories":["Plugins"],"sub_categories":["ZSH on Windows"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcaesar0301%2Fzsh-shell-proxy","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcaesar0301%2Fzsh-shell-proxy","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcaesar0301%2Fzsh-shell-proxy/lists"}