Skip to content
프로젝트

소개

pikpak command line tool. Including download, upload, share and so on.

개발 도구

이 수치를 측정하는 방법

측정된 스타 증가

in 24h
0
in 7 days
+2
in 15 days
+5
in 1 month
기록 수집 중

서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.

README.md

Original

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

Build with Docker

You can also run pikpakcli using Docker. Pull the Docker image:

docker pull 52funny/pikpakcli:master

Run the tool:

docker run --rm 52funny/pikpakcli:master --help

Download from Release

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

Configuration

Run setup to create the default config file and enter your account details:

pikpakcli setup

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

If the config file already exists, setup will refuse to overwrite it unless you pass --force.

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

The optional open section can override which local program is used by the interactive shell open builtin for different file categories.

For Docker Users: You need to mount the configuration file into the Docker container. For example, if your config.yml is located at /path/to/your/config.yml, you can run the Docker container like this:

docker run -v /path/to/your/config.yml:/root/.config/pikpakcli/config.yml pikpakcli:latest ls
# if your config.yml is in the project directory, you can just run:
docker run -v $PWD/config.yml:/root/.config/pikpakcli/config.yml pikpakcli:latest ls

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

관련 프로젝트 살펴보기

불러오는 중…