Skip to content

feat(Anikura): add Activity - #11082

Open
AkinaRulezx wants to merge 8 commits into
PreMiD:mainfrom
AkinaRulezx:main
Open

feat(Anikura): add Activity#11082
AkinaRulezx wants to merge 8 commits into
PreMiD:mainfrom
AkinaRulezx:main

Conversation

@AkinaRulezx

Copy link
Copy Markdown

Description

Adds a new presence activity for the anime platform Anikura.

Supported features:

  • Homepage: standard landing page presence.
  • Browsing: browsing states for catalog, and search.
  • Genres: genre display when searching genres.
  • User Profiles: supports profile pages with indicators for list views and community tabs as well as user avatars.
  • Watch Page: displays active episode numbers, subtitle languages, episode titles, and episode thumbnail with pause/unpause status.
  • Memberships: shows that your currently viewing memberships. (no personal info)
  • Login: standard login page viewing status (no personal info)

Settings

  • Multi Language Support
  • Use Anime Name as Header
  • Show Buttons
  • Show Episode Title/Chapter

Acknowledgements

Screenshots

Proof showing the creation/modification is working as expected Screenshot 2026-08-04 171239 Screenshot 2026-08-04 171458 Screenshot 2026-08-04 155047

@dimerp

dimerp Bot commented Aug 4, 2026

Copy link
Copy Markdown
Contributor

🖼️ Activity asset preview

Fresh pixels, hot off the CDN — I lined them all up for inspection. 👀

Anikura (websites/A/Anikura) — creation

Preview Source URL
logo https://i.imgur.com/7J9jL7R.png
thumbnail https://i.imgur.com/xK5jHDy.png

Nekowatch (websites/N/Nekowatch) — creation

Preview Source URL
logo https://i.imgur.com/LtP6hmP.jpeg
thumbnail https://i.imgur.com/Q7jwfg0.png

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

Comment thread websites/A/Anikura/presence.ts Fixed

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 7574bc356e

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

presenceData.state = 'Viewing Membership'
break
}
case pathname.includes('/search') || searchParams.has('query') || searchParams.has('q'): {

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P2 Badge Check search parameters before handling /browse

When a search is encoded on the browse URL, e.g. /browse?query=one-piece or /browse?q=one-piece, the earlier /browse case matches first and this search branch is never reached, so the user only sees generic browsing/filter text instead of the search query. This branch also reads searchParams.get('search') on the next line but does not include searchParams.has('search') in the condition, so /browse?search=... is missed as well; handle search params before the generic browse case or fold that logic into it.

Useful? React with 👍 / 👎.

if (titleSpan && titleSpan.textContent?.trim()) {
return titleSpan.textContent.trim()
}
const titleElem = document.querySelector('.anime-title, .show-title, h1[class*="text-snow"], h1')

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P2 Badge Avoid falling back to the episode heading for anime titles

On watch pages the main h1 is the episode title, while the watch branch separately calls getEpisodeTitleFromDOM() for that same heading. If the earlier span selectors are absent, this generic h1 fallback makes showTitle become the episode title, so Discord shows the episode title as the anime and then repeats it in Episode N - ... instead of showing the series name; restrict this fallback to anime info pages or use the watch page's breadcrumb/title element for the series.

Useful? React with 👍 / 👎.

@dimerp dimerp Bot added the multiple activities PR edits more than 1 activity label Aug 4, 2026
Comment thread websites/N/Nekowatch/presence.ts Fixed
@AkinaRulezx

AkinaRulezx commented Aug 5, 2026

Copy link
Copy Markdown
Author

Description

Adds a new presence activity for the anime platform Nekowatch.

  • Nekowatch is in early development so presence might not work as expected at some points in time mainly being with how images load and sometimes the dynamic playing bar. i will continue to update it whenever the owner makes changes as i personally talk with them.

Supported features:

  • Homepage: standard landing page presence.
  • Browsing: browsing states for catalog, and search includes all filtered searches and search query text.
  • User Profiles: supports profile pages using image, including username with viewing status
  • Watch Page: displays active episode numbers, audio language, anime title, and pause/unpause status.
  • Circles: shows viewing/watching with others [currently in development by the website owner]
  • Donate page
  • Feedback
  • Settings
  • Schedule: Viewing current schedules for anime cycles

Settings

  • Multi Language Support
  • Use Anime Name as Header
  • Show Buttons

Acknowledgements

Screenshots

Proof showing the creation/modification is working as expected Screenshot 2026-08-04 203559 Screenshot 2026-08-04 203754

…rting properly (idle timer seperate from dynamic video timer), made viewing a anime use the default logo as loading the image takes too long, fixed a issue with the profile username not displaying all the time. Nekowatch isnt optimized so everything is usally slow to load by default.
@AkinaRulezx

Copy link
Copy Markdown
Author

let me know if anything needs changed i will gladly do that. I only uploaded both to one pull request because i have no idea how pull requests actually work this was my first. I imagine my commit messages don't follow the contribute guidelines. you'll have to inform me of those I did read up on it but didnt think it applied to this particular case as they aren't uploaded yet. most of github features are very confusing to me so I might need guidance for some things. I apologize for that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

activity creation multiple activities PR edits more than 1 activity

Development

Successfully merging this pull request may close these issues.

2 participants