Skip to content

feat(Tome): add activity - #11141

Open
MarckRamon wants to merge 11 commits into
PreMiD:mainfrom
MarckRamon:add/tome
Open

feat(Tome): add activity#11141
MarckRamon wants to merge 11 commits into
PreMiD:mainfrom
MarckRamon:add/tome

Conversation

@MarckRamon

Copy link
Copy Markdown

Description

Adds Discord Rich Presence support for Tome (https://www.tome.qzz.io) anime watching with live playback progress, manga reading, library browsing, and collection management.

Acknowledgements

Screenshots

Proof showing the creation/modification is working as expected Screenshot 2026-08-25 154016 Screenshot 2026-08-25 154039 Screenshot 2026-08-25 154110

Copilot AI lite review requested due to automatic review settings August 25, 2026 07:48
@dimerp

dimerp Bot commented Aug 25, 2026

Copy link
Copy Markdown
Contributor

🖼️ Activity asset preview

Asset inspection complete. No pixels were harmed in the making of this comment. 🤖

Tome (websites/T/Tome) — creation

Preview Source URL
logo https://i.imgur.com/IgwRllE.png
thumbnail https://i.imgur.com/9JD0T75.png

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

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds a new PreMiD activity integration for Tome to provide Discord Rich Presence across key site areas (watching, reading, browsing, collection).

Changes:

  • Added presence.ts to detect Tome routes and populate Rich Presence (watch progress via <video> or iFrame data).
  • Added iframe.ts to send media timing data from embedded players back to the main presence script.
  • Added metadata.json defining Tome service metadata and iframe matching rules.

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 4 comments.

File Description
websites/T/Tome/presence.ts Implements route-based presence details and playback progress (native video + iframe fallback).
websites/T/Tome/iframe.ts Collects embedded <video> playback data and sends it via iFrame integration.
websites/T/Tome/metadata.json Registers the new Tome activity, domains, and iframe configuration.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread websites/T/Tome/presence.ts
Comment thread websites/T/Tome/presence.ts Outdated
Comment thread websites/T/Tome/metadata.json
Comment thread websites/T/Tome/metadata.json
Comment thread websites/T/Tome/metadata.json Outdated
Comment thread websites/T/Tome/presence.ts Outdated
Comment thread websites/T/Tome/presence.ts Outdated
Comment thread websites/T/Tome/presence.ts Outdated
Comment thread websites/T/Tome/presence.ts Outdated
Comment thread websites/T/Tome/presence.ts Outdated
MarckRamon and others added 7 commits August 25, 2026 22:12
Co-authored-by: Skully <117316808+skullysmods@users.noreply.github.com>
Signed-off-by: MarckRamon <42314750+MarckRamon@users.noreply.github.com>
Co-authored-by: Skully <117316808+skullysmods@users.noreply.github.com>
Signed-off-by: MarckRamon <42314750+MarckRamon@users.noreply.github.com>
Co-authored-by: Skully <117316808+skullysmods@users.noreply.github.com>
Signed-off-by: MarckRamon <42314750+MarckRamon@users.noreply.github.com>
Co-authored-by: Skully <117316808+skullysmods@users.noreply.github.com>
Signed-off-by: MarckRamon <42314750+MarckRamon@users.noreply.github.com>
Co-authored-by: Skully <117316808+skullysmods@users.noreply.github.com>
Signed-off-by: MarckRamon <42314750+MarckRamon@users.noreply.github.com>
Co-authored-by: Skully <117316808+skullysmods@users.noreply.github.com>
Signed-off-by: MarckRamon <42314750+MarckRamon@users.noreply.github.com>
Comment thread websites/T/Tome/presence.ts Fixed
Signed-off-by: MarckRamon <42314750+MarckRamon@users.noreply.github.com>
@MarckRamon
MarckRamon requested a review from skullysmods August 25, 2026 14:27
@skullysmods
skullysmods enabled auto-merge (squash) August 25, 2026 14:32
@skullysmods
skullysmods requested a review from a team August 25, 2026 14:32
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.

4 participants