pixiv-cli

module
v1.0.2 Latest Latest
Warning

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

Go to latest
Published: Sep 10, 2026 License: MIT

README

pixiv-cli

Pixiv CLI · MCP stdio server · Go SDK

English · 简体中文

Quality gate Release Go License Views

Install · Quick start · Interfaces · Documentation · Contributing

pixiv-cli brings the Pixiv ecosystem to the terminal: discover works and creators, manage accounts and collections, follow artists, bookmark artworks, and download visual works. It is an independent, unofficial third-party CLI, MCP server, and public Go SDK; it is not affiliated with or endorsed by Pixiv Inc. The CLI and MCP server both call the same public Go SDK, with the Pixiv App API as the authenticated source of truth. Use it in accordance with Pixiv's terms and applicable law.

Why pixiv-cli?

  • One capability surface — keyword search, details, rankings, recommendations, users, bookmarks, follows, downloads, and ugoira across CLI, MCP, and SDK; reverse-image search is integrated into the CLI/MCP surface.
  • Read-only FANBOX access — authenticate with FANBOXSESSID, inspect creators, posts, home/supporting feeds, tags, and first-party file resources through the CLI, MCP, or sdk/fanbox.
  • Composable visual pipelines — visual lists automatically emit canonical NDJSON when piped; use --filter for typed local artwork rules and pass matching records straight to download.
  • Local account pools — enable database-backed scheduling for read workloads with pixiv auth pool status|enable|disable; selection honors Pixiv Retry-After responses without exposing credentials.
  • Guided account sign-in — complete browser OAuth with pixiv auth login, then use auth list, auth use, and auth check to manage local multi-account access.
  • Ugoira output modes — choose GIF or APNG; invalid or empty filename templates use a stable default and remain observable as warnings.
  • Explicit download reporting — select image quality and closed page ranges, use allowlisted Pixiv CDN URLs as direct sources, and keep completed files, warnings, and failures observable.
  • Authenticated App API discovery — read R18 details, pages, ugoira metadata, and all 16 ranking modes through the App API.
  • Useful search filters — rating, content type, AI mode, aspect ratio, resolution, and a versioned drawing-tool catalog; reverse-image search can query SauceNAO or ascii2d from a local file or URL.
  • Direct Pixiv references — paste supported artwork URLs into detail or download; authenticated profile and artworks URLs expand to that creator's visual works.
  • Local multi-account OAuth — browser login, account selection, refresh-token rotation, and an optional cross-machine callback relay.
  • Automation-ready integration — typed SDK errors, JSON output, clean MCP stdio, signed release updates, and complete result reporting.

Install

Installer scripts (Windows, Linux, and macOS)

Linux/macOS (sh):

curl -fsSLo /tmp/pixiv-install.sh https://github.com/FlanChanXwO/pixiv-cli/releases/latest/download/install.sh && sh /tmp/pixiv-install.sh --add-to-path

Windows Command Prompt (cmd.exe, no PowerShell):

curl.exe -fsSLo "%TEMP%\pixiv-install.cmd" https://raw.githubusercontent.com/FlanChanXwO/pixiv-cli/main/scripts/install.cmd && call "%TEMP%\pixiv-install.cmd" --add-to-path

Both scripts detect AMD64/ARM64, select the latest stable official Release archive, verify its published SHA-256, preflight the staged binary, and install per-user before changing PATH. Use --no-path to leave PATH untouched or --install-dir DIR to choose another destination. You can inspect the downloaded script before running it.

Versioned installers keep checksums.txt on the official GitHub HTTPS path. Embedded free source candidates are probed only for the platform archive, must return the same checksum content, and the downloaded archive still has to pass SHA-256 verification. This changes transport availability, never Release identity or integrity.

Docker (Linux amd64/arm64)

Official images are published to GHCR as ghcr.io/flanchanxwo/pixiv-cli and Docker Hub as docker.io/flanchanxwo/pixiv-cli. Both registries carry the same native linux/amd64 and linux/arm64 release images. Pull an exact release from either registry when reproducibility matters:

docker pull ghcr.io/flanchanxwo/pixiv-cli:v1.2.3
docker pull docker.io/flanchanxwo/pixiv-cli:v1.2.3

latest follows stable releases only; Prerelease tags never move latest. To track the current stable release, pull either ghcr.io/flanchanxwo/pixiv-cli:latest or docker.io/flanchanxwo/pixiv-cli:latest. Images are built natively for linux/amd64 and linux/arm64. The container runs the same pixiv binary and uses the same ~/.pixiv-cli state namespace as other installations.

Keep account state persistent and expose a download workspace:

docker run --rm \
  -v pixiv-cli-state:/home/pixiv/.pixiv-cli \
  -v "$PWD:/work" \
  ghcr.io/flanchanxwo/pixiv-cli:v1.2.3 \
  --version

Use /work for downloaded files with an explicit output path; it is the container's working directory, not a separate product mode.

Bind mounts preserve host ownership. If the host directory is not writable by image UID 1000, run as the host identity, give the container an ephemeral HOME, and choose an explicit output path:

docker run --rm \
  --user "$(id -u):$(id -g)" \
  -e HOME=/tmp/pixiv-cli \
  -v "$PWD:/work" \
  ghcr.io/flanchanxwo/pixiv-cli:v1.2.3 \
  download URL --output /work/downloads

For persistent state with that same host identity, bind a host directory you own instead of the default named volume:

mkdir -p "$PWD/pixiv-cli-state"
docker run --rm \
  --user "$(id -u):$(id -g)" \
  -e HOME=/tmp/pixiv-cli \
  -v "$PWD/pixiv-cli-state:/home/pixiv/.pixiv-cli" \
  ghcr.io/flanchanxwo/pixiv-cli:v1.2.3 \
  auth list

Import a refresh token through stdin instead of passing it as an argv value. For manual import, allocate a TTY so the hidden prompt can suppress echo: run the command, paste the opaque token, and send EOF (Ctrl-D).

docker run --rm -it \
  -v pixiv-cli-state:/home/pixiv/.pixiv-cli \
  ghcr.io/flanchanxwo/pixiv-cli:v1.2.3 \
  auth import

For automation, pipe your secret manager's stdout directly into stdin with -i, not -it. The container writes only to the persistent state volume:

secret-manager print-token | docker run --rm -i \
  -v pixiv-cli-state:/home/pixiv/.pixiv-cli \
  ghcr.io/flanchanxwo/pixiv-cli:v1.2.3 \
  auth import

This uses the existing pixiv auth import behavior; it does not add a Docker-specific OAuth callback flow for auth login.

For MCP, the transport remains docker run --rm -i ghcr.io/flanchanxwo/pixiv-cli mcp, and stdout stays reserved for MCP JSON-RPC. Pin a release as shown below:

docker run --rm -i ghcr.io/flanchanxwo/pixiv-cli:v1.2.3 mcp

Add -v pixiv-cli-state:/home/pixiv/.pixiv-cli when the MCP server should reuse persisted accounts.

Upgrade by pulling a newer image and redeploying with the same state volume. This workflow does not make pixiv update container-aware.

Install with an AI agent

Copy this single prompt into Codex, Claude Code, Cursor, or another local AI agent with terminal access:

Install the latest stable pixiv-cli from https://github.com/FlanChanXwO/pixiv-cli for this machine: inspect the repository's scripts/install.sh or scripts/install.cmd first, choose the script matching the detected OS and architecture (the Windows path must use cmd.exe and must not invoke PowerShell), download only official GitHub Release assets, require the published SHA-256 check to pass before replacing anything, install per-user without administrator or root privileges, add only the chosen install directory to the user PATH, ask before installing any missing prerequisite, never read or output Pixiv credentials, verify with pixiv --version, and report the installed version plus every file and PATH change.

Also install the `pixiv-cli` Skill that matches the same stable release tag (not main): download the full skills/pixiv-cli/ directory from that tag into the agent skills directory the user confirms. Do not guess the skills path and do not follow the main branch for skill content.
Install the pixiv-cli Skill from SkillHub

Agents with SkillHub support can install the published pixiv-cli Skill directly from SkillHub. Each Skill version matches the CLI release it teaches; always use pixiv <cmd> --help as the final source of command syntax.

Install the pixiv-cli Skill from ClawHub

Agents using ClawHub can install the published pixiv-cli Skill with clawhub install pixiv-cli; pin the installed skill to the matching published release version rather than following an unversioned latest tag.

brew install FlanChanXwO/tap/pixiv-cli

Upgrade later with:

brew update
brew upgrade pixiv-cli
Go

Use an exact published tag. A source install requires Go, cgo, a C linker, and the committed Rust static library for your target.

go install github.com/FlanChanXwO/pixiv-cli/cmd/pixiv@vX.Y.Z
Release archive or source build

Download a supported archive from GitHub Releases, or build the checkout:

sh scripts/build.sh

Direct downloads include checksums and a signed manifest. See the CLI reference for platform and trust details.

60-second quick start

# Save a Pixiv account through browser OAuth.
pixiv auth login

# Save a FANBOX session through hidden input, then inspect FANBOX content.
pixiv fanbox auth import
pixiv fanbox post 123456

# Search with App-side filters.
pixiv search "初音ミク" --type illust --ai-mode exclude --resolution high
pixiv novel search "初音ミク" --rating sfw --min-text-length 1000

# Reverse-search a local image or HTTP(S) image URL. Results can be JSON or NDJSON.
pixiv search ./image.png --provider ascii2d-color --json
pixiv search https://your-image-url.example/image.png --provider all --ndjson

# Follow creators and build your collection.
pixiv follow add 12345678
pixiv bookmark add 123456

# Inspect, discover recommendations, and download.
pixiv detail https://www.pixiv.net/artworks/123456
pixiv recommended all --limit 10
pixiv timeline latest --type illust --limit 20
pixiv download https://www.pixiv.net/artworks/123456 --pages 1,3-5 --quality regular
pixiv download 123456 https://i.pximg.net/img-original/example.jpg

# Batch-download every visual work from a creator.
pixiv download https://www.pixiv.net/users/12345678/artworks

Run pixiv --help or open the complete CLI reference for every command, flag, configuration key, environment variable, fallback rule, and update behavior.

Choose your interface

CLI

Use the default text output interactively and --json where the command supports machine output:

pixiv ranking --mode day --json
pixiv user search "miku" --limit 10 --json
pixiv user detail 12345678
pixiv timeline latest --type illust --limit 10 --json
MCP

Reverse-image search is available through the CLI/MCP integration; the public Go SDK remains unchanged.

Start the stdio server explicitly. stdout remains reserved for JSON-RPC; tool failures are returned as structured results with isError=true. No project-level or daily log files are created by default.

pixiv mcp
# FANBOX tools use their own runtime credential selection.
pixiv fanbox mcp

See the MCP tool contract for tools, parameters, structured output, and authentication behavior. Fixed MCP status, error, and display text is English; Pixiv metadata and user-supplied text are preserved verbatim.

The reverse_search tool accepts a regular local file or HTTP(S) URL and may upload that source to third-party providers. Because trusted local MCP clients may request private files and private/loopback/link-local URLs, run it only from a client you trust; see the reverse-search MCP contract. For advanced reverse-search proxy, User-Agent, and challenge-recovery settings, see the CLI reference. FlareSolverr is a JSON challenge-recovery control path and never receives the native ascii2d image upload.

Go SDK

The public SDK receives credentials explicitly and does not read the CLI's local account store or process environment. Obtain the credential from your application's secret store and persist the rotated credentials returned by Open:

package main

import (
	"context"
	"fmt"
	"log"

	pixiv "github.com/FlanChanXwO/pixiv-cli/sdk/pixiv"
)

func main() {
	ctx := context.Background()
	refreshToken := "replace-with-a-refresh-token-from-your-secret-store"
	client, _, err := pixiv.Open(ctx, refreshToken)
	if err != nil {
		log.Fatal(err)
	}

	result, err := client.SearchArtworks(ctx, pixiv.SearchArtworksRequest{Word: "初音ミク"})
	if err != nil {
		log.Fatal(err)
	}
	for _, artwork := range result.Items {
		fmt.Printf("%d %s\\n", artwork.ID, artwork.URL)
	}
}

The import path is github.com/FlanChanXwO/pixiv-cli/sdk/pixiv. sdk/fanbox accepts a FANBOXSESSID explicitly and supports native Chrome 146 TLS routing with the built-in Firefox 148 HTTP User-Agent baseline, with optional service-scoped proxy, user-agent, and challenge-only FlareSolverr options. The public SDK exposes typed Pixiv/FANBOX clients and opaque resource APIs rather than CLI batch-download helpers: SaveResource accepts a ResourceRef, while Pixiv's SaveResourceURL accepts an HTTPS URL from an allowed Pixiv media host. Both save atomically and return the destination path, byte size, and response content type. The SDK guide documents models, cursors, resources, errors, caller responsibilities, and the explicit DTO boundary used by CLI/MCP JSON output; media resources cross those boundaries only as opaque references.

Authentication and token safety

pixiv auth login is the recommended setup. It saves raw Pixiv App OAuth refresh tokens by UID in the local account store.

Account information disclaimer

Account names, IDs, membership signals, and the active local-account selection are convenience information from the local store and Pixiv responses. Treat them as convenience data rather than proof of account ownership, entitlement, or current Pixiv status. Verify important account details in Pixiv and use only accounts you are authorized to manage.

On macOS, Windows, and desktop Linux, pixiv prepares the current-user pixiv:// callback handler for the installed binary. When a server has login_relay_public_url and login_relay_listen_addr, pixiv auth login prints a one-time remote hand-off URL. Opening it transfers the session directly to the installed desktop handler, which starts OAuth and returns its callback to the server. Remote login therefore uses a desktop with pixiv-cli installed; it has no project confirmation page or callback-copy form. See the CLI reference.

pixiv auth list
pixiv auth pool status
pixiv auth use 12345678
pixiv auth check

Documentation

Guide Use it for
CLI reference Commands, flags, auth, configuration, fallback, downloads, and updates
Go SDK Public client, models, pagination, resources, and typed errors
MCP tools Tool schemas and output semantics
Architecture Package boundaries and runtime flow
Development Toolchain, tests, builds, and releases
Changelog User-visible changes

Contributing

Bug reports, documentation fixes, tests, and focused features are welcome. Read CONTRIBUTING.md before opening a pull request; discuss large or public-interface changes first.

License

MIT © FlanChanXwO

Directories

Path Synopsis
cmd
pixiv command
internal
browsercookies
Package browsercookies 定义浏览器 cookie provider 的共享类型与接口。
Package browsercookies 定义浏览器 cookie provider 的共享类型与接口。
browsercookies/chromium
Package chromium 实现 Chrome 与 Edge(共享 Chromium cookie 格式)provider。
Package chromium 实现 Chrome 与 Edge(共享 Chromium cookie 格式)provider。
browsercookies/firefox
Package firefox 实现 Firefox provider。
Package firefox 实现 Firefox provider。
browsercookies/safari
Package safari 实现 Safari provider。
Package safari 实现 Safari provider。
browsercookies/secret
Package secret 提供平台秘密后端。
Package secret 提供平台秘密后端。
browsercookies/sqliteio
Package sqliteio 通过系统 sqlite3 命令行工具只读查询本地 SQLite 文件。
Package sqliteio 通过系统 sqlite3 命令行工具只读查询本地 SQLite 文件。
browsercookies/system
Package system 提供浏览器 cookie 的系统/browser integration 入口。
Package system 提供浏览器 cookie 的系统/browser integration 入口。
cli
cli/commands
Package commands 提供所有 CLI command owner 共用的无状态生命周期声明。
Package commands 提供所有 CLI command owner 共用的无状态生命周期声明。
cli/commands/config
Package config 注册 config 命令。
Package config 注册 config 命令。
cli/commands/fanbox
Package fanbox 注册 FANBOX 命令组及其产品内 owner。
Package fanbox 注册 FANBOX 命令组及其产品内 owner。
cli/commands/fanbox/auth
Package auth owns local FANBOX authentication commands and secret prompts.
Package auth owns local FANBOX authentication commands and secret prompts.
cli/commands/fanbox/download
Package download owns FANBOX post asset download commands.
Package download owns FANBOX post asset download commands.
cli/commands/fanbox/internal/listing
Package listing owns the FANBOX shared paged-read execution and its bounded output commit semantics.
Package listing owns the FANBOX shared paged-read execution and its bounded output commit semantics.
cli/commands/fanbox/mcp
Package mcp owns the FANBOX stdio command route.
Package mcp owns the FANBOX stdio command route.
cli/commands/fanbox/post
Package post owns FANBOX content listing and post presentation commands.
Package post owns FANBOX content listing and post presentation commands.
cli/commands/pixiv
Package deps defines the narrow common wiring used by Pixiv data commands.
Package deps defines the narrow common wiring used by Pixiv data commands.
cli/commands/pixiv/auth
Package auth 注册 Pixiv auth 命令;具体 OAuth/login helper 也归本目录所有。
Package auth 注册 Pixiv auth 命令;具体 OAuth/login helper 也归本目录所有。
cli/commands/pixiv/auth/loginpage
Package loginpage 负责渲染 CLI 登录流程临时 HTTP 服务使用的页面。
Package loginpage 负责渲染 CLI 登录流程临时 HTTP 服务使用的页面。
cli/commands/pixiv/bookmark
Package bookmark owns Pixiv bookmark reads and mutations.
Package bookmark owns Pixiv bookmark reads and mutations.
cli/commands/pixiv/comment
Package comment owns the Pixiv comment listing command and its presenters.
Package comment owns the Pixiv comment listing command and its presenters.
cli/commands/pixiv/detail
Package detail owns the Pixiv entity detail command and terminal presenter.
Package detail owns the Pixiv entity detail command and terminal presenter.
cli/commands/pixiv/download
Package download owns the Pixiv download command and its terminal presenter.
Package download owns the Pixiv download command and its terminal presenter.
cli/commands/pixiv/follow
Package follow owns Pixiv follow mutations.
Package follow owns Pixiv follow mutations.
cli/commands/pixiv/internal/listing
Package listing owns Pixiv's shared paged-read execution and its bounded output commit semantics.
Package listing owns Pixiv's shared paged-read execution and its bounded output commit semantics.
cli/commands/pixiv/mcp
Package mcp 注册 Pixiv MCP 命令。
Package mcp 注册 Pixiv MCP 命令。
cli/commands/pixiv/mypixiv
Package mypixiv owns the authenticated `pixiv mypixiv` command group.
Package mypixiv owns the authenticated `pixiv mypixiv` command group.
cli/commands/pixiv/ranking
Package ranking owns the Pixiv illustration ranking command.
Package ranking owns the Pixiv illustration ranking command.
cli/commands/pixiv/recommended
Package recommended owns personalized Pixiv recommendation output.
Package recommended owns personalized Pixiv recommendation output.
cli/commands/pixiv/search
Package search owns the Pixiv artwork, novel and user search command routes.
Package search owns the Pixiv artwork, novel and user search command routes.
cli/commands/pixiv/series
Package series owns the Pixiv artwork and novel series listing command.
Package series owns the Pixiv artwork and novel series listing command.
cli/commands/pixiv/timeline
Package timeline owns the authenticated `pixiv timeline` command group.
Package timeline owns the authenticated `pixiv timeline` command group.
cli/commands/pixiv/user
Package user owns the Pixiv user command group.
Package user owns the Pixiv user command group.
cli/commands/update
Package update 注册 update 命令;更新实现仍归 internal/update。
Package update 注册 update 命令;更新实现仍归 internal/update。
cli/diagnostics
Package diagnostics renders safe typed events for the CLI-owned stderr presenter.
Package diagnostics renders safe typed events for the CLI-owned stderr presenter.
cli/invocation
Package invocation 保存一次 CLI 调用的标准流。
Package invocation 保存一次 CLI 调用的标准流。
cli/pipeline
Package pipeline owns the CLI's explicit stdin input codecs and their resolved per-command state.
Package pipeline owns the CLI's explicit stdin input codecs and their resolved per-command state.
config/paths
Package paths 定义本机私有状态的路径命名空间与最小权限要求。
Package paths 定义本机私有状态的路径命名空间与最小权限要求。
mcpserver
Package mcpserver 拥有 MCP stdio transport 与 runtime lifecycle。
Package mcpserver 拥有 MCP stdio transport 与 runtime lifecycle。
mcpserver/fanbox
Package fanbox 聚合 FANBOX MCP tool 注册。
Package fanbox 聚合 FANBOX MCP tool 注册。
mcpserver/fanbox/internal/runtime
Package runtime 持有 FANBOX MCP 各 tool 共享的窄运行时:App 状态、工具注册 wrapper、client 打开与统一 result 摘要。
Package runtime 持有 FANBOX MCP 各 tool 共享的窄运行时:App 状态、工具注册 wrapper、client 打开与统一 result 摘要。
mcpserver/fanbox/tools/creator
Package creator 实现 fanbox_creator tool。
Package creator 实现 fanbox_creator tool。
mcpserver/fanbox/tools/creatorposts
Package creatorposts 实现 fanbox_creator_posts tool。
Package creatorposts 实现 fanbox_creator_posts tool。
mcpserver/fanbox/tools/creators
Package creators 实现 fanbox_creators tool。
Package creators 实现 fanbox_creators tool。
mcpserver/fanbox/tools/creatortags
Package creatortags 实现 fanbox_creator_tags tool。
Package creatortags 实现 fanbox_creator_tags tool。
mcpserver/fanbox/tools/currentuser
Package currentuser 实现 fanbox_current_user tool。
Package currentuser 实现 fanbox_current_user tool。
mcpserver/fanbox/tools/home
Package home 实现 fanbox_home tool。
Package home 实现 fanbox_home tool。
mcpserver/fanbox/tools/openresource
Package openresource 实现 fanbox_open_resource tool。
Package openresource 实现 fanbox_open_resource tool。
mcpserver/fanbox/tools/post
Package post 实现 fanbox_post tool。
Package post 实现 fanbox_post tool。
mcpserver/fanbox/tools/resolveurl
Package resolveurl 实现 fanbox_resolve_url tool。
Package resolveurl 实现 fanbox_resolve_url tool。
mcpserver/fanbox/tools/supporting
Package supporting 实现 fanbox_supporting tool。
Package supporting 实现 fanbox_supporting tool。
mcpserver/fanbox/tools/taggedposts
Package taggedposts 实现 fanbox_tagged_posts tool。
Package taggedposts 实现 fanbox_tagged_posts tool。
mcpserver/pixiv
Package pixiv 聚合 Pixiv MCP tool 注册。
Package pixiv 聚合 Pixiv MCP tool 注册。
mcpserver/pixiv/internal/filters
Package filters 持有 Pixiv MCP 实体 list tool 的本地筛选契约与实现。
Package filters 持有 Pixiv MCP 实体 list tool 的本地筛选契约与实现。
mcpserver/pixiv/internal/outputs
Package outputs 持有 Pixiv MCP 多个 tool 共享的输出类型、schema 与 result helper。
Package outputs 持有 Pixiv MCP 多个 tool 共享的输出类型、schema 与 result helper。
mcpserver/pixiv/internal/records
Package records 持有 Pixiv MCP 各 tool 共享的 record 构造、输出 schema 与 本地筛选。
Package records 持有 Pixiv MCP 各 tool 共享的 record 构造、输出 schema 与 本地筛选。
mcpserver/pixiv/internal/runtime
Package runtime 持有 Pixiv MCP 各 tool 共享的窄运行时:App 状态、SDK ports、 工具注册 wrapper、paged read/write 与 record filter。
Package runtime 持有 Pixiv MCP 各 tool 共享的窄运行时:App 状态、SDK ports、 工具注册 wrapper、paged read/write 与 record filter。
mcpserver/pixiv/tools/add_bookmark
Package add_bookmark 实现 add_bookmark tool。
Package add_bookmark 实现 add_bookmark tool。
mcpserver/pixiv/tools/blocked_users
Package blocked_users 实现 blocked_users tool。
Package blocked_users 实现 blocked_users tool。
mcpserver/pixiv/tools/bookmark_detail
Package bookmark_detail 实现 bookmark_detail tool。
Package bookmark_detail 实现 bookmark_detail tool。
mcpserver/pixiv/tools/bookmark_tags
Package bookmark_tags 实现 bookmark_tags tool。
Package bookmark_tags 实现 bookmark_tags tool。
mcpserver/pixiv/tools/download
Package download 实现 download 与 download_random_from_recommendation tool。
Package download 实现 download 与 download_random_from_recommendation tool。
mcpserver/pixiv/tools/follow_user
Package follow_user 实现 follow_user tool。
Package follow_user 实现 follow_user tool。
mcpserver/pixiv/tools/illust_comments
Package illust_comments 实现 illust_comments tool。
Package illust_comments 实现 illust_comments tool。
mcpserver/pixiv/tools/illust_detail
Package illust_detail 实现 illust_detail tool。
Package illust_detail 实现 illust_detail tool。
mcpserver/pixiv/tools/illust_ranking
Package illust_ranking 实现 illust_ranking tool。
Package illust_ranking 实现 illust_ranking tool。
mcpserver/pixiv/tools/illust_recommended
Package illust_recommended 实现 illust_recommended tool。
Package illust_recommended 实现 illust_recommended tool。
mcpserver/pixiv/tools/illust_related
Package illust_related 实现 illust_related tool。
Package illust_related 实现 illust_related tool。
mcpserver/pixiv/tools/illust_series
Package illust_series 实现 illust_series tool。
Package illust_series 实现 illust_series tool。
mcpserver/pixiv/tools/mypixiv_illusts
Package mypixiv_illusts 实现 mypixiv_illusts tool。
Package mypixiv_illusts 实现 mypixiv_illusts tool。
mcpserver/pixiv/tools/mypixiv_novels
Package mypixiv_novels 实现 mypixiv_novels tool。
Package mypixiv_novels 实现 mypixiv_novels tool。
mcpserver/pixiv/tools/mypixiv_users
Package mypixiv_users 实现 mypixiv_users tool。
Package mypixiv_users 实现 mypixiv_users tool。
mcpserver/pixiv/tools/novel_comments
Package novel_comments 实现 novel_comments tool。
Package novel_comments 实现 novel_comments tool。
mcpserver/pixiv/tools/novel_content
Package novel_content 实现 novel_content tool。
Package novel_content 实现 novel_content tool。
mcpserver/pixiv/tools/novel_detail
Package novel_detail 实现 novel_detail tool。
Package novel_detail 实现 novel_detail tool。
mcpserver/pixiv/tools/novel_series
Package novel_series 实现 novel_series tool。
Package novel_series 实现 novel_series tool。
mcpserver/pixiv/tools/recommended
Package recommended 实现 recommended tool。
Package recommended 实现 recommended tool。
mcpserver/pixiv/tools/related_users
Package related_users 实现 related_users tool。
Package related_users 实现 related_users tool。
mcpserver/pixiv/tools/remove_bookmark
Package remove_bookmark 实现 remove_bookmark tool。
Package remove_bookmark 实现 remove_bookmark tool。
mcpserver/pixiv/tools/reverse_search
Package reverse_search 实现 reverse_search MCP tool。
Package reverse_search 实现 reverse_search MCP tool。
mcpserver/pixiv/tools/search_illust
Package search_illust 实现 search_illust tool。
Package search_illust 实现 search_illust tool。
mcpserver/pixiv/tools/search_novel
Package search_novel 实现 search_novel tool。
Package search_novel 实现 search_novel tool。
mcpserver/pixiv/tools/search_user
Package search_user 实现 search_user tool。
Package search_user 实现 search_user tool。
mcpserver/pixiv/tools/timeline_illust_following
Package timeline_illust_following 实现 timeline_illust_following tool。
Package timeline_illust_following 实现 timeline_illust_following tool。
mcpserver/pixiv/tools/timeline_illust_latest
Package timeline_illust_latest 实现 timeline_illust_latest tool。
Package timeline_illust_latest 实现 timeline_illust_latest tool。
mcpserver/pixiv/tools/timeline_novel_following
Package timeline_novel_following 实现 timeline_novel_following tool。
Package timeline_novel_following 实现 timeline_novel_following tool。
mcpserver/pixiv/tools/timeline_novel_latest
Package timeline_novel_latest 实现 timeline_novel_latest tool。
Package timeline_novel_latest 实现 timeline_novel_latest tool。
mcpserver/pixiv/tools/trending_tags_illust
Package trending_tags_illust 实现 trending_tags_illust tool。
Package trending_tags_illust 实现 trending_tags_illust tool。
mcpserver/pixiv/tools/unfollow_user
Package unfollow_user 实现 unfollow_user tool。
Package unfollow_user 实现 unfollow_user tool。
mcpserver/pixiv/tools/user_artworks
Package user_artworks 实现 user_artworks tool。
Package user_artworks 实现 user_artworks tool。
mcpserver/pixiv/tools/user_bookmarks
Package user_bookmarks 实现 user_bookmarks tool。
Package user_bookmarks 实现 user_bookmarks tool。
mcpserver/pixiv/tools/user_detail
Package user_detail 实现 user_detail tool。
Package user_detail 实现 user_detail tool。
mcpserver/pixiv/tools/user_followers
Package user_followers 实现 user_followers tool。
Package user_followers 实现 user_followers tool。
mcpserver/pixiv/tools/user_following
Package user_following 实现 user_following tool。
Package user_following 实现 user_following tool。
mcpserver/pixiv/tools/user_novel_bookmarks
Package user_novel_bookmarks 实现 user_novel_bookmarks tool。
Package user_novel_bookmarks 实现 user_novel_bookmarks tool。
mcpserver/pixiv/tools/user_novels
Package user_novels 实现 user_novels tool。
Package user_novels 实现 user_novels tool。
media/downloader/filename
Package filename 提供下载路径使用的安全文件名构造逻辑。
Package filename 提供下载路径使用的安全文件名构造逻辑。
media/downloader/parallel
Package parallel 提供仅依赖 context 与 Go runtime 的有序批处理并发基础设施。
Package parallel 提供仅依赖 context 与 Go runtime 的有序批处理并发基础设施。
media/ugoira
Package ugoira 提供与 Pixiv 协议无关的 Ugoira ZIP 动图编码能力。
Package ugoira 提供与 Pixiv 协议无关的 Ugoira ZIP 动图编码能力。
media/ugoira/staticlib
Package staticlib 定义与 cgo encoder 解耦的 Rust staticlib 来源身份和完整性契约。
Package staticlib 定义与 cgo encoder 解耦的 Rust staticlib 来源身份和完整性契约。
services/fanbox
Package fanbox 提供 FANBOX 的业务 Facade。
Package fanbox 提供 FANBOX 的业务 Facade。
services/fanbox/account
Package fanbox 拥有 FANBOX 账号 domain 与 CLI/MCP 共用的账号/session 服务。
Package fanbox 拥有 FANBOX 账号 domain 与 CLI/MCP 共用的账号/session 服务。
services/fanbox/endpoint/creator
Package creator owns normalized FANBOX creator entities.
Package creator owns normalized FANBOX creator entities.
services/fanbox/endpoint/creator/creators
Package creators owns FANBOX creator profile and creator-list endpoints.
Package creators owns FANBOX creator profile and creator-list endpoints.
services/fanbox/endpoint/creator/tags
Package tags owns the FANBOX creator featured-tags endpoint.
Package tags owns the FANBOX creator featured-tags endpoint.
services/fanbox/endpoint/post
Package post owns normalized FANBOX post entities and media values.
Package post owns normalized FANBOX post entities and media values.
services/fanbox/endpoint/post/home
Package home owns the FANBOX authenticated home feed endpoint.
Package home owns the FANBOX authenticated home feed endpoint.
services/fanbox/endpoint/post/info
Package info owns the FANBOX post.info endpoint.
Package info owns the FANBOX post.info endpoint.
services/fanbox/endpoint/post/posts
Package posts owns creator post-list endpoint families.
Package posts owns creator post-list endpoint families.
services/fanbox/endpoint/post/supporting
Package supporting owns the FANBOX supporting-creators feed endpoint.
Package supporting owns the FANBOX supporting-creators feed endpoint.
services/fanbox/endpoint/post/wire
Package wire contains FANBOX post response decoding shared by the post endpoint families.
Package wire contains FANBOX post response decoding shared by the post endpoint families.
services/fanbox/resource
Package resource owns FANBOX media URL policy and the narrow resource transport adapter.
Package resource owns FANBOX media URL policy and the narrow resource transport adapter.
services/pixiv
Package pixiv 编排 Pixiv 账号、账号池与 public SDK client 生命周期。
Package pixiv 编排 Pixiv 账号、账号池与 public SDK client 生命周期。
services/pixiv/account
Package pixiv 编排 Pixiv 账号选择、refresh token 轮换持久化与公开 SDK 调用。
Package pixiv 编排 Pixiv 账号选择、refresh token 轮换持久化与公开 SDK 调用。
services/pixiv/oauth
Package oauth 管理 Pixiv 身份状态与 OAuth token 交换,不承载内容 API。
Package oauth 管理 Pixiv 身份状态与 OAuth token 交换,不承载内容 API。
services/pixiv/pool
Package pool 实现 Pixiv 账号池的选择、冻结与安全重放策略。
Package pool 实现 Pixiv 账号池的选择、冻结与安全重放策略。
services/pixiv/protocol
Package protocol 集中维护 Pixiv 上游协议的静态约定。
Package protocol 集中维护 Pixiv 上游协议的静态约定。
services/pixiv/resource
Package resource 负责 Pixiv 资源响应的传输与复制。
Package resource 负责 Pixiv 资源响应的传输与复制。
services/reversesearch
Package reversesearch 提供反向搜图的领域契约、载荷生命周期与 provider 编排。
Package reversesearch 提供反向搜图的领域契约、载荷生命周期与 provider 编排。
services/reversesearch/ascii2d
Package ascii2d 实现 ascii2d 的浏览器会话、图片上传与 HTML 结果协议。
Package ascii2d 实现 ascii2d 的浏览器会话、图片上传与 HTML 结果协议。
services/reversesearch/assembly
Package assembly owns production construction of the reverse-search Facade.
Package assembly owns production construction of the reverse-search Facade.
services/reversesearch/saucenao
Package saucenao 实现 SauceNAO multipart JSON API 协议适配器。
Package saucenao 实现 SauceNAO multipart JSON API 协议适配器。
shared/buildinfo
Package buildinfo exposes metadata embedded by the Go linker at build time.
Package buildinfo exposes metadata embedded by the Go linker at build time.
shared/diagnostics
Package diagnostics contains the opt-in, protocol-neutral event contract shared by MCP and transport adapters.
Package diagnostics contains the opt-in, protocol-neutral event contract shared by MCP and transport adapters.
shared/lifecycle
Package lifecycle 提供与产品、账号和传输协议无关的资源生命周期。
Package lifecycle 提供与产品、账号和传输协议无关的资源生命周期。
shared/pagination
Package pagination 提供与产品、账号和输出无关的逻辑分页算法。
Package pagination 提供与产品、账号和输出无关的逻辑分页算法。
shared/record
Package record owns the stable Pixiv record projection shared by CLI and MCP.
Package record owns the stable Pixiv record projection shared by CLI and MCP.
shared/traversal
Package traversal 提供可由调用方重放的通用逻辑分页遍历。
Package traversal 提供可由调用方重放的通用逻辑分页遍历。
storage/database
Package database 管理 Pixiv / FANBOX 鉴权状态的单一 SQLite 数据库。
Package database 管理 Pixiv / FANBOX 鉴权状态的单一 SQLite 数据库。
storage/file/atomic
Package atomicfile 提供协议无关的原子落盘原语。
Package atomicfile 提供协议无关的原子落盘原语。
update
Package update orchestrates explicit and automatic updates.
Package update orchestrates explicit and automatic updates.
update/installer
Package installer installs a verified release binary and owns the trust root, install-source detection, cache file permissions, and pending-update cleanup.
Package installer installs a verified release binary and owns the trust root, install-source detection, cache file permissions, and pending-update cleanup.
update/process
Package process runs update commands as child processes.
Package process runs update commands as child processes.
update/release
Package release queries GitHub Releases and applies the SemVer channel policy.
Package release queries GitHub Releases and applies the SemVer channel policy.
update/source
Package source resolves and selects the built-in GitHub Releases transport paths.
Package source resolves and selects the built-in GitHub Releases transport paths.
utils/date
Package date 提供不携带产品协议语义的日期计算 helper。
Package date 提供不携带产品协议语义的日期计算 helper。
scripts
cmd/browsernativeevidence command
Command browsernativeevidence 校验无 credential 的 browser provider workflow。
Command browsernativeevidence 校验无 credential 的 browser provider workflow。
cmd/changescope command
Command changescope classifies a Git diff for GitHub Actions CI routing.
Command changescope classifies a Git diff for GitHub Actions CI routing.
cmd/homebrewformula command
Command homebrewformula 根据已验证 release checksums.txt 的六个 archive 渲染 URL 与 digest 均受约束的 Homebrew formula。
Command homebrewformula 根据已验证 release checksums.txt 的六个 archive 渲染 URL 与 digest 均受约束的 Homebrew formula。
cmd/licensebundle command
Command licensebundle 从六个 release Rust target 的锁定离线依赖图生成许可证 bundle。
Command licensebundle 从六个 release Rust target 的锁定离线依赖图生成许可证 bundle。
cmd/linuxabi command
Command linuxabi 验证已打包 Linux executable 是否保持公开的 glibc 基线。
Command linuxabi 验证已打包 Linux executable 是否保持公开的 glibc 基线。
cmd/nativeevidence command
Command nativeevidence records and validates non-release native runner evidence.
Command nativeevidence records and validates non-release native runner evidence.
cmd/prepublishhomebrew command
Command prepublishhomebrew 检查 Homebrew 发布前验证与受保护恢复 workflow 的安全边界。
Command prepublishhomebrew 检查 Homebrew 发布前验证与受保护恢复 workflow 的安全边界。
cmd/publicapi command
Command publicapi 打印 v1 公开 SDK 包的导出符号清单,作为 public API inventory golden 的生成与校验工具。
Command publicapi 打印 v1 公开 SDK 包的导出符号清单,作为 public API inventory golden 的生成与校验工具。
cmd/releaseassets command
Command releaseassets assembles the deterministic artifacts attached to a Pixiv CLI release.
Command releaseassets assembles the deterministic artifacts attached to a Pixiv CLI release.
cmd/releasenotes command
Command releasenotes audits and validates the versioned changelog contract.
Command releasenotes audits and validates the versioned changelog contract.
cmd/releaseworkflow command
Command releaseworkflow 检查发布 workflow 的结构化安全与质量门禁。
Command releaseworkflow 检查发布 workflow 的结构化安全与质量门禁。
internal/browsernativeevidence
Package browsernativeevidence 校验无 credential 的 browser provider workflow。
Package browsernativeevidence 校验无 credential 的 browser provider workflow。
internal/changescope
Package changescope classifies a Git diff for GitHub Actions CI routing.
Package changescope classifies a Git diff for GitHub Actions CI routing.
internal/homebrewformula
Package homebrewformula 根据已验证 release checksums.txt 的六个 archive 渲染 URL 与 digest 均受约束的 Homebrew formula。
Package homebrewformula 根据已验证 release checksums.txt 的六个 archive 渲染 URL 与 digest 均受约束的 Homebrew formula。
internal/licensebundle
Package licensebundle 从六个 release Rust target 的锁定离线依赖图生成许可证 bundle。
Package licensebundle 从六个 release Rust target 的锁定离线依赖图生成许可证 bundle。
internal/linuxabi
Package linuxabi 验证已打包 Linux executable 是否保持公开的 glibc 基线。
Package linuxabi 验证已打包 Linux executable 是否保持公开的 glibc 基线。
internal/platformsmokeworkflow
Package platformsmokeworkflow 锁定平台 smoke 与质量 workflow 的已验证门禁契约。
Package platformsmokeworkflow 锁定平台 smoke 与质量 workflow 的已验证门禁契约。
internal/prepublishhomebrew
Package prepublishhomebrew 检查 Homebrew 发布前验证与受保护恢复 workflow 的安全边界。
Package prepublishhomebrew 检查 Homebrew 发布前验证与受保护恢复 workflow 的安全边界。
internal/publicapi
Package publicapi 生成并校验 v1 公开 SDK 包的导出符号清单。
Package publicapi 生成并校验 v1 公开 SDK 包的导出符号清单。
internal/releaseassets
Package releaseassets assembles the deterministic artifacts attached to a Pixiv CLI release.
Package releaseassets assembles the deterministic artifacts attached to a Pixiv CLI release.
internal/releasecontract
Package releasecontract 只拥有 release 与 native evidence verifier 共用的发布契约: Version/Channel、六平台、Go↔Rust 映射与工具链 pins、archive identity/name。
Package releasecontract 只拥有 release 与 native evidence verifier 共用的发布契约: Version/Channel、六平台、Go↔Rust 映射与工具链 pins、archive identity/name。
internal/releasenotes
Package releasenotes audits and validates the versioned changelog contract.
Package releasenotes audits and validates the versioned changelog contract.
internal/releasenotesrender
Package releasenotesrender provides the canonical GitHub Release body rendering shared by releaseassets and history synchronization.
Package releasenotesrender provides the canonical GitHub Release body rendering shared by releaseassets and history synchronization.
internal/releaseworkflow
Package releaseworkflow 检查发布 workflow 的结构化安全与质量门禁。
Package releaseworkflow 检查发布 workflow 的结构化安全与质量门禁。
internal/workflow/yaml
Package yaml 提供 release 与 native evidence verifier 共用的 YAML AST 安全操作。
Package yaml 提供 release 与 native evidence verifier 共用的 YAML AST 安全操作。
sdk
Package sdk provides protocol-agnostic primitives shared by the public Pixiv and Pixiv FANBOX SDK packages: paginated pages and their opaque cursors, classified errors with safe redaction, and the resource contract used for first-party media.
Package sdk provides protocol-agnostic primitives shared by the public Pixiv and Pixiv FANBOX SDK packages: paginated pages and their opaque cursors, classified errors with safe redaction, and the resource contract used for first-party media.
fanbox
Package fanbox provides the public Pixiv FANBOX SDK.
Package fanbox provides the public Pixiv FANBOX SDK.
pixiv
Package pixiv provides the public Pixiv SDK backed exclusively by the Pixiv App API.
Package pixiv provides the public Pixiv SDK backed exclusively by the Pixiv App API.

Jump to

Keyboard shortcuts

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