Skip to content

Repository files navigation

Baka-Tsuki plugin for LNReader

A single-source LNReader plugin for Baka-Tsuki, the fan-translation wiki.

Install

In LNReader: Settings → Repos → add repository, then paste:

https://raw.githubusercontent.com/pdmacinnes/bakatsuki-lnreader-plugin/main/.dist/plugins.min.json

Refresh the plugin list and install Baka-Tsuki under English.

How it works

Baka-Tsuki runs MediaWiki 1.43 with an open read API, so this plugin talks to api.php instead of scraping rendered pages. That avoids the usual breakage from skin changes and sidebar/footer stripping.

  • Browse lists the wiki's own Category:Light novel (English) — 160 titles, romanised as Baka-Tsuki writes them. Cached for the session.
  • Filters for status (Active / Completed / Stalled / Inactive) and A–Z order.
  • Latest maps to recentchanges, rolled up from chapter edits to the parent project — the real "recently updated" signal on a wiki.
  • Search ranks title-first (exact → prefix → substring → token), so partial and out-of-order queries land: absoAbsolute Duo, zero fateFate/Zero.
  • Chapter lists are read from the project page in document order. This is the one place scraping beats the API: allpages is alphabetical and would put Chapter 10 before Chapter 2.
  • Metadata — genres, status and author come from page categories. Author is omitted rather than guessed when it doesn't look like a personal name.

Known limits

  • Projects outside the light novel category won't appear in browse, though search can still reach them.
  • Summary quality varies. Projects without a synopsis section fall back to their lead paragraph, which is occasionally a project notice.
  • Status is Unknown for uncategorised projects.
  • Some Baka-Tsuki projects have been removed or reduced to stubs for licensing reasons. The plugin surfaces whatever the wiki currently serves.

Building

Source lives in plugins/english/bakaTsuki.ts and is built against the lnreader-plugins toolchain:

npx tsc --project tsconfig.production.json

Copy the result to .js/src/plugins/english/ and bump version in both the plugin and .dist/plugins*.json.

License

MIT, matching the upstream lnreader-plugins repository.

About

Baka-Tsuki source plugin for LNReader (MediaWiki API-backed)

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages