Git Product home page Git Product logo

ashare's Introduction

AShare

一款阿里云多账户直链解析程序
支持绑定多个账号,分享单加密目录,分享单目录,批量获取文件夹内容直链,获取单文件直链,在线预览等

交流QQ群

299791604

安装注意事项

如果直链作为第三方资源站的引用,需要在资源站的头部加上如下meta

<meta name="referrer" content="never">

全新安装的话,参考下面的过程

获取阿里云盘的refresh_token,这里需要用移动端的token

更改yum源

curl --silent --location https://rpm.nodesource.com/setup_14.x | sudo bash -

1.png

安装nodejs环境

yum install nodejs -y

1.png

安装pm2管理器

npm i pm2 -g

1.png

安装git

yum install git -y

1.png

下载源码

git clone https://github.com/badyun/AShare.git

1.png

进入源码目录

cd AShare

安装依赖

npm i

1.png

启动服务

pm2 start app.js --name AShare -i max

1.png

添加进程守护和开机启动

pm2 save
pm2 startup

1.png

查看启动日志(默认账户密码)

pm2 log AShare

1.png

如果要使用443或者80啥的,就自己去设置下反代吧

代理就是就是上图看到的服务运行地址,在我这里就是
http://127.0.0.1:5201

最后打开系统,根据上面日志里的账号密码登录系统,开始新增阿里云盘账号

点击新增账号,填入你第一步获取的refresh_token,点击确定即可

ashare's People

Stargazers

 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.