baidupan-uploader

module
v1.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 21, 2022 License: GPL-3.0

README

baidupan-uploader

不用暴露百度账号上传文件的小工具,使用百度网盘开发者 + oAuth,目前需要自己申请成为百度网盘开发者,并创建一个应用。

准备

  1. 百度网盘开发平台认证成为开发者
  2. 在控制台创建一个应用,获取到应用的 AppId、AppKey、SecretKey、SignKey
  3. 将信息填写到运行目录 config.yaml 中

使用

假设编译后的二进制文件名为 upload,执行 upload /local/path /baidupan/path

Directories

Path Synopsis
cmd
internal
pkg

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL