All Projects → yryz → httpproxy

yryz / httpproxy

Licence: Apache-2.0 license
一个轻量级HTTP代理,支持shadowsocks服务,方便命令行、开发环境使用。

Programming Languages

go
31211 projects - #10 most used programming language
shell
77523 projects

Projects that are alternatives of or similar to httpproxy

Http Proxy To Socks
hpts(http-proxy-to-socks) is a nodejs client to convert socks proxy into http proxy
Stars: ✭ 296 (+228.89%)
Mutual labels:  http-proxy, shadowsocks
Proxy admin free
Proxy是高性能全功能的http代理、https代理、socks5代理、内网穿透、内网穿透p2p、内网穿透代理、内网穿透反向代理、内网穿透服务器、Websocket代理、TCP代理、UDP代理、DNS代理、DNS加密代理,代理API认证,全能跨平台代理服务器。
Stars: ✭ 487 (+441.11%)
Mutual labels:  http-proxy, shadowsocks
Shadowsocks Rust
A Rust port of shadowsocks
Stars: ✭ 3,455 (+3738.89%)
Mutual labels:  http-proxy, shadowsocks
php-proxy
php proxy based on GoAgent protocal,Implemented by golang
Stars: ✭ 85 (-5.56%)
Mutual labels:  http-proxy, httpproxy
Pichi
Flexible Rule-Based Proxy
Stars: ✭ 149 (+65.56%)
Mutual labels:  http-proxy, shadowsocks
Proxyclient
proxy client, supported SOCKS4, SOCKS4A, SOCKS5, HTTP, HTTPS etc proxy protocols, written in golang
Stars: ✭ 42 (-53.33%)
Mutual labels:  http-proxy, shadowsocks
Gluetun
VPN client in a thin Docker container for multiple VPN providers, written in Go, and using OpenVPN, DNS over TLS, with a few proxy servers built-in.
Stars: ✭ 346 (+284.44%)
Mutual labels:  http-proxy, shadowsocks
dePAC
seamless Proxy Auto-Config (a.k.a. Web Proxy Auto Discovery) for CLI apps
Stars: ✭ 26 (-71.11%)
Mutual labels:  curl, http-proxy
Fwlite
A anti-censorship HTTP proxy with builtin shadowsocks support.
Stars: ✭ 129 (+43.33%)
Mutual labels:  http-proxy, shadowsocks
V2ray Core
A platform for building proxies to bypass network restrictions.
Stars: ✭ 38,782 (+42991.11%)
Mutual labels:  http-proxy, shadowsocks
Shadowtunnel
secure tunnel which help you protecting your tcp traffic between your machine and your service on remote.
Stars: ✭ 156 (+73.33%)
Mutual labels:  http-proxy, shadowsocks
Php Curl Class
PHP Curl Class makes it easy to send HTTP requests and integrate with web APIs
Stars: ✭ 2,903 (+3125.56%)
Mutual labels:  curl, http-proxy
Lua Curlv3
Lua binding to libcurl
Stars: ✭ 197 (+118.89%)
Mutual labels:  curl
Wttr.in
⛅ The right way to check the weather
Stars: ✭ 16,345 (+18061.11%)
Mutual labels:  curl
Yurunhttp
YurunHttp 是开源的 PHP HTTP 客户端,支持链式操作,简单易用。完美支持Curl、Swoole 协程。QQ群:17916227
Stars: ✭ 197 (+118.89%)
Mutual labels:  curl
Ob Http
make http request within org-mode babel
Stars: ✭ 191 (+112.22%)
Mutual labels:  curl
libpascurl
libPasCURL is delphi and object pascal wrapper around cURL library. Library for transferring data with URL syntax, supporting HTTP, HTTPS, FTP, FTPS, GOPHER, TFTP, SCP, SFTP, SMB, TELNET, DICT, LDAP, LDAPS, FILE, IMAP, SMTP, POP3, RTSP and RTMP.
Stars: ✭ 58 (-35.56%)
Mutual labels:  curl
Parrot.live
🐦 Bringing animated parrots to terminals everywhere
Stars: ✭ 2,642 (+2835.56%)
Mutual labels:  curl
Google Group Crawler
Get (almost) original messages from google group archives. Your data is yours.
Stars: ✭ 190 (+111.11%)
Mutual labels:  curl
Github.vim
Another github v3 api implemented in vim script
Stars: ✭ 187 (+107.78%)
Mutual labels:  curl

Build Status

使用Golang实现的HTTP代理转shadowsocks,主要为命令行下go getdocker pullnpm installpip installgem installcurl等程序提供HTTP代理服务,解决安装总是失败的问题。这些服务不支持shadowsocks,但对http代理都有支持。

原理

应用 <-------HTTP/1.1-------> httpproxy <-------加密-------> 你的shadowsocks服务器

使用

安装

go get github.com/yryz/httpproxy

或者

curl -L https://github.com/yryz/httpproxy/releases/download/v1.1/httpproxy-linux64.tar.gz | tar -xz -C /usr/local/bin

配置文件 ~/.httpproxy/config.json(这里是默认配置,也可以通过 httpproxy -c config.json 来指定)

{
        "listen": "127.0.0.1:6666",
        "ss_server": "ip:port",
        "ss_cipher": "aes-128-cfb",
        "ss_password": "your password"
}

启动 httpproxy

使用代理

如果想命令行一直走代理,下面配置加入到 ~/.bash_profile

http_proxy=http://127.0.0.1:6666
https_proxy=http://127.0.0.1:6666

如果只是想临时使用,可以手动设置http_proxy环境变量或者 使用httpproxy set 快速就地设置(不影响全局,推荐!)。 推荐方式二:修改~/.bash_profile设置别名alias proxy="http_proxy=http://127.0.0.1:6666",使用时可以 proxy curl ip.cn

特点

  • 支持与shadowsocks服务桥接
  • 支持CONNECT,支持HTTPS、HTTP2代理
  • 简单易用、命令行友好

TODO

  • 抓包分析、支持HTTPS
  • 支持代理开关,不用每次手动设置代理地址
  • 支持自定义白名单
  • 增加私有IP、主机的过滤
  • 增加授权机制:用户名验证或IP白名单
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].