feat(Tome): add activity - #11141
Open
MarckRamon wants to merge 11 commits into
Open
Conversation
Contributor
🖼️ Activity asset previewAsset inspection complete. No pixels were harmed in the making of this comment. 🤖 Tome (
|
| 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. 🤖
Contributor
There was a problem hiding this comment.
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.tsto detect Tome routes and populate Rich Presence (watch progress via<video>or iFrame data). - Added
iframe.tsto send media timing data from embedded players back to the main presence script. - Added
metadata.jsondefining 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.
skullysmods
requested changes
Aug 25, 2026
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>
Signed-off-by: MarckRamon <42314750+MarckRamon@users.noreply.github.com>
skullysmods
approved these changes
Aug 25, 2026
skullysmods
enabled auto-merge (squash)
August 25, 2026 14:32
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.


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
npm run lintScreenshots
Proof showing the creation/modification is working as expected