Skip to content

Latest commit

 

History

History
70 lines (42 loc) · 1.76 KB

README.md

File metadata and controls

70 lines (42 loc) · 1.76 KB

PikPak CLI

GitHub go.mod Go version GitHub

English | 简体中文

PikPakCli is a command line tool for Pikpak Cloud.

Build from source code.

Installation

Compiling from source code

To build the tool from the source code, ensure you have Go installed on your system.

Clone the project:

git clone https://github.com/52funny/pikpakcli

Build the project:

go build

Run the tool:

./pikpakcli

Download from Release

Download the executable file you need from the Releases page, then run it.

Configuration

First, configure the config_example.yml file in the project, entering your account details.

If your account uses a phone number, it must be preceded by the country code, like +861xxxxxxxxxx.

Then, rename it to config.yml.

The configuration file will first be read from the current directory (config.yml). If it doesn't exist there, it will be read from the user's default configuration directory. The default root directories for each platform are:

  • Linux: $HOME/.config/pikpakcli
  • Darwin: $HOME/Library/Application Support/pikpakcli
  • Windows: %AppData%/pikpakcli

Get started

After that you can run the ls command to see the files stored on PikPak.

./pikpakcli ls

Usage

See Command for more commands information.

Contributors