pixiv-cli

module
v1.2.1 Latest Latest
Warning

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

Go to latest
Published: Oct 22, 2026 License: MIT

README

pixiv-cli

Pixiv CLI · MCP server (stdio / HTTP)

English · 简体中文

Quality gate Release Go License Views

Install · Quick start · Interfaces · Documentation · Contributing

Unofficial CLI and MCP server for Pixiv: search, browse, bookmark, follow and download from a terminal or an AI agent. It also reads Pixiv Fanbox content (read-only).

Not affiliated with or endorsed by Pixiv Inc. Follow Pixiv's terms and applicable law.

flowchart LR
    U["You / scripts"] --> CLI["pixiv CLI"]
    A["AI agents"] --> MCP["pixiv mcp<br/>stdio · HTTP+OAuth"]
    CLI --> SDK["shared core<br/>(also a public Go SDK)"]
    MCP --> SDK
    SDK --> PX["Pixiv App API<br/>(authenticated only)"]
    SDK -.-> FB["Pixiv Fanbox<br/>(read-only, FANBOXSESSID)"]
    CLI -.->|"search IMAGE"| RS["SauceNAO · ascii2d"]
    MCP -.->|"reverse search"| RS

What you get

Area Highlights
Discover Search artworks/novels/users; filter by rating, subtype, AI mode, aspect ratio, resolution, drawing tool, bookmark count; all 16 ranking modes; recommendations, timelines, series, comments
Reverse search Local image or URL → SauceNAO / ascii2d → canonical Pixiv records
Download Artwork IDs/URLs, creator and public-bookmark URLs, allowed CDN URLs; page ranges, quality, GIF/APNG Ugoira; full success/warning/failure report
Account actions Bookmarks, follows, comments and stamps
Accounts Browser OAuth login, multi-account, token rotation, optional cross-machine relay, opt-in account pool honoring Retry-After
MCP Same features as tools; image and Ugoira bytes; MCP Apps gallery over HTTP
Pipelines Piped lists emit canonical NDJSON that detail, download, bookmark and follow consume
Pixiv Fanbox Read-only creators, posts, feeds, tags and first-party files with a separate FANBOXSESSID
flowchart LR
    S["pixiv search miku"] -->|"NDJSON (auto when piped)"| D["pixiv detail"]
    S -->|NDJSON| DL["pixiv download"]
    R["pixiv ranking"] -->|NDJSON| B["pixiv bookmark add"]

Install

Channel Command
Homebrew (macOS/Linux, recommended) brew install FlanChanXwO/tap/pixiv-cli · upgrade: brew update && brew upgrade pixiv-cli
Script (Linux/macOS) 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
Script (Windows 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
Docker (linux amd64/arm64) docker pull ghcr.io/flanchanxwo/pixiv-cli:v1.2.3 (also docker.io/flanchanxwo/pixiv-cli)
Go go install github.com/FlanChanXwO/pixiv-cli/cmd/pixiv@vX.Y.Z (exact tag)
Archive / source GitHub Releases · sh scripts/build.sh (CGO_ENABLED=0, no Rust/C toolchain)
  • Scripts detect AMD64/ARM64, verify the Release SHA-256, preflight the binary and install per-user. --no-path leaves PATH alone; --install-dir DIR changes the destination. Inspect the script before running it.
  • Direct downloads ship checksums and an Ed25519-signed manifest. Details: installation, Docker, Go source.
Install with an AI agent (copy this prompt)
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.

The published Skill is also on SkillHub and ClawHub (clawhub install pixiv-cli). Pin it to the version matching your CLI; pixiv <cmd> --help remains the final source of syntax.

60-second quick start

pixiv auth login                                   # browser OAuth, saved by UID
pixiv search "初音ミク" --content-type illust --ai-mode exclude --resolution high
pixiv search "初音ミク" --type novel --search-by tag-exact
pixiv search ./image.png --provider ascii2d-color --json    # reverse image search
pixiv detail https://www.pixiv.net/artworks/123456
pixiv download https://www.pixiv.net/artworks/123456 --pages 1,3-5 --quality regular
pixiv download https://www.pixiv.net/users/12345678/artworks          # whole creator
pixiv search "miku" --limit 20 | pixiv download                      # pipeline
pixiv bookmark add 123456 && pixiv follow add 12345678
pixiv recommended --type all --limit 10
pixiv timeline latest --type artwork --limit 20

pixiv fanbox auth import && pixiv fanbox post 123456       # FANBOX (hidden input)

pixiv --help and the CLI reference cover every command, flag, config key and environment variable.

Choose your interface

CLI

Text by default, --json for one document, --ndjson (or a pipe) for record streams.

pixiv ranking --mode day --json
pixiv user detail 12345678
MCP
flowchart LR
    Host["MCP host / agent"] -->|"stdio (default)"| L["pixiv mcp<br/>local CLI accounts"]
    Host -->|"HTTP + OAuth bearer"| H["pixiv mcp --port 1270<br/>remote / cloud connectors"]

Local (stdio) — add to your MCP client config:

{
  "mcpServers": {
    "pixiv": {
      "command": "pixiv",
      "args": ["mcp"]
    }
  }
}

Remote (authenticated HTTP):

pixiv mcp auth init                                        # once; prints the owner secret once
pixiv mcp --port 1270                                      # http://127.0.0.1:1270/mcp
pixiv mcp --port 1270 --base-url https://mcp.example.com   # behind an HTTPS reverse proxy

An authorized HTTP connector acts on the server's files and network (e.g. reverse search can read server-side paths), so grant access only to clients you trust. Tools, transports and setup details: MCP tools · HTTP startup.

Documentation

Guide For
Installation Channels, Docker, trust, pixiv update
Authentication Login, remote hand-off, token import/export
CLI reference Commands, flags, config, downloads, MCP startup
MCP tools · MCP Apps gallery Tool schemas, output, HTTP authorization, Gallery UI
Go SDK Embedding the same core in Go programs
Architecture · MCP server Package boundaries and runtime flow
Development · CI · Release Toolchain, tests, PR gates, releases
Changelog User-visible changes

Contributing

Bug reports, docs fixes, tests and focused features are welcome — read CONTRIBUTING.md first and discuss large or public-interface changes before coding.

Thank you to everyone who helps improve pixiv-cli.

Contributors to pixiv-cli

View all contributors

License

MIT © FlanChanXwO · Third-party notices are embedded: run pixiv --licenses. Release archives contain only the executable.

Directories

Path Synopsis
cmd
pixiv command
Package frontend embeds the page sources; HTTP and MCP behavior remains in their owners.
Package frontend embeds the page sources; HTTP and MCP behavior remains in their owners.
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
Package cli 是 CLI 组合根:它把命令树、执行生命周期与生产依赖装配 组装成一个可运行的 pixiv 命令(以及 MCP stdio/HTTP runtime)。
Package cli 是 CLI 组合根:它把命令树、执行生命周期与生产依赖装配 组装成一个可运行的 pixiv 命令(以及 MCP stdio/HTTP runtime)。
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/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/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 artwork and novel ranking command.
Package ranking owns the Pixiv artwork and novel 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 Streamable HTTP transport 与 runtime lifecycle。
Package mcpserver 拥有统一 MCP Streamable HTTP transport 与 runtime lifecycle。
mcpserver/auth
Package auth 拥有 MCP owner 与 OAuth 的私有状态,不接触产品账号凭据。
Package auth 拥有 MCP owner 与 OAuth 的私有状态,不接触产品账号凭据。
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/feed
Package feed 实现 fanbox_feed tool。
Package feed 实现 fanbox_feed 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/pixiv
Package pixiv 聚合 Pixiv MCP tool 注册。
Package pixiv 聚合 Pixiv MCP tool 注册。
mcpserver/pixiv/accounts
Package accounts owns MCP account selection, without holding product credentials.
Package accounts owns MCP account selection, without holding product credentials.
mcpserver/pixiv/gallery
Package gallery owns the optional Pixiv MCP Apps view, never product credentials.
Package gallery owns the optional Pixiv MCP Apps view, never product credentials.
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/internal/schemas
Package schemas 集中定义 Pixiv MCP 输入 schema 的小型构造器。
Package schemas 集中定义 Pixiv MCP 输入 schema 的小型构造器。
mcpserver/pixiv/mediaproxy
Package mediaproxy delivers only capability-authorized Pixiv images, never arbitrary URLs.
Package mediaproxy delivers only capability-authorized Pixiv images, never arbitrary URLs.
mcpserver/pixiv/tools/account_list
Package account_list exposes the owner's local Pixiv account status.
Package account_list exposes the owner's local Pixiv account status.
mcpserver/pixiv/tools/account_login_start
Package account_login_start starts the server-owned Pixiv helper login flow.
Package account_login_start starts the server-owned Pixiv helper login flow.
mcpserver/pixiv/tools/account_status
Package account_status exposes the owner's local Pixiv account status.
Package account_status exposes the owner's local Pixiv account status.
mcpserver/pixiv/tools/account_use
Package account_use exposes the owner's local Pixiv account selection.
Package account_use exposes the owner's local Pixiv account selection.
mcpserver/pixiv/tools/artwork_media
Package artwork_media delivers artwork bytes rather than server-local files.
Package artwork_media delivers artwork bytes rather than server-local files.
mcpserver/pixiv/tools/blocked_users
Package blocked_users 实现 pixiv_blocked_users tool。
Package blocked_users 实现 pixiv_blocked_users tool。
mcpserver/pixiv/tools/bookmark_add
Package bookmark_add 实现 pixiv_bookmark_add tool。
Package bookmark_add 实现 pixiv_bookmark_add tool。
mcpserver/pixiv/tools/bookmark_detail
Package bookmark_detail 实现 pixiv_bookmark_detail tool。
Package bookmark_detail 实现 pixiv_bookmark_detail tool。
mcpserver/pixiv/tools/bookmark_list_all
Package bookmark_list_all 实现 additive bookmark_list_all tool。
Package bookmark_list_all 实现 additive bookmark_list_all tool。
mcpserver/pixiv/tools/bookmark_remove
Package bookmark_remove 实现 pixiv_bookmark_remove tool。
Package bookmark_remove 实现 pixiv_bookmark_remove tool。
mcpserver/pixiv/tools/bookmark_tags
Package bookmark_tags 实现 pixiv_bookmark_tags tool。
Package bookmark_tags 实现 pixiv_bookmark_tags tool。
mcpserver/pixiv/tools/bookmark_tags_all
Package bookmark_tags_all 实现 additive bookmark_tags_all tool。
Package bookmark_tags_all 实现 additive bookmark_tags_all tool。
mcpserver/pixiv/tools/comment_create
Package comment_create 实现 pixiv_comment_create tool。
Package comment_create 实现 pixiv_comment_create tool。
mcpserver/pixiv/tools/comment_delete
Package comment_delete 实现 pixiv_comment_delete tool。
Package comment_delete 实现 pixiv_comment_delete tool。
mcpserver/pixiv/tools/comment_reply
Package comment_reply 实现 pixiv_comment_reply tool。
Package comment_reply 实现 pixiv_comment_reply tool。
mcpserver/pixiv/tools/comment_stamp
Package comment_stamp 实现 pixiv_comment_stamp tool。
Package comment_stamp 实现 pixiv_comment_stamp tool。
mcpserver/pixiv/tools/comments
Package comments 实现 pixiv_comments tool。
Package comments 实现 pixiv_comments 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 实现 pixiv_follow_user tool。
Package follow_user 实现 pixiv_follow_user tool。
mcpserver/pixiv/tools/gallery_animation
Package gallery_animation owns short control requests for Gallery animations.
Package gallery_animation owns short control requests for Gallery animations.
mcpserver/pixiv/tools/illust_detail
Package illust_detail 实现 pixiv_illust_detail tool。
Package illust_detail 实现 pixiv_illust_detail tool。
mcpserver/pixiv/tools/illust_ranking
Package illust_ranking 实现 pixiv_illust_ranking tool。
Package illust_ranking 实现 pixiv_illust_ranking tool。
mcpserver/pixiv/tools/illust_recommended
Package illust_recommended 实现 pixiv_illust_recommended tool。
Package illust_recommended 实现 pixiv_illust_recommended tool。
mcpserver/pixiv/tools/illust_related
Package illust_related 实现 pixiv_illust_related tool。
Package illust_related 实现 pixiv_illust_related tool。
mcpserver/pixiv/tools/illust_series
Package illust_series 实现 pixiv_illust_series tool。
Package illust_series 实现 pixiv_illust_series tool。
mcpserver/pixiv/tools/mypixiv
Package mypixiv 实现 pixiv_mypixiv tool。
Package mypixiv 实现 pixiv_mypixiv tool。
mcpserver/pixiv/tools/novel_bookmark_detail
Package novel_bookmark_detail 实现 pixiv_novel_bookmark_detail tool。
Package novel_bookmark_detail 实现 pixiv_novel_bookmark_detail tool。
mcpserver/pixiv/tools/novel_content
Package novel_content 实现 pixiv_novel_content tool。
Package novel_content 实现 pixiv_novel_content tool。
mcpserver/pixiv/tools/novel_detail
Package novel_detail 实现 pixiv_novel_detail tool。
Package novel_detail 实现 pixiv_novel_detail tool。
mcpserver/pixiv/tools/novel_series
Package novel_series 实现 pixiv_novel_series tool。
Package novel_series 实现 pixiv_novel_series tool。
mcpserver/pixiv/tools/recommended
Package recommended 实现 pixiv_recommended tool。
Package recommended 实现 pixiv_recommended tool。
mcpserver/pixiv/tools/reverse_search
Package reverse_search 实现 pixiv_reverse_search MCP tool。
Package reverse_search 实现 pixiv_reverse_search MCP tool。
mcpserver/pixiv/tools/search_illust
Package search_illust 实现 pixiv_search_illust tool。
Package search_illust 实现 pixiv_search_illust tool。
mcpserver/pixiv/tools/search_novel
Package search_novel 实现 pixiv_search_novel tool。
Package search_novel 实现 pixiv_search_novel tool。
mcpserver/pixiv/tools/search_user
Package search_user 实现 pixiv_search_user tool。
Package search_user 实现 pixiv_search_user tool。
mcpserver/pixiv/tools/show_gallery
Package show_gallery owns explicit visual presentation, not search.
Package show_gallery owns explicit visual presentation, not search.
mcpserver/pixiv/tools/timeline_following
Package timeline_following 实现 pixiv_timeline_following tool。
Package timeline_following 实现 pixiv_timeline_following tool。
mcpserver/pixiv/tools/timeline_latest
Package timeline_latest 实现 pixiv_timeline_latest tool。
Package timeline_latest 实现 pixiv_timeline_latest tool。
mcpserver/pixiv/tools/trending_tags_illust
Package trending_tags_illust 实现 pixiv_trending_tags_illust tool。
Package trending_tags_illust 实现 pixiv_trending_tags_illust tool。
mcpserver/pixiv/tools/unfollow_user
Package unfollow_user 实现 pixiv_unfollow_user tool。
Package unfollow_user 实现 pixiv_unfollow_user tool。
mcpserver/pixiv/tools/user_artworks
Package user_artworks 实现 pixiv_user_artworks tool。
Package user_artworks 实现 pixiv_user_artworks tool。
mcpserver/pixiv/tools/user_bookmarks
Package user_bookmarks 实现 pixiv_user_bookmarks tool。
Package user_bookmarks 实现 pixiv_user_bookmarks tool。
mcpserver/pixiv/tools/user_detail
Package user_detail 实现 pixiv_user_detail tool。
Package user_detail 实现 pixiv_user_detail tool。
mcpserver/pixiv/tools/user_novels
Package user_novels 实现 pixiv_user_novels tool。
Package user_novels 实现 pixiv_user_novels tool。
mcpserver/pixiv/tools/user_relations
Package user_relations 实现 pixiv_user_relations tool。
Package user_relations 实现 pixiv_user_relations 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/jpeg
Package jpeg decodes ugoira JPEG frames using the legacy IDCT.
Package jpeg decodes ugoira JPEG frames using the legacy IDCT.
releaseversion
Package releaseversion 统一拥有仓库级 release version identity。
Package releaseversion 统一拥有仓库级 release version identity。
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/account/loginrelay
Package loginrelay owns the shared remote-login protocol, independent of CLI and OS helpers.
Package loginrelay owns the shared remote-login protocol, independent of CLI and OS helpers.
services/pixiv/account/loginrelay/loginpage
Package loginpage 渲染 CLI 与远程登录 relay 共用的纯页面。
Package loginpage 渲染 CLI 与远程登录 relay 共用的纯页面。
services/pixiv/endpoint/continuation
Package continuation 解析 App API 响应中的 endpoint continuation。
Package continuation 解析 App API 响应中的 endpoint continuation。
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/resolver
Package resolver owns the command-scoped semantic resolution of Pixiv targets.
Package resolver owns the command-scoped semantic resolution of Pixiv targets.
shared/searchfilter
Package searchfilter 定义 CLI/MCP 共用的搜索筛选 continuation 语义。
Package searchfilter 定义 CLI/MCP 共用的搜索筛选 continuation 语义。
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 运行 browser provider evidence helper。
Command browsernativeevidence 运行 browser provider evidence helper。
cmd/homebrewformula command
Command homebrewformula 根据已验证 release checksums.txt 的六个 archive 渲染 URL 与 digest 均受约束的 Homebrew formula。
Command homebrewformula 根据已验证 release checksums.txt 的六个 archive 渲染 URL 与 digest 均受约束的 Homebrew formula。
cmd/homebrewrecovery command
Command homebrewrecovery decides whether a Homebrew tap may accept a new Formula, so recovery of the same release_run_id is idempotent and an older run can never roll the published Formula back.
Command homebrewrecovery decides whether a Homebrew tap may accept a new Formula, so recovery of the same release_run_id is idempotent and an older run can never roll the published Formula back.
cmd/licensebundle command
Command licensebundle 从六个平台的 Go 生产依赖及移植来源生成许可证 bundle。
Command licensebundle 从六个平台的 Go 生产依赖及移植来源生成许可证 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/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.
internal/browsernativeevidence
Package browsernativeevidence 运行无 credential 的 browser provider evidence helper。
Package browsernativeevidence 运行无 credential 的 browser provider evidence helper。
internal/homebrewformula
Package homebrewformula 根据已验证 release checksums.txt 的六个 archive 渲染 URL 与 digest 均受约束的 Homebrew formula。
Package homebrewformula 根据已验证 release checksums.txt 的六个 archive 渲染 URL 与 digest 均受约束的 Homebrew formula。
internal/homebrewrecovery
Package homebrewrecovery 拥有 Homebrew tap 的单调 deploy 判定:target Formula 只允许前进。
Package homebrewrecovery 拥有 Homebrew tap 的单调 deploy 判定:target Formula 只允许前进。
internal/licensebundle
Package licensebundle 从六个平台的 Go 生产依赖及移植来源生成许可证 bundle。
Package licensebundle 从六个平台的 Go 生产依赖及移植来源生成许可证 bundle。
internal/linuxabi
Package linuxabi 验证已打包 Linux executable 是否保持公开的 glibc 基线。
Package linuxabi 验证已打包 Linux executable 是否保持公开的 glibc 基线。
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 共用的发布 identity: Version/Channel、六个 archive 目标、archive name。
Package releasecontract 只拥有 release 与 native evidence 共用的发布 identity: Version/Channel、六个 archive 目标、archive 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.
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.
Package thirdparty carries dependency notices with standalone executables.
Package thirdparty carries dependency notices with standalone executables.
tools
internal/verificationpolicy
Package verificationpolicy parses and validates PR-declared verification commands without invoking a shell.
Package verificationpolicy parses and validates PR-declared verification commands without invoking a shell.
platformmatrix command
Command platformmatrix validates the shared CI platform registry and emits GitHub Actions matrix JSON for one capability.
Command platformmatrix validates the shared CI platform registry and emits GitHub Actions matrix JSON for one capability.
prmeta command
Command prmeta validates the pull request template and optional verification block using the trusted repository policy.
Command prmeta validates the pull request template and optional verification block using the trusted repository policy.
release command
Command release provides small release-material operations shared by CI.
Command release provides small release-material operations shared by CI.
verification command
Command verification executes trusted, pre-validated PR verification pipelines and renders sanitized cross-platform results.
Command verification executes trusted, pre-validated PR verification pipelines and renders sanitized cross-platform results.

Jump to

Keyboard shortcuts

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