Git Product home page Git Product logo

qrcode-token's Introduction

Release

qrcode-token

基于阿里云盘抓包接口编写的一个从命令行QR Code扫码获取阿里云盘refresh_token的工具,使用移动客户端APP QRCode扫码登录,获取的refresh_token,支持alist直链下载。


使用

  • 自行编译安装(依赖cgo,确保存在gcc环境)
# 拉取源码
git clone https://github.com/gngpp/qrcode-token.git && cd qrcode-token
# 拉取依赖
go mod tidy
# 编译
go build -ldflags="-s -w" -o qrcode-token main.go
# 执行
./qrcode-token

openwrt环境下需要安装gcc(固件一般不会自带)

opkg update && opkg install gcc
ar -rc /usr/lib/libpthread.a
  • 下载Release包
wget https://github.com/gngpp/qrcode-token/releases/download/v1.3/linux_amd64_qrcode-token.tar.gz
tar zxvf ./linux_amd64_qrcode-token.tar.gz
# 放在Linux bin目录可以直接执行了
mv ./qrcode-token /usr/bin

# macOS
mv ./qrcode-token /usr/local/bin

示例

qrcode-token's People

Contributors

gngpp avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

qrcode-token's Issues

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.