Coder Social home page Coder Social logo

lolimay / shadowsocks-deepin Goto Github PK

View Code? Open in Web Editor NEW
402.0 16.0 82.0 12.65 MB

😎 a powful shadowsocks client for deepin

License: GNU General Public License v3.0

CMake 1.13% JavaScript 55.92% C++ 42.67% Shell 0.28%
deepin shadowsocks proxy pac shadowsocks-deepin proxy-client

shadowsocks-deepin's Introduction

Shadowsocks logo

License Version License

Shadowsocks for Deepin

English | 中文

Shadowsocks-deepin is a powerful shadowsocks client for linux deepin.

Advantages compared to Shadowsocks-Qt5

Software Agent Mode Accessibility
Shadowsocks-Qt5 only support global mode need to manually configure system proxy or use Chrome extension
Shadowsocks-Deepin both global mode and pac mode supported no extra configuration required

Installation


Shadowsocks-deepin is ready to use right out of box, as long as the right server configration was added and proper proxy mode selected, it should works well. no extra system proxy configuration required, the software will done this for you. Any problems encounted during the use, please feel free to propose issues to help us improve this project.

You can also try to package the source code yourself. The packing method is given below:

sudo apt update # update source
sudo apt install git dh-make cmake fakeroot qtcreator-dde qttools5-dev g++ -y #install dependencies
mkdir shadowsocks && cd shadowsocks # create shadowsocks folder and switch to this path
git clone [email protected]:loliMay/shadowsocks-deepin.git # clone shadowsocks-deepin repo
mv shadowsocks-deepin shadowsocks-deepin-1.2.2 #rename
tar -zcvf shadowsocks-deepin-1.2.2.tar.gz shadowsocks-deepin-1.2.2 # package to *.tar.gz
cd shadowsocks-deepin-1.2.2 # switch to the project root directory
dpkg-buildpackage -us -uc -b # package

Right click and select opens in the file manager, the *.deb file will appear in the shadowsocks directory.

Terminal Proxy

Terminal cannot access target url through shadowsocks proxy by default either appling global mode or pac mode. Proxychains is a tool that forces any TCP connection to follow through shadowsocks proxy. Follow below steps and make any terminal commands access network through shadowsocks proxy:

  1. sudo apt install proxychains -y # insall proxychains
  2. echo -e "[ProxyList]\nsocks5 127.0.0.1 1080" | tee ~/.proxychains/proxychains.conf # configration
  3. Prefix proxychains for any commands which you want it to access network through proxy.

Example:

npm install chalk # no proxy
proxychains npm install chalk # using socks5 proxy via proxychains
proxychains git clone [email protected]:lolimay/shadowsocks-deepin.git # using proxy

Development

You can make contributions by participating in development. Start with the following steps:

sudo apt update
sudo apt install qt5-default qttools5-dev-tools qt5-qmake g++ qtcreator qttools5-dev -y
sudo apt install libdtkbase-dev libdtkwidget-dev -y
sudo apt install libdframeworkdbus-dev -y
sudo apt install libqrencode-dev libzbar-dev -y
sudo apt install libdtkcore-dev libdtkwidget-dev libdtkwm-dev libdtkcore-bin -y
sudo apt install libdtksettings-dev libdtksettingsview-dev -y
sudo apt install libqtshadowsocks-dev -y
sudo apt install dh-make fakeroot -y
cd shadowsocks-deepin
mkdir build && cd build
cmake ..
make -j4
cd src
./shadowsocks-deepin

Update Logs

1.2.2 Fixes #9, complete chinese localization for main interface, change the traffic icon to shadowsocks-windows style.

1.2.1 Fixes the bug that the pac mode cannot be used due to the invalidation of the original pac file online address. The latest pac file address is http://file.lolimay.cn/autoproxy.pac.

1.2.0 The main functions are almost all implemented.

About this project

The initiator of this project is @PikachuHy. Remember that without his hard work, we cannot use shadowsocks which is almost the same experience as it on windows. After the version 1.2.2, this project was maintained by @LoliMay.

Licence

Shadowsocks-deepin is under GPLv3 licence.

Appreciation to the following open source projects:

Dependencies

Name License
Deepin Tool Kit Core GPLv3
Deepin Tool Kit Widget GPLv3
Botan Simplified BSD
libQtShadowsocks LGPLv3
ZBar LGPLv2.1
libqrencode LGPLv2.1

shadowsocks-deepin's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

shadowsocks-deepin's Issues

Archlinux无效?

你好,我是在Archlinux上编译的,然后全局代理无效,目前还得通过浏览器插件。终端运行主要看到了两个报错:
"dtkwidget2" can not find qm files
"shadowsocks-client" can not find qm files
求指点

系统升级15.7后无法修改服务器配置

1.原先已经配置三个服务器了,现在需要修改相关信息,修改完后选择相应服务器软件直接退出,日志没有显示异常
2.如果修改或删除配置后,退出再重新打开软件配置仍然是原先旧的三个服务配置

能否添加 kcptun 功能?

我自己的服务器配置了 kcptun 加速服务。在 mac 下使用时 ShadowsocksX-NG 客户端是支持 kcptun 加速的。但是在 linux 上没有找到类似的功能。

如果您能加入这个功能的话,那就善莫大焉啦!

关于在关闭系统代理时的状态

根据我的使用经验,在Windows下Shadowsocks原版客户端在关闭系统代理时本地的socks5 1080端口仍然是打开的,也就是说我在关闭系统代理且在浏览器代理插件中配置好本地代理端口也可使用,但这个客户端却没有办法这样,能不能改一下呢。

小飞机不能启动了

昨天安装了一次,小飞机是可以连接成功的。 但是今天我软件都不能打开了,重启电脑,和卸载了重新安装也是不行的, 我需要提供哪些日志信息,日志信息在什么地方查找

每次注销或重启后,代理地址自动被改为https://raw.githubusercontent.com/PikachuHy/shadowsocks-client/master/autoproxy.pac

我已经手动把.config/pikachu/shadowsocks-client/gui-config.json中的pacUrl改为了http://file.lolimay.cn/autoproxy.pac,但是每次注销或重启后都自动被改为了https://raw.githubusercontent.com/PikachuHy/shadowsocks-client/master/autoproxy.pac
目前我使用的是1.2.1版本,之前使用过1.2.0版本,更新1.2.1之前执行了卸载旧版本的操作。
请问这个问题该如何解决?

15.8不能使用

我的导入节点信息之后依旧不能联网,需要我提供什么数据吗

shadowsocks-deepin pac模式,不生效.

我也是今天才发现的,使用pac模式,不生效(之前都是正常的),只有用全局模式,才正常。
pac模式 应该用的是远程的pac文件,估计是远程地址挂掉了?所以导致pac模式无用?
如果能用本地的pac文件,或者自定义url地址就好了。

添加服务器闪退

deepin 15.10.1
第一次用 添加服务器点击保存后控制台报段错误闪退

点击程序图标无反应

下载下来1.2.1和1.2.2,双击影梭图标,鼠标会变成加载那种图标,等一会鼠标恢复正常 启动不了。
再双击图标,还是 这样

需要适配低版本QT环境

目前由于deepin 15.10系统迁移到了 debian稳定版 底层环境,所以系统内置的QT版本降到了5.7.1,而软件需要最低5.8版本的QT才可以正常运行。这使得升级系统以后的用户无法正常使用。

考虑到 deepin 单方面应该不可能在6个月以内修正这个问题,因此就需要软件主动适配新版本系统所带来的变化。

如果功能上不会有什么损失的话,建议开发者最好尝试一下。谢谢。

闪退问题在 deepin 15.7

在deepin15.7系统中,默认开机自动启动之后就会自动连接代理,不过每次都是提示启动失败,之后无法正常使用代理上网,之后试图断开连接之后重新连接之后又会闪退,再次打开,重新连接正常,希望给予修复,这个客户端比qt那个好很多,希望继续维护。

【1.2.2】版本规划

  • 界面的汉化率达到100%(目前还有些页面没适配中文)
  • 修复扫描屏幕二维码服务器地址与密码颠倒的BUG
  • 目前发现程序偶尔会出现内存泄漏问题(以后修复)
  • 将托盘图标的上行和下行图标改成三角形以便统一风格

fedora30 运行成功

手动安装依赖后,解开deb包即可
感谢兄弟的杰作。。
现在可能还有一些小问题:
1.每次运行时都会提示time out is 0. we will change the value to 6。可是并没有发现哪里可以设置timeout的值。
2.每次运行会提示change auto boot error。
不过这个提示归提示都不影响使用。

还有一个不知道是不是问题,google还是要用swithy-omega,firefox还是要用proxychains才能启用代理。

扫描二维码或者链接解析有问题

感谢作者~
我使用的免费账户解析有问题。(逗比根据地)
image
图中链接:ss://Y2hhY2hhMjA6ZG91Yi5pby9zc3poZngvKjE2MTdANDUuNjIuMjM4LjE0NzoxNjE3
和二维码扫描出来,密码和ip位置填写错误。
不知道是这个站点的问题,还是解析的地方有问题,望修复。

下载链接无效

似乎file子域名无法访问了?
反正无法下载,挂不挂梯子都无法访问
大佬能不能打包放release里面一个

开启自启 start fail

开启自启 start fail 的原因是在网络还未连通之前就直接启动代理了,导致代理失败。

一个可行的方案是: 启动应用不立即启动代理,而是监听网络连通性,如果网络已连通则直接启动,否则监听等待直到网络连通后才启动后端代理服务。

无法打开'debian/changelog

如题,按照步骤进行到最后一步时爆错误
tail: 无法打开'debian/changelog' 读取数据: 没有那个文件或目录
dpkg-buildpackage: error: tail of debian/changelog subprocess returned exit status 1

Http代理连接

默认都是Socks 的,请问Http代理的怎么连接啊?

15.10 安装失败 libqt5core5a 依赖不满足 准确的说 是我的版本比较高

sudo apt install libqt5core5a -y

正在读取软件包列表... 完成
正在分析软件包的依赖关系树
正在读取状态信息... 完成
libqt5core5a 已经是最新版 (5.7.1+dfsg-9deepin)。
升级了 0 个软件包,新安装了 0 个软件包,要卸载 0 个软件包,有 0 个软件包未被升级。

能不能升级一下 匹配最新版 deepin15.10
20190502145426

安装不了

安装deb后,根本找不在安在哪了。

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.