Skip to content

feat: add Bangumi Instant View support#2

Merged
kxxoling merged 3 commits into
devfrom
feat/bangumi
Jun 16, 2026
Merged

feat: add Bangumi Instant View support#2
kxxoling merged 3 commits into
devfrom
feat/bangumi

Conversation

@kxxoling

Copy link
Copy Markdown
Owner
  • Add subject page rendering at /bgm/subject/:id
  • Use public api.bgm.tv API (no auth required)
  • Display cover, rating distribution, tags, collection stats, infobox, and summary
  • Support both bgm.tv and bangumi.tv domains
  • Add test fixtures and tests

- Add subject page rendering at /bgm/subject/:id
- Use public api.bgm.tv API (no auth required)
- Display cover, rating distribution, tags, collection stats, infobox, and summary
- Support both bgm.tv and bangumi.tv domains
- Add test fixtures and tests
@vercel

vercel Bot commented Jun 16, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
fixxxx Ready Ready Preview, Comment Jun 16, 2026 6:08pm
fixxxx-cf Ready Ready Preview, Comment Jun 16, 2026 6:08pm

Escape newlines in OG/Twitter meta tags, add og:type and complete
twitter:card tags for proper link previews.
Some Bangumi subjects have infobox entries like "别名" with array
values containing only {v} (no {k}), which caused undefined output
and 500 errors. Now renders them as plain text instead of links.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant