All Projects → vcheckzen → Xunleikuainiaoinshell

vcheckzen / Xunleikuainiaoinshell

Licence: gpl-3.0
[ 迅雷快鸟 Shell 版 ] A Shell Implementation of Kuainiao, Xunlei

Programming Languages

shell
77523 projects

Projects that are alternatives of or similar to Xunleikuainiaoinshell

Familycloudspeederinshell
[ 天翼家庭云/天翼云盘提速 Shell 版 ] A Shell Implementation of FamilyCloudSpeeder, ESurfing
Stars: ✭ 154 (+50.98%)
Mutual labels:  router, openwrt
openwrt
OpenWrt Stable 1907 with lean's package
Stars: ✭ 55 (-46.08%)
Mutual labels:  router, openwrt
Ansible Openwisp2 Imagegenerator
Automatically build several openwisp2 firmware images for different organizations while keeping track of their differences
Stars: ✭ 122 (+19.61%)
Mutual labels:  router, openwrt
Docker Openwrt
OpenWrt running in Docker
Stars: ✭ 107 (+4.9%)
Mutual labels:  router, openwrt
Asuswrt Merlin Transparent Proxy
transparent proxy base on ss, v2ray, ipset, iptables, chinadns on asuswrt merlin.
Stars: ✭ 367 (+259.8%)
Mutual labels:  router, openwrt
Fast Path Lede Openwrt
PLEASE GO TO NEW OPENWRT TRUNK BASED SFE FIRMWARE ->
Stars: ✭ 96 (-5.88%)
Mutual labels:  router, openwrt
Luci Wrtbwmon
Bandwidth tracker for OpenWRT that uses wrtbwmon
Stars: ✭ 201 (+97.06%)
Mutual labels:  router, openwrt
YAWAC
Yet Another Wifi Auto Connect (YAWAC) is a shell script to connect to a dataset of wireless connection and free hotspot like FreeWifi. It's works on OpenWrt.
Stars: ✭ 22 (-78.43%)
Mutual labels:  router, openwrt
TG799VAC-XTREME-17.2-MINT
My personal unique wiki for hacking the router firmware used by (Telia)TG799vac Xtream v17.2-MINT delivered from Technicolor
Stars: ✭ 71 (-30.39%)
Mutual labels:  router, openwrt
slim-wrt
Armor for Openwrt
Stars: ✭ 66 (-35.29%)
Mutual labels:  router, openwrt
Xunlei Fastdick
迅雷快鸟 Xunlei Network Accelerator For Router
Stars: ✭ 789 (+673.53%)
Mutual labels:  router, openwrt
Openwrtinvasion
Root shell exploit for several Xiaomi routers: 4A Gigabit, 4A 100M, 4, 4C, 3Gv2, 4Q, miWifi 3C...
Stars: ✭ 366 (+258.82%)
Mutual labels:  router, openwrt
Actions Openwrt K2p
Use Github Actions to automatically compile Lean's Modified Lede source for K2P
Stars: ✭ 67 (-34.31%)
Mutual labels:  router, openwrt
Chi
lightweight, idiomatic and composable router for building Go HTTP services
Stars: ✭ 10,581 (+10273.53%)
Mutual labels:  router
Go Tgbot
Golang telegram bot API wrapper, session-based router and middleware
Stars: ✭ 90 (-11.76%)
Mutual labels:  router
Literoute
LiteRoute is easy transition for your app. Written on Swift 4
Stars: ✭ 90 (-11.76%)
Mutual labels:  router
Openwrt V2ray
V2Ray for OpenWrt
Stars: ✭ 1,358 (+1231.37%)
Mutual labels:  openwrt
Min
A minimalistic web framework with route grouping and middleware chaining
Stars: ✭ 95 (-6.86%)
Mutual labels:  router
Qosdocs
Linux TC Qos 智能流控等相关资料,多年来的心血
Stars: ✭ 89 (-12.75%)
Mutual labels:  openwrt
K3c
K3C OPENWRT A1/B1/B1G/B2/C1/S1
Stars: ✭ 88 (-13.73%)
Mutual labels:  openwrt

XunleiKuainiaoInShell

Introduction

A shell implementation of kuainiao, xunlei, runs properly on almost all linux platform.

How to Use

Bind Your Xunlei with Mi Accout

Because the code is using mi account to authorize xunlei, you should bind them first. Here is the guide.

Download the Code

Assuming you've installed git, then

git clone https://github.com/vcheckzen/XunleiKuainiaoInShell.git
cd XunleiKuainiaoInShell

Edit the Code, Add Your Mi Account

Change XXXXXXXXXXX with your mi account username and password in kuainiao.sh.

# Line 8 and 9 of kuainiao.sh
user="XXXXXXXXXXX"
passwd="XXXXXXXXXXX"

Install Requirements and Test Environment

# Requirements on OpenWRT, Padavan and other RouterOS based on entware or optware environment
opkg update && opkg install libreadline libcurl libopenssl bash curl wget openssl-util ca-certificates ca-bundle

# Test https and grep, a normal output is like "ip":"121.226.150.154"
curl -s https://ipconfig.io/json | grep -Eo "\"ip\":\"[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\""
wget -qO- https://ipconfig.io/json | grep -Eo "\"ip\":\"[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\""

Run kuainiao.sh to Test

chmod +x kuainiao.sh browser.sh

# Speed up
./kuainiao.sh

# Revocer
./kuainiao.sh 0

Set kuainiao.sh As a Cron Job

The code below will enable kuainiao.sh to run one time in an hour, noting that certain_directory should be replaced.

crontab -l > tmp && echo "1 * * * * /certain_directory/kuainiao/kuainiao.sh" >> tmp && crontab tmp && rm -f tmp

References

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].