Skip to content

feat(anikoto): new basic activity function for anikototv.to#11000

Open
dovjay wants to merge 2 commits into
PreMiD:mainfrom
dovjay:feat/anikoto
Open

feat(anikoto): new basic activity function for anikototv.to#11000
dovjay wants to merge 2 commits into
PreMiD:mainfrom
dovjay:feat/anikoto

Conversation

@dovjay

@dovjay dovjay commented Jul 14, 2026

Copy link
Copy Markdown

Description

Add the Anikoto activity with browsing and watching presence support.

This activity:

  • detects when a user is watching anime by checking the player iframe
  • shows the anime title and episode number while watching
  • uses the anime poster as the large image when available
  • falls back to a browsing state when no video player is active
  • includes a button linking back to the current anime page
  • tried using iframe.ts but because the site use Anti-Debugging or Anti-Scraping Scripts, its not returning video element needed for more robust features

Acknowledgements

  • I read the https://github.com/PreMiD/Activities/blob/main/.github/CONTRIBUTING.md
  • I linted the code by running npm run lint
  • The PR title follows the repo's https://github.com/PreMiD/Activities/blob/main/.github/COMMIT_CONVENTION.md

Screenshots

Proof showing the creation/modification is working as expected

image
image

@dimerp

dimerp Bot commented Jul 14, 2026

Copy link
Copy Markdown
Contributor

🖼️ Activity asset preview

Behold, the gallery! Admission is free, but I do accept tips in the form of approvals.

Anikoto (websites/A/Anikoto) — creation

Preview Source URL
logo https://i.imgur.com/FYh2IFE.png
thumbnail https://i.imgur.com/WeU62dg.png
code (presence.ts) https://example.com/logo.png

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

presenceData.type = ActivityType.Watching
presenceData.details = title
presenceData.state = episodeText
presenceData.largeImageKey = posterUrl || 'https://example.com/logo.png'
}

// Build the Browsing state
presenceData.largeImageKey = 'https://example.com/logo.png'
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.

2 participants