Skip to content

feat(AniTilky): update activity for anitilky.com#11001

Open
hyqanxd wants to merge 24 commits into
PreMiD:mainfrom
hyqanxd:update/anitilky-v2
Open

feat(AniTilky): update activity for anitilky.com#11001
hyqanxd wants to merge 24 commits into
PreMiD:mainfrom
hyqanxd:update/anitilky-v2

Conversation

@hyqanxd

@hyqanxd hyqanxd commented Jul 14, 2026

Copy link
Copy Markdown
Contributor

Site moved off anitilky.xyz onto anitilky.com, so the store activity was basically dead. Updated it for the new domain/API and cleaned up the presence while I was in there.

What changed

  • url / regExpanitilky.com (+ www)
  • Metadata from api.anitilky.com
  • Watch: title, Sx Ex, play/pause, timestamps, episode + anime buttons
  • Covers/avatars: BunnyCDN 403s Discord without a referer, so we fetch in-page and upload as blobs. Big profile GIFs get flattened to JPEG (PreMiD quietly drops multi‑MB GIFs); if a fetch fails we fall back to the logo
  • Settings: privacy, cover, timestamps, buttons, profiles, multilang
  • Author id → 726522818522775564

Version: 2.0.0

Notes

  • Dropped the old .xyz host on purpose
  • Manga routes are intentionally not shown

Tested

  • / homepage
  • /animes
  • /anime/:slug
  • /watch/:slug (playing + buttons)
  • /schedule
  • /users
  • /u/:username (avatar/cover)

Screenshots

Homepage
homepage

Anime catalog
animes

Anime page
anime

Schedule
schedule

Users
users

Profile
profile

Watch
watch

Rebuild presence with modular architecture, privacy settings, timestamps, and current site routes after the domain migration.

Co-authored-by: Cursor <cursoragent@cursor.com>
@dimerp

dimerp Bot commented Jul 14, 2026

Copy link
Copy Markdown
Contributor

🖼️ Activity asset preview

Another day, another diff. Here's everything shiny I could dig out of this one.

AniTilky (websites/A/AniTilky) — update

Preview Source URL
logo https://i.imgur.com/9us39uh.png
thumbnail https://i.imgur.com/spC11yQ.png

Beep boop — I refresh this comment on every push, so no need to scroll. 🤖

Comment thread websites/A/AniTilky/functions/helpers.ts Fixed
Comment thread websites/A/AniTilky/functions/strings.ts Fixed
Comment thread websites/A/AniTilky/presence.ts Fixed
Comment thread websites/A/AniTilky/presence.ts Fixed
Comment thread websites/A/AniTilky/presence.ts Fixed
Comment thread websites/A/AniTilky/presence.ts Fixed
Comment thread websites/A/AniTilky/presence.ts Fixed
Comment thread websites/A/AniTilky/presence.ts Fixed
Comment thread websites/A/AniTilky/functions/fetchUser.ts Fixed
Comment thread websites/A/AniTilky/functions/strings.ts Fixed
Comment thread websites/A/AniTilky/functions/strings.ts Fixed
Comment thread websites/A/AniTilky/functions/strings.ts Fixed
Comment thread websites/A/AniTilky/functions/strings.ts Fixed
Comment thread websites/A/AniTilky/presence.ts Fixed
Comment thread websites/A/AniTilky/presence.ts Fixed
Comment thread websites/A/AniTilky/presence.ts Fixed
Comment thread websites/A/AniTilky/presence.ts Fixed
Comment thread websites/A/AniTilky/presence.ts Fixed
Fix PresenceData typing, button tuple casting, and thumbnail dimensions for PreMiD validation.

Co-authored-by: Cursor <cursoragent@cursor.com>
Comment thread websites/A/AniTilky/functions/helpers.ts Fixed
Comment thread websites/A/AniTilky/functions/strings.ts Fixed
hyqanxd and others added 4 commits July 14, 2026 12:54
Prefer loaded DOM images and AniList CDN covers because Discord cannot fetch hotlink-protected BunnyCDN assets.

Co-authored-by: Cursor <cursoragent@cursor.com>
Download BunnyCDN covers in-page (Referer required) and pass Blobs so Discord does not hit 403 remote fetches.

Co-authored-by: Cursor <cursoragent@cursor.com>
Always download BunnyCDN images as blobs (GIF -> JPEG). Remove smallIcon from browse/profile pages where remote URLs failed in Discord.

Co-authored-by: Cursor <cursoragent@cursor.com>
Stop image loading from blocking UpdateData, restore watch timestamps/play state, and add episode/anime buttons with Discord-safe covers.

Co-authored-by: Cursor <cursoragent@cursor.com>
Comment thread websites/A/AniTilky/functions/helpers.ts Fixed
Comment thread websites/A/AniTilky/functions/helpers.ts Fixed
Fetch BunnyCDN images as JPEG blobs for Discord upload and detect paused playback via frozen currentTime.

Co-authored-by: Cursor <cursoragent@cursor.com>
Comment thread websites/A/AniTilky/metadata.json Fixed
Stop flattening profile GIFs to JPEG so Discord presence shows motion.

Co-authored-by: Cursor <cursoragent@cursor.com>
Comment thread websites/A/AniTilky/metadata.json Fixed
Remove BunnyCDN blob/GIF upload path that blanked images and profile activity. Use DOM images + AniList URLs with logo fallback.

Co-authored-by: Cursor <cursoragent@cursor.com>
Comment thread websites/A/AniTilky/metadata.json Fixed
Curl-style in-page fetch with referer, cache blobs, keep GIF mime for animated avatars without blocking presence.

Co-authored-by: Cursor <cursoragent@cursor.com>
Comment thread websites/A/AniTilky/metadata.json Fixed
Comment thread websites/A/AniTilky/functions/helpers.ts Fixed
Comment thread websites/A/AniTilky/presence.ts Fixed
@hyqanxd hyqanxd changed the title feat(AniTilky): modern rewrite for anitilky.com feat(AniTilky): migrate to anitilky.com and refresh activity Jul 14, 2026
Co-authored-by: Cursor <cursoragent@cursor.com>
Comment thread websites/A/AniTilky/metadata.json Fixed
Comment thread websites/A/AniTilky/functions/helpers.ts Fixed
Co-authored-by: Cursor <cursoragent@cursor.com>
@hyqanxd hyqanxd changed the title feat(AniTilky): migrate to anitilky.com and refresh activity feat(AniTilky): update activity for anitilky.com Jul 14, 2026
hyqanxd and others added 2 commits July 14, 2026 16:47
Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
Comment thread websites/A/AniTilky/functions/helpers.ts Fixed
Comment thread websites/A/AniTilky/metadata.json Fixed
Comment thread websites/A/AniTilky/metadata.json Outdated
Comment thread websites/A/AniTilky/metadata.json Outdated
hyqanxd and others added 3 commits July 17, 2026 02:13
Co-authored-by: Daniel Lau <32113157+theusaf@users.noreply.github.com>
Signed-off-by: hakanxd <126584083+hyqanxd@users.noreply.github.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
@hyqanxd
hyqanxd requested a review from theusaf July 16, 2026 23:29
@theusaf
theusaf enabled auto-merge (squash) July 23, 2026 20:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Development

Successfully merging this pull request may close these issues.

3 participants