Star 历史趋势
数据来源: GitHub API · 生成自 Stargazers.cn
README.md

phixiv

pixiv embed fixer. If you run into any issues or have any suggestions to make this service better, please feel free to open an issue.

How to Use

Just replace "pixiv" with "phixiv" or "ppxiv" in urls to embed web content properly on apps, such as Discord and Telegram.

To choose a specified image from a artwork (e.g., manga), you should append /<index> to the link. The index starts from 1.

If you want a more compact embed, use c.phixiv.net or c.ppxiv.net, those will omit the text from the pixiv post.

Path Formats

The following are valid paths for artworks, if there should be more embedding paths, please open an issue. To embed multiple images at once you can use a range for the :index parameter, e.g. 1-3 for the first three images, 4-6 for the next three and so on.

/artworks/:id /:language/artworks/:id /artworks/:id/:index /:language/artworks/:id/:index /i/:id /member_illust.php?illust_id=:id

Here are some examples.

URLDescription
https://www.phixiv.net/member_illust.php?illust_id=124748386Artwork with ID 124748386
https://www.phixiv.net/artworks/124748386The same artwork
https://www.phixiv.net/en/artworks/124748386The same artwork with tags in English translation
https://www.phixiv.net/artworks/124748386/2The 2nd (not 3rd) image of the same artwork
https://www.phixiv.net/artworks/124748386/1-3The first three images of the artwork

Discord Shortcut

On Discord, instead of editing pixiv urls, typing s/i/p and hitting Enter could be a bit more quick. This command will replace pixiv with ppxiv. If there are multiple i's in that message, you should use s/pixiv/ppxiv to shoot it accurately.

API

The API at https://www.phixiv.net/api/info?id=:id is no longer available. Developers should call the Pixiv API directly, https://www.pixiv.net/ajax/illust/142030918 for general information and https://www.pixiv.net/ajax/illust/142030918/pages for the original image urls.

Advanced Usages

There are some APIs for internal usage. It's recommended to read the source code before using them directly.

PathDescription
/healthHealth check
/e/?n=:author_name&i=:author_idoEmbed-like API
/i/:pathProxy API
/api/v1/statuses/:status_idMastodon-like API

关于 About

pixiv embed fixer.

语言 Languages

Rust93.2%
HTML6.1%
Dockerfile0.7%

提交活跃度 Commit Activity

代码提交热力图
过去 52 周的开发活跃度
23
Total Commits
峰值: 6次/周
Less
More

核心贡献者 Contributors