Coder Social home page Coder Social logo

woo_proxy's Introduction

_写在前面:本来是一个程序两个端口,一个端口监听sockets4/5 代理,一个监听http/s代理,但是win10的设置有点麻烦,防止兼容问题,现已改为一个端口监听,默认1188

?woo_proxy是个啥

为了兼容windows, woo_proxy 目前测试阶段,启动后就可以访问github开源网站,网络1MB,人多也可能很卡,公司需要使用请自行购买服务器

woo_proxy 使用woo语言开发,完全开源; 目前大公司还好都有代理,可以直接访问github网页; 个人,小公司当遇到紧急情况不能访问github,或者clone一个项目几kb每秒的速度,那真的时热锅上的蚂蚁了 woo_proxy实现socket4/5 http/s代理的代码逻辑,给需要的人使用,请勿用于非法用途

有能力的可以提交代码

注意下方的图片中的“端口”,启动程序中显示什么端口就设置什么端口,不能照抄,目前默认端口是1188了,不是10000,别弄错了

1.注意事项:

1.win 系统级别默认走 http/s

2.安装后,直接启动:woo client.woo即可访问github,测试服务器1MB网络,仅仅能用于用户测试

2.路由规则

woo_proxy路由规则,默认本地不能访问,才会走proxy,能访问的直接本地访问,提高访问速度

3.安装

1.安装前请先安装 woo语言

2.安装前请先安装 wpm包管理器 ,类似python的pip

3.全局安装woo_proxy命令行:wpm install woo_proxy global,global可省略,woo_proxy默认安装全局目录

-- 启动并监听默认端口10000
woo woo_proxy client start
-- 或下方全局启动
woo_proxy server start

-- 启动后的sockts4/5 和http/s代理端地址默认 127.0.0.1:10000

3.9 写在前面,下方设置,在win10的时候,可能只适用于浏览器 和一般app,当需要cmd也生效请把http_proxy=127.0.0.1:10000 和 https_proxy=127.0.0.1:10000 加入系统环境变量

4.设置proxy到系统

1.deepin系统例子(注意下方的端口填写10000,默认,或者自己修改conf.woo文件内的端口)

输入图片说明

2.win10系统例子

输入图片说明

win10cmd使用请设置环境变量,如下:

输入图片说明

5.具体用例介绍

比如把 woo_proxy放到树梅派上面做一个固定服务,使用开机自启动服务:woo_proxy client start,把这启动命令加入 /etc/rc.local 文件中 并且把树梅派的ip地址使用路由器固定住,这样就可以提供良好的服务了

woo_proxy's People

Contributors

rhettli avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.