Skip to content

feat(english): add Doby Translations source - #2972

Open
Sharique-Hassan-Malik wants to merge 2 commits into
lnreader:masterfrom
Sharique-Hassan-Malik:feat/english-dobytranslations
Open

Sharique-Hassan-Malik wants to merge 2 commits into
lnreader:masterfrom
Sharique-Hassan-Malik:feat/english-dobytranslations

Conversation

@Sharique-Hassan-Malik

Copy link
Copy Markdown
Contributor

dobytranslations.com uses a customised LightNovelWP theme that splits each chapter list over several <ul> blocks with different markup, and the template reads only the first (one chapter per novel). This is a standalone plugin: it reads every list, removes duplicates, strips the novel-title prefix from chapter names and orders chapters by number.

Note for maintainers: the same group's dobynovels.com (existing dobynovels source) has the same theme and the same one-chapter problem today (check:plugin passes with "1 chapters"). I tried teaching the template to read the whole .eplister, but the other lists' markup gives unnamed, unordered chapters there, so I left the template alone. Happy to convert DobyNovels the same way in a follow-up if you want it.

Tests (2026-12-03)

  • eslint and prettier --check: ok. tsc --noEmit -p tsconfig.json: no errors in the changed files (master has unrelated errors elsewhere). Repeated on 2026-12-04 against current master.
  • npm run check:plugin -- plugins/english/dobytranslations.ts: all PASS (773 chapters on the tested novel).

Checklist

  • Update version code if an existing plugin was modified (new source, not applicable)
  • Test changes in Plugin Playground or the app (not in the Playground; tested with check:plugin and the method runs listed above)
  • Reference related issues in the PR body (e.g. Closes #xyz) (no open issue found)
  • Commit messages follow type(scope): description

AI-assisted: written with the help of an AI coding agent (Claude Code) and tested as described above. The same site logic runs in my own plugin repository, which I use in LNReader 2.1.4 and Nekori on an Android phone.

dobytranslations.com runs a customised LightNovel WordPress theme: a novel page's chapter block holds several lists (first chapter, last released, then the full list), which the lightnovelwp generator stops reading after the first, so it found one chapter per novel. This standalone plugin reads every list once, keeps parts of a chapter in order, and offers the site's genre, type, status and order filters. Icon from the site's own icon, resized to 96x96.
@greptile-apps

greptile-apps Bot commented Dec 4, 2026 •

Copy link
Copy Markdown

Confidence Score: 5/5RetriggerView in Greptile

[Medium impact] The PR appears safe to merge; no new actionable issues were found.

Summary

Adds Doby Translations as a standalone English source.

  • Readers can browse and search Doby Translations novels.
  • Novel pages show details and the full chapter list.
  • Readers can open Doby Translations chapters.

Reviews (2) · Last reviewed commit: "fix(english/dobytranslations): send no o..." · Reviewed by Greptile

Comment thread plugins/english/dobytranslations.ts Resolved
"Default" has the empty value, which || turned into popular. Use ??
for a missing filter and leave the order parameter out when it is empty.

This branch has not been deployed

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant