Skip to content

feat(english): add Kay's Translations source - #2867

Merged
rajarsheechatterjee merged 2 commits into
lnreader:masterfrom
RibatTRW:fm/lnreader-queue-01
Nov 12, 2026
Merged

rajarsheechatterjee merged 2 commits into
lnreader:masterfrom
RibatTRW:fm/lnreader-queue-01

Conversation

@RibatTRW

@RibatTRW RibatTRW commented Nov 10, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Adds a standalone English source for Kay's Translations (https://kaystls.site/), a fan-translation site for Japanese isekai light novels. The site is a custom WordPress build, so the plugin reads the site's own pages and AJAX actions:

  • Browse: the site's Browse page listing (20 series per page) with Latest/Popular modes plus Status and Sort filters.
  • Search: the site's live series search.
  • Novel details: title, cover, synopsis and status, and the full chapter list taken from the data embedded in the series page. The site also lists early-access chapters that need a sign-in; those are left out, so only chapters readable without an account are listed (for example 676 chapters for Frontier Magic Pharmacist).
  • Chapters: the story text of a chapter page, without the navigation, ads and comments around it.

Files: plugins/english/kaystranslations.ts (id kaystranslations, v1.0.0) and a 96x96 icon at public/static/src/en/kaystranslations/icon.png.

Fixes #263

Screenshots

These come from the repository's plugin playground running this source against the live site, not from the LNReader app.

Popular listing:

Plugin playground: popular novels

Latest listing:

Plugin playground: latest novels

Novel details and chapter list:

Plugin playground: novel details with chapter list

Chapter text:

Plugin playground: chapter text

Search:

Plugin playground: search results

Testing

  • npm run check:plugin -- plugins/english/kaystranslations.ts: popularNovels, searchNovels, parseNovel and parseChapter all PASS (20 novels; 1 search result; 676 chapters; 6386 characters of chapter text).
  • npm run build:full exits 0 and the plugin appears in the generated manifest.
  • ESLint and Prettier are clean on the new file.
  • Also exercised by script against the live site: a completed novel, a volume-style chapter list (v2c10), the Latest mode with a status filter, an empty page past the end of the list, a too-short search term, and an early-access chapter (the plugin throws a clear "no readable chapter text" error).
  • A review comment pointed out that a series page without usable chapter data would show up as an empty chapter list; parseNovel now throws a clear error in that case, and the live check was re-run (all four steps PASS).
  • Not tested in the LNReader app, and the plugin was not compiled with the Hermes compiler.

This plugin was written and tested by an AI coding agent (Claude) and reviewed only by an automated pipeline. No human has reviewed it yet.

Adds a standalone plugin for kaystls.site (Kay's Translations): browse via the site's own AJAX listing (popular/latest, status and sort filters), search, novel details with the full free chapter list (early-access chapters are skipped), and chapter text.
@greptile-apps

greptile-apps Bot commented Nov 10, 2026 •

Copy link
Copy Markdown

RetriggerView in GreptileConfidence Score: 4/5

[Low impact] The changes affect readers who choose this one source.

The PR appears safe to merge, with a non-blocking improvement to how parseNovel reports missing chapter data.

Findings

  1. P2 Failed chapter lists look empty ▶

Summary

Adds Kay's Translations as a standalone English source.

  • Readers can browse Kay's Translations by status and order.
  • Readers can search Kay's Translations series by title.
  • Series pages show details and chapters readers can open.
  • Readers can open available Kay's Translations chapters.

No live requests or runtime checks were performed during this review.

Reviews (1) · Last reviewed commit: "feat(english): add Kay's Translations so..." · Reviewed by Greptile

Comment thread plugins/english/kaystranslations.ts Outdated
.filter(path => path),
);
const chapters: Plugin.ChapterItem[] = [];
(toc?.chapters || []).forEach(item => {

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 Failed chapter lists look empty

parseNovel turns a failed readToc call into a successful novel with no chapters. If the server returns an HTTP-success page without usable KaySeriesTOCData, readers see an empty chapter list instead of an error. Check that the TOC was parsed before building the list, while still allowing a valid TOC with zero chapters.

Knowledge Base Used: Plugin authoring contract

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Fixed in 35eb39d: parseNovel now throws "no chapter list found" when KaySeriesTOCData is missing or has no chapters array, while a valid list that happens to be empty is still returned as such. The live check was re-run afterwards and all four steps pass.

@rajarsheechatterjee
rajarsheechatterjee merged commit 3aceeae into lnreader:master Nov 12, 2026
3 checks passed
@github-actions github-actions Bot locked as resolved and limited conversation to collaborators Nov 15, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

The Kay’s rookie translations

2 participants