• Stars
    star
    133
  • Rank 272,600 (Top 6 %)
  • Language
    JavaScript
  • License
    MIT License
  • Created almost 12 years ago
  • Updated about 10 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

一个简洁实用的 Web 版迅雷离线下载程序。

lixian-portal

一个简洁实用的 Web 版迅雷离线下载程序。注:迅雷离线下载是仅为迅雷会员提供的服务,未开通会员的迅雷账户可能无法登录。

这是啥

我也不知道这是啥,见下一章说明吧

典型使用场景

  1. 家里有个 HTPC,运行着这个程序
  2. 我平常刷微博时发现先几个好看的电影,和想玩的游戏,然后再xxx上找到这些电影和游戏的ed2k链接,然后输入进去
  3. 周末我通过 samba 文件共享打开这个程序已经下好的电影和游戏,看之且玩之
  4. 室友也可以看(如果有室友的话)

界面预览

查看运行在 Michael Yin 家里的一个 lixian-portal 演示实例

2014-11-11 10 04 47 2014-11-11 10 06 34 2014-11-11 10 06 25 2014-11-11 10 06 43

环境

安装方法

  • 使用 NodeJS 自带的包管理器 npm 来安装该程序:npm install lixian-portal -g
  • 运行命令启动:lixian-portal
  • 下载的位置为启动这个程序的目录(Current Working Directory)
  • 如需下载到其他位置,可以设置环境变量LIXIAN_PORTAL_HOME,例如:可以这样启动程序LIXIAN_PORTAL_HOME=/mnt/sdb1 lixian-portal
  • 可以使用环境变量PORT设置程序监听的端口,默认为3000

Tricks

  • 如果想让它一直在后运行,可以使用这个命令启动nohup lixian-portal &

感谢

这个程序的核心逻辑主要参考了 @iambus 的作品 xunlei-lixian,没有他完成的分析迅雷API的工作,这个程序不可能这么容易地实现,在此向他表示感谢。

代码授权协议

The MIT License (MIT)

Copyright (c) 2013 Michael Yin

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

More Repositories

1

paste.js

read image/text data from clipboard (cross-browser)
CoffeeScript
463
star
2

manager-for-upyun

又拍云资源管理器
CoffeeScript
170
star
3

gfwlist2routeos

把伟大的GFWLIST转化写进RouterOS
CoffeeScript
56
star
4

sshkeyd

Forget about the ssh keys
CoffeeScript
51
star
5

localhostd

Run and serve your web apps in .test domains on your develop machine.
JavaScript
30
star
6

touchy

touchy可以在一个普通网页上启用几个小功能,便于你在投影仪上演示。
JavaScript
18
star
7

freedom-routes

Internet Freedom - Implement routes for vpn.
Go
16
star
8

node-lixian

非官方迅雷离线下载服务 API for nodejs
CoffeeScript
16
star
9

wqy

wenquanyi (文泉驿) 开源中文字体
Ruby
16
star
10

rails-assets-for-upyun

把预编译好的静态资源发布到又拍云上(`rake`一下)
Ruby
14
star
11

chnroutesapp

不用在本地运行chnroutes,直接在线获取chnroutes脚本
HTML
13
star
12

devhttps

HTTPS proxy for emulating secure connections in development.
CoffeeScript
12
star
13

unchained.coffee

CoffeeScript Unchained!
CoffeeScript
8
star
14

icomoon-bower

icomoon free font as a bower component
CSS
7
star
15

svnpod

xxx, 帮我开个svn账号。
CoffeeScript
5
star
16

myslides

我的幻灯片
JavaScript
4
star
17

node-excel-api

a simple wrapper arround the mature [JExcelApi](http://jexcelapi.sourceforge.net/) project
CoffeeScript
4
star
18

node-tailer

`tail` in browsers at your own risk
CoffeeScript
3
star
19

markem

zero(nearly)-conf static site generator
CSS
3
star
20

git-battlestation

轻便的git伴侣
JavaScript
2
star
21

dotfiles

Michael Yin's dotfiles
Shell
2
star
22

superclusterjs-ruby

Ruby
2
star
23

gitpages

provide 'github pages'-like functionalities for gitlab
CoffeeScript
2
star
24

galeriders

Website of the Gale Riders runners club
JavaScript
2
star
25

myhome

[上海]普陀区上海西站地铁站旁二室一厅月租3000求室友分担
2
star
26

LLife

a series of experiments been done to improve Micheal's college life
C#
1
star
27

jadepacker

pack your jades
1
star
28

turfjs-ruby

Turf.js bridge for ruby
Ruby
1
star
29

getaport

Get a random free tcp port.
JavaScript
1
star
30

pow_index

Guide you from other ports to any of your `pow.io` projects
JavaScript
1
star
31

gfwlist2ip.js

把伟大的GFWLIST转化成IP列表
CoffeeScript
1
star
32

michaelhost

Michael Yin's very own hosting software (I can't believe he's using that thingy to host all his stuff)
JavaScript
1
star
33

HMM-experiments

a series experiments with HMM on image-processing
C#
1
star
34

jquery-ui.daterange

modified version of jquery-ui.datepicker with range support
JavaScript
1
star
35

omniauth-tiktok-loginkit

OmniAuth Strategy for TikTok LoginKit
Ruby
1
star
36

express-sexy-static

sexy static content server for express
JavaScript
1
star