MCPcopy Index your code
hub / github.com/52funny/pikpakcli

github.com/52funny/pikpakcli @v0.23

Chat with this repo
repository ↗ · DeepWiki ↗ · release v0.23 ↗ · + Follow
383 symbols 1,224 edges 50 files 41 documented · 11%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

PikPak CLI

GitHub go.mod Go version GitHub

PikPakCli 是 PikPak 的命令行工具。

Build from source code.

安装方法

从源码编译

要从源代码构建该工具,请确保您的系统已安装 Go 环境。

克隆项目

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

生成可执行文件

go build

运行

./pikpakcli

从 Release 下载

从 Release 下载你所需要的版本,然后运行。

配置文件

运行 setup 创建默认配置文件,并按提示输入账号密码:

pikpakcli setup

如果账号是手机号,手机号要以区号开头。如 +861xxxxxxxxxx

如果配置文件已经存在,setup 默认不会覆盖;需要重写时请加 --force

配置文件将会优先从当前目录进行读取 config.yml,如果当前目录下不存在 config.yml 将会从用户的配置数据的默认根目录进行读取,各个平台的默认根目录如下:

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

可选的 open 配置段可以覆盖交互式 shell 中 open 内置命令针对不同文件类型使用的本地程序。

开始

之后你就可以运行 ls 指令来查看存储在 PikPak 上的文件了

./pikpakcli ls

用法

参阅 Command 查看更多的指令

贡献者

Extension points exported contracts — how you extend this code

Prompts (Interface)
(no doc) [2 implementers]
cli/setup/setup.go

Core symbols most depended-on inside this repo

Error
called by 65
internal/logx/logx.go
Do
called by 24
internal/shell/shell.go
Close
called by 23
internal/utils/sync.go
newRequest
called by 17
internal/api/pikpak.go
sendRequest
called by 15
internal/api/pikpak.go
NewPikPakWithContext
called by 13
internal/api/pikpak.go
Login
called by 13
internal/api/pikpak.go
Match
called by 12
cli/rubbish/rubbish.go

Shape

Function 242
Method 88
Struct 45
Interface 8

Languages

Go100%

Modules by API surface

internal/shell/shell.go50 symbols
cli/download/download.go32 symbols
internal/shell/shell_test.go26 symbols
cli/rubbish/rubbish.go22 symbols
internal/shell/open.go14 symbols
cli/setup/setup.go14 symbols
cli/download/download_test.go14 symbols
cli/empty/empty_test.go13 symbols
cli/rubbish/rubbish_test.go12 symbols
internal/api/quota.go11 symbols
internal/api/pikpak.go11 symbols
internal/api/file.go11 symbols

For agents

$ claude mcp add pikpakcli \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact