Coder Social home page Coder Social logo

nsdown / lixian-portal Goto Github PK

View Code? Open in Web Editor NEW

This project forked from layerssss/lixian-portal

0.0 2.0 0.0 8.49 MB

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

Home Page: https://github.com/layerssss/lixian-portal

License: MIT License

CoffeeScript 29.57% JavaScript 53.91% Shell 0.22% HTML 16.31%

lixian-portal's Introduction

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.

lixian-portal's People

Contributors

layerssss avatar iambus avatar

Watchers

James Cloos avatar  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.