Skip to content

feat(Archidekt): add activity#10680

Open
kridt wants to merge 1 commit intoPreMiD:mainfrom
kridt:feat/archidekt-presence
Open

feat(Archidekt): add activity#10680
kridt wants to merge 1 commit intoPreMiD:mainfrom
kridt:feat/archidekt-presence

Conversation

@kridt
Copy link
Copy Markdown

@kridt kridt commented Apr 12, 2026

Summary

Adds a PreMiD presence for Archidekt.com, a popular Magic: The Gathering deck builder and collection manager.

Features

  • Deck Building — Shows deck name, format (Commander, Modern, etc.), card count, and optional estimated cost
  • Playtesting — Displays when playtesting a deck with format info
  • Browsing — Shows browsing status for homepage, search, profiles, and collection pages
  • Elapsed Time — Tracks time spent on each activity
  • View Deck Button — Links directly to the deck being built/playtested

User Settings

Setting Default Description
Show View Deck Button On Clickable button linking to the current deck
Show Estimated Deck Cost On Appends cost to the status line
Privacy Mode Off Hides deck names, shows generic text

Data Sources (in priority order)

  1. document.title parsing — reliable, always updated on navigation
  2. twitter:data2 meta tag — format name as string
  3. __NEXT_DATA__ — structured deck data from Next.js hydration
  4. DOM text scanning — for card count and estimated cost (client-rendered)

Screenshots

Will be added after local testing with the PreMiD extension.

Test plan

  • Install PreMiD extension and load the presence with npx pmd dev Archidekt
  • Visit a deck page (e.g., archidekt.com/decks/1) — verify deck name, format, card count appear in Discord
  • Visit /sandbox — verify "Building a new deck" shows
  • Visit homepage — verify "Browsing Archidekt" shows
  • Toggle Privacy Mode — verify deck names are hidden
  • Toggle View Deck Button — verify button appears/disappears
  • Test playtester mode from a deck page
  • Take side-by-side screenshots (Discord + website)

🤖 Generated with Claude Code

Add PreMiD presence for Archidekt.com, a Magic: The Gathering deck builder.

Tracks deck building, playtesting, and browsing activities with elapsed time,
format detection, card count, and View Deck button support.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@@ -0,0 +1,46 @@
{
@theusaf theusaf changed the title feat(Archidekt): add Archidekt presence feat(Archidekt): add activity Apr 13, 2026
Copy link
Copy Markdown
Contributor

@theusaf theusaf left a comment

Choose a reason for hiding this comment

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

Additionally, resolve automated check and add screenshots showing the activity working

if (presenceData.details)
presence.setActivity(presenceData)
else
presence.setActivity()
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.

Suggested change
presence.setActivity()
presence.clearActivity()

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