{"id":48855278,"url":"https://github.com/bindreams/galoshes","last_synced_at":"2026-04-15T12:03:52.068Z","repository":{"id":350568619,"uuid":"1207415000","full_name":"bindreams/galoshes","owner":"bindreams","description":null,"archived":false,"fork":false,"pushed_at":"2026-04-11T01:11:03.000Z","size":63,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-04-11T01:20:03.246Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Rust","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/bindreams.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE.md","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,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-04-10T23:15:46.000Z","updated_at":"2026-04-11T01:11:09.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/bindreams/galoshes","commit_stats":null,"previous_names":["bindreams/galoshes"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/bindreams/galoshes","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bindreams%2Fgaloshes","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bindreams%2Fgaloshes/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bindreams%2Fgaloshes/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bindreams%2Fgaloshes/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bindreams","download_url":"https://codeload.github.com/bindreams/galoshes/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bindreams%2Fgaloshes/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31840143,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-15T11:29:19.690Z","status":"ssl_error","status_checked_at":"2026-04-15T11:29:19.171Z","response_time":63,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":[],"created_at":"2026-04-15T12:03:51.175Z","updated_at":"2026-04-15T12:03:52.057Z","avatar_url":"https://github.com/bindreams.png","language":"Rust","readme":"# Galoshes\n\nA Shadowsocks SIP003u plugin that chains [YAMUX](https://github.com/libp2p/rust-yamux) multiplexing with [v2ray-plugin](https://github.com/shadowsocks/v2ray-plugin) for obfuscated UDP-over-TCP traffic.\n\nBuilt on **Garter**, a general-purpose library and binary for chaining arbitrary SIP003u plugins.\n\n## Crates\n\n| Crate        | Type           | Description                                                                                        |\n| ------------ | -------------- | -------------------------------------------------------------------------------------------------- |\n| `garter`     | lib            | Core plugin chaining library: `ChainPlugin` trait, `BinaryPlugin`, `ChainRunner`                   |\n| `garter-bin` | bin (`garter`) | Config-driven chainer binary — chains arbitrary SIP003u plugins via YAML                           |\n| `galoshes`   | bin            | Turnkey plugin bundling YAMUX + v2ray-plugin. Same config as v2ray-plugin, UDP works transparently |\n| `xtask`      | bin            | Build tooling (`cargo xtask v2ray-plugin`)                                                         |\n\n## Using Galoshes\n\nGaloshes is a drop-in replacement for v2ray-plugin that transparently adds UDP support via YAMUX multiplexing. Configure it exactly like v2ray-plugin:\n\n```bash\n# Client\nss-local --plugin galoshes --plugin-opts \"tls;host=example.com;mode=websocket\"\n\n# Server\nss-server --plugin galoshes --plugin-opts \"server;tls;host=example.com;mode=websocket\"\n```\n\n## Using Garter (the chainer binary)\n\nGarter chains arbitrary SIP003u plugin binaries via a YAML config:\n\n```yaml\n# chain.yaml\nchain:\n  - plugin: /usr/bin/shadowsocks-yamux-plugin\n    options: \"mux=8\"\n  - plugin: /usr/bin/v2ray-plugin\n    options: \"tls;host=example.com;mode=websocket\"\n```\n\n```bash\nss-local --plugin garter --plugin-opts \"config=/path/to/chain.yaml\"\n```\n\nRelative paths in the YAML resolve from the config file's parent directory.\n\n## Using Garter as a library\n\n```rust\nuse garter::{BinaryPlugin, ChainRunner, PluginEnv};\n\nlet env = PluginEnv::from_env()?;\n\nlet runner = ChainRunner::new()\n    .add(Box::new(my_custom_plugin))\n    .add(Box::new(BinaryPlugin::new(\"/usr/bin/v2ray-plugin\", Some(\"tls\"))));\n\nrunner.run(env).await?;\n```\n\nImplement `garter::ChainPlugin` for in-process plugins. Each plugin receives `(local_addr, remote_addr, shutdown_token)` and manages its own networking.\n\n## Building\n\n```bash\n# Build garter (library + chainer binary)\ncargo build -p garter -p garter-bin\n\n# Build galoshes (requires Go toolchain for v2ray-plugin)\ncargo xtask v2ray-plugin\ncargo build -p galoshes\n```\n\n## License\n\nCopyright 2026, Anna Zhukova\n\nThis project is licensed under the Apache 2.0 license. The license text can be found at [LICENSE.md](/LICENSE.md).\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbindreams%2Fgaloshes","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbindreams%2Fgaloshes","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbindreams%2Fgaloshes/lists"}