{"id":25449772,"url":"https://github.com/calloc134/chilsonite","last_synced_at":"2025-05-16T09:07:59.967Z","repository":{"id":277980185,"uuid":"934104455","full_name":"calloc134/chilsonite","owner":"calloc134","description":"A minimal Rotating Proxy written in Rust","archived":false,"fork":false,"pushed_at":"2025-04-08T02:06:51.000Z","size":90,"stargazers_count":0,"open_issues_count":2,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-13T19:57:59.003Z","etag":null,"topics":["proxy","proxy-server","rotating-proxy","rust","websocket"],"latest_commit_sha":null,"homepage":"","language":"Rust","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/calloc134.png","metadata":{"files":{"readme":"README.ja.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}},"created_at":"2025-02-17T09:30:53.000Z","updated_at":"2025-04-02T08:19:01.000Z","dependencies_parsed_at":"2025-03-17T13:27:25.522Z","dependency_job_id":"7d5489b9-df64-4c51-b863-c02b4f68aaa6","html_url":"https://github.com/calloc134/chilsonite","commit_stats":null,"previous_names":["calloc134/chilsonite"],"tags_count":17,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/calloc134%2Fchilsonite","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/calloc134%2Fchilsonite/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/calloc134%2Fchilsonite/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/calloc134%2Fchilsonite/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/calloc134","download_url":"https://codeload.github.com/calloc134/chilsonite/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254501556,"owners_count":22081529,"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":["proxy","proxy-server","rotating-proxy","rust","websocket"],"created_at":"2025-02-17T21:18:11.821Z","updated_at":"2025-05-16T09:07:59.744Z","avatar_url":"https://github.com/calloc134.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cdiv align=\"center\"\u003e\n  \u003ch1\u003eChilsonite\u003c/h1\u003e\n  \u003cp\u003eA minimal Rotating Proxy written in Rust\u003c/p\u003e\n\u003c/div\u003e\n\n## 概要\n\nChilsonite は、Rust で書かれた最小限のローテーションプロキシです。\n\n## 特徴\n\n- Rust で書かれており、高速で安全\n- websocket を用いてトンネリングするため、ファイアウォールを回避可能\n- カントリーコードを指定したプロキシの選択も可能\n- ローテーションプロキシとして利用せず、プロキシサーバを指定して利用することも可能\n\n## インストール\n\n[Releases](https://github.com/calloc134/chilsonite/releases) から、各 OS 向けの実行ファイルをダウンロードしてください。\nインストールは不要です。\n\n## 使い方\n\n### CICADA - Rotating Proxy Server\n\nCICADA は、マスターとなるプロキシサーバです。\nCICADA では、設定について`config.toml`を用いて管理します。\n\n```toml\nbind_address = \"::\"\nwebsocket_port = 3005\nsocks5_port = 3006\nconnect_timeout_seconds = 10\n```\n\n実行時のカレントディレクトリに`config.toml`を配置し、実行してください。\n\n```bash\n$ ./cicada\n```\n\n### GARADAMA - Rotating Proxy Client\n\nGARADAMA は、クライアントとなるプロキシサーバです。\nGARADAMA にはパラメータがハードコーディングされているため、もし自前の環境で利用する場合は定数の値を変更する必要があります。\n\n```rust\n// 接続先URL\nconst DEFAULT_MASTER_URL: \u0026str = \"ws://127.0.0.1:3005\";\n```\n\nもしくは、実行時のコマンドライン引数で指定することも可能です。\n\n```bash\n$ ./garadama (WebSocket URL)\n```\n\n## ローテーションプロキシとは？\n\nローテーションプロキシは、通常、多数の IP アドレスのプールを持っており、リクエストが来るたびに、そのプールから未使用の IP アドレスをランダムに、または特定のロジックに従って選択し、クライアントに割り当てます。  \nこれにより、クライアントは毎回異なる IP アドレスからアクセスしているように見えます。\nこれにより、IP ブロッキング・レート制限の回避が可能となり、スクレイピングやデータ収集などの用途で利用されます。\n\n## 仕組み\n\nこの回転プロキシでは、2 つのプログラムが存在しています。\n\n### CICADA - Rotating Proxy Server\n\nCICADA は、マスターとなるプロキシサーバです。\n\n複数のプロキシクライアントと WebSocket を用いて通信します。また、回転プロキシを利用するユーザからの Socks5 プロキシリクエストを受け付け、プロキシクライアントにリクエストを転送します。\nユーザからの Socks5 プロキシリクエストでは、利用する GARADAMA クライアントやカントリーコードを指定することができます。名前解決は GARADAMA クライアント側で行います。\n\n### GARADAMA - Rotating Proxy Client\n\nGARADAMA は、クライアントとなるプロキシサーバです。\n\nCICADA と WebSocket を用いて通信します。また、Socks5 プロキシリクエストを受け付け、リクエストを転送します。名前解決の必要があれば GARADAMA が行います。\n\n## 依存関係\n\n| Crate               | Version | Features |\n| ------------------- | ------- | -------- |\n| `tokio`             | 1       | `full`   |\n| `tokio-tungstenite` | 0.20.1  |          |\n| `base64`            | 0.21.5  |          |\n| `serde`             | 1.0     | `derive` |\n| `serde_json`        | 1.0     |          |\n| `futures`           | 0.3.31  |          |\n| `anyhow`            | 1.0.95  |          |\n| `uuid`              | 1       | `v4`     |\n| `rand`              | 0.9.0   |          |\n| `log`               | 0.4.25  |          |\n| `env_logger`        | 0.11.6  |          |\n| `url`               | 2.5.4   |          |\n| `ureq`              | 3.0.5   | `json`   |\n| `machine-uid`       | 0.5.3   |          |\n| `dashmap`           | 6.1.0   |          |\n| `config`            | 0.15.8  |          |\n\n## ロードマップ\n\n- [x] CICD の実装\n- [ ] ファイル構造の分離\n- [ ] deprecated なクレートの更新\n- [ ] Android、Raspberry Pi への対応\n- [ ] テストの追加\n\n## ライセンス\n\nMIT\n\n## 作者\n\n- [calloc134](https://github.com/calloc134)\n\n## 余談\n\n名前の由来はわかりますか？笑\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcalloc134%2Fchilsonite","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcalloc134%2Fchilsonite","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcalloc134%2Fchilsonite/lists"}