All Projects → OliverLew → ssr-decode

OliverLew / ssr-decode

Licence: MIT license
一个解析Shadowsocks/ShadowsocksR/V2Ray订阅链接(http/ss/ssr/vmess)并生成json配置文件的百行shell小脚本

Programming Languages

shell
77523 projects

Projects that are alternatives of or similar to ssr-decode

Ssssrv2rayclashtrojan
科学上网,ss, ssr, v2ray, trojan, clash, clashr,翻墙机场推荐
Stars: ✭ 186 (+250.94%)
Mutual labels:  shadowsocks, v2ray, shadowsocksr
Freedom
一个小白对于科学上网的一些切身感受的整理,自己捋思路,同时也为方便他人。发现错误的地方欢迎斧正。顺便也会不断整理一些实用资源及工具。
Stars: ✭ 236 (+345.28%)
Mutual labels:  shadowsocks, v2ray, shadowsocksr
Ss Ssr V2ray Gadget
merge, deduplicate, backup, convert and online benchmark tools set for shadowsocks/shadowsocksR, v2ray. by python3
Stars: ✭ 96 (+81.13%)
Mutual labels:  shadowsocks, v2ray, shadowsocksr
New Pac
翻墙-科学上网、免费翻墙、免费科学上网、免费自由上网、fanqiang、翻墙梯子、免费软件/方法,一键翻墙浏览器,免费shadowsocks/ss/ssr/v2ray/goflyway账号/节点分享,vps一键搭建翻墙服务器脚本/教程,电脑、手机、iOS、安卓、windows、Mac、Linux、路由器翻墙
Stars: ✭ 31,869 (+60030.19%)
Mutual labels:  shadowsocks, v2ray, shadowsocksr
Fanqiang Book
2021科学上网指南,小白图文攻略 | 翻墙/梯子/自由上网/SSR/V2Ray/
Stars: ✭ 127 (+139.62%)
Mutual labels:  shadowsocks, v2ray, shadowsocksr
Luci App Clash
Luci interface for Clash Openwrt
Stars: ✭ 967 (+1724.53%)
Mutual labels:  shadowsocks, v2ray, shadowsocksr
Ladder
梯子,科学上网,翻墙 , 代理, 外网, 加速器, 路由, V2Ray,SS,shadowsocks, SSR
Stars: ✭ 141 (+166.04%)
Mutual labels:  shadowsocks, v2ray, shadowsocksr
Share Ssr V2ray
🃏 Free SS/SSR/V2ray 免费分享节点账号信息网站
Stars: ✭ 5,984 (+11190.57%)
Mutual labels:  shadowsocks, v2ray, shadowsocksr
Onesubscribe
ss ssr v2ray 订阅管理 node 后端
Stars: ✭ 122 (+130.19%)
Mutual labels:  shadowsocks, v2ray, shadowsocksr
Subscribevue
ss ssr v2ray 订阅管理 vue前端界面
Stars: ✭ 114 (+115.09%)
Mutual labels:  shadowsocks, v2ray, shadowsocksr
Stairspeedtest Reborn
Proxy performance batch tester based on Shadowsocks(R) and V2Ray
Stars: ✭ 2,501 (+4618.87%)
Mutual labels:  shadowsocks, v2ray, shadowsocksr
SubCrawler
节点爬取,筛选, google ping,支持Clash,base64订阅解析,生成可用的ss, ssr, v2ray, trojan,vless节点. (若不进行二次开发,请不要fork)
Stars: ✭ 686 (+1194.34%)
Mutual labels:  shadowsocks, v2ray, shadowsocksr
V2raya
A Linux web GUI client of Project V which supports V2Ray, SS, SSR, Trojan and Pingtunnel 🚀
Stars: ✭ 840 (+1484.91%)
Mutual labels:  shadowsocks, v2ray, shadowsocksr
Awesome Vpn
Free VPN/proxy,server,account,link list.,实时更新免费的代理,科学上网,翻墙,梯子,服务器,客户端,账号
Stars: ✭ 2,691 (+4977.36%)
Mutual labels:  shadowsocks, v2ray, shadowsocksr
Blinksocks
A framework for building composable proxy protocol stack.
Stars: ✭ 587 (+1007.55%)
Mutual labels:  shadowsocks, v2ray, shadowsocksr
Scripts
Shadowsocks/SS一键脚本、ShadowsocksR/SSR一键脚本、V2Ray一键脚本、trojan一键脚本、VPS购买教程,各种网络资源和网络教程
Stars: ✭ 1,377 (+2498.11%)
Mutual labels:  shadowsocks, v2ray, shadowsocksr
Freepac
科学上网/翻墙梯子/自由上网/SS/SSR/V2Ray/Brook 搭建教程 免费机场、VPN工具
Stars: ✭ 4,515 (+8418.87%)
Mutual labels:  shadowsocks, v2ray, shadowsocksr
Clashxr
A rule based custom proxy with GUI for Mac base on clash.
Stars: ✭ 405 (+664.15%)
Mutual labels:  shadowsocks, v2ray, shadowsocksr
Breaking Gfw Book
整理所有的翻墙方法,持续更新....欢迎PR
Stars: ✭ 105 (+98.11%)
Mutual labels:  shadowsocks, v2ray, shadowsocksr
Proxysu
Xray,V2ray,Trojan,NaiveProxy, Trojan-Go, ShadowsocksR(SSR),Shadowsocks-libev及相关插件,MTProto+TLS 一键安装工具,windows下用(一键科学上网)
Stars: ✭ 3,309 (+6143.4%)
Mutual labels:  shadowsocks, v2ray, shadowsocksr

Shadowsocks(R)/V2Ray subscription decoder/parser

A 100-line POSIX compatible shell script to decode, parse Shadowsocks(R)/V2Ray subscription link and create configuration files.

Disclaimer: This is a toy project. I don't know the standard of the encoding of those link URLs, so some parsing could quite possibly go wrong.

Requirement:

  • base64 to decode base64 format data
  • curl or wget to download http links (optional)

Usage

The script accepts one or more links as CLI arguments or from pipe. The links can be one of the formats:

  • A single ss:// or ssr:// or vmess:// link. This contains a single configuration.
  • A http(s):// subscription link. This normally contains multiple configurations.
  • A base64 encoded string downloaded from a subscription link.
ssr-decode [ http(s)://link | ss(r)://BASE64 | vmess://BASE64 | BASE64 | < input.txt ]

Issues

Some links encode the strings in other encodings other than UTF-8, the script will still decode with UTF-8. So, expect some non-sense garbles if you run into some of them.

Customization

The local_port and timeout in the shadowsocks settings can be controlled with environment variables by LOCAL_PORT and TIMEOUT, the default is 1080 for local port and 300 for timeout

LOCAL_PORT=1234 TIMEOUT=600 ssr-decode

Output

The script will generate *.json configuration files for each Shadowsocks(R)/V2Ray setup.

  • The ShadowsocksR configuration file will be named ssr-$group-$remarks.json with group normally being the service provider, remarks being the description of this setup.
  • The Shadowsocks configuration file will be named ss-$server-$port.json.
  • The V2Ray configuration file will be named v2ray-$ps.json with ps normally being the description.
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].