{"id":13775613,"url":"https://github.com/wanjunzh/ssct","last_synced_at":"2025-05-11T08:32:40.115Z","repository":{"id":215850950,"uuid":"91947072","full_name":"wanjunzh/ssct","owner":"wanjunzh","description":"A wrapper tool for shadowsocks to consistently bypass firewalls.","archived":false,"fork":false,"pushed_at":"2017-12-24T09:58:41.000Z","size":342,"stargazers_count":83,"open_issues_count":0,"forks_count":20,"subscribers_count":5,"default_branch":"master","last_synced_at":"2024-08-03T17:12:06.493Z","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":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/wanjunzh.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}},"created_at":"2017-05-21T09:47:37.000Z","updated_at":"2024-04-06T09:08:40.000Z","dependencies_parsed_at":"2024-01-17T16:06:46.018Z","dependency_job_id":null,"html_url":"https://github.com/wanjunzh/ssct","commit_stats":null,"previous_names":["wanjunzh/ssct"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wanjunzh%2Fssct","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wanjunzh%2Fssct/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wanjunzh%2Fssct/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wanjunzh%2Fssct/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/wanjunzh","download_url":"https://codeload.github.com/wanjunzh/ssct/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":225027470,"owners_count":17409442,"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":"2024-08-03T17:01:42.512Z","updated_at":"2024-11-17T10:31:42.774Z","avatar_url":"https://github.com/wanjunzh.png","language":"Python","funding_links":[],"categories":["\u003ca id=\"af9d2b4988d35a2a634c042a1c66bb8c\"\u003e\u003c/a\u003e工具","Python (1887)","Python"],"sub_categories":["\u003ca id=\"6e28befd418dc5b22fb3fd234db322d3\"\u003e\u003c/a\u003e翻墙"],"readme":"# ShadowSocks ConnecTion\n\n[![ssct](https://img.shields.io/badge/Platform-%20Linux%20%7C%20MACOS-brightgreen.svg)](ssct)\n[![Documentation Status](https://img.shields.io/badge/中文文档-最新-brightgreen.svg)](README_zh.md)\n\nA wrapper tool for [shadowsocks](https://github.com/shadowsocks/shadowsocks) to consistently bypass firewalls.\n\n## Quick start\n### Automatically connect\nThe easiest way to run this tool is just type `ssct` in terminal, and ssct will acquire available shadowsocks servers from [ishadowsocks](https://global.ishadowx.net) and connect to it automatically.\n\n### Connect to a specific server\n\nFirst, show all ss servers by `--list` option.\n\n```\nssct --list\n```\n\nThen, connect to a specific server by `-n` option.\n\n```\nssct -n 5\n```\n\nAlternatively, you can connect a custom server.\n\n```\nssct -s \u003cserver_addr\u003e -p \u003cserver_port\u003e -l \u003clocal_port\u003e -k \u003cpassword\u003e -m \u003cmethod\u003e\n```\n\n## Usage\n\n### Requirements\n\n1 Install shadowsocks and requests (Required)\n\n```\npip3 install shadowsocks\npip3 install requests\n```\n\n2 Install prettytable (Optional)\n\n```\npip3 install prettytable\n```\n\n**Note:** The module `prettytable` is optional, but would be better if installed.\n\n### Configuration for chrome and firefox\n\n1. Install extension Proxy SwitchyOmega ([Chrome version](https://chrome.google.com/webstore/detail/proxy-switchyomega/padekgcemlokbadohgkifijomclgjgif), [Firefox version](https://addons.mozilla.org/en-US/firefox/addon/switchyomega/)).\n2. Open the options of SwitchyOmega, and configure as below.  \n![set switchyomega proxy](img/config-swithyomega.png)\n3. List servers and select one to connect, or just type `ssct` to connect automatically.\n![start ssct](img/start-ssct.png)\n4. Select proxy option in chrome or firefox and enjoy it.\n![select proxy option](img/chrome-proxy.png)\n\n## More options\n\n```\noptional arguments:\n  -h, --help         show this help message and exit\n\nssct options:\n  -n \u003cnum\u003e           connect server number\n  --list             list all ss servers\n  --version          show program's version number and exit\n\nshadowsocks options:\n  -c \u003cconfig\u003e        path to config file\n  -s \u003caddr\u003e          server address, auto crawl online\n  -p \u003cport\u003e          server port, auto crawl online\n  -b \u003caddr\u003e          local binding address [default: 127.0.0.1]\n  -l \u003cport\u003e          local port [default: 1080]\n  -k \u003cpassword\u003e      password, auto crawl online\n  -m \u003cmethod\u003e        encryption method, auto crawl online\n  -t \u003ctimeout\u003e       timeout in seconds [default: 300]\n  --fast-open        use TCP_FASTOPEN, requires Linux 3.7+\n  -d \u003cdaemon\u003e        daemon mode, one of start, stop and restart\n  --pid-file \u003cfile\u003e  pid file for daemon mode\n  --log-file \u003cfile\u003e  log file for daemon mode\n  --user \u003cuser\u003e      username to run as\n  -v, -vv            verbose mode\n  -q, -qq            quiet mode, only show warnings/errors\n```\n\nConnect to the available server automatically without any argument.\n\n## LICENSE\n\nPermission is hereby granted, free of charge, to any person, without any restriction.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwanjunzh%2Fssct","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwanjunzh%2Fssct","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwanjunzh%2Fssct/lists"}