Repository navigation
Conversation
Add anslid.com (Spanish) to the madara generator's sources.json. The site is a wp-manga Madara install: novels live under /novela/<slug>/, chapters under /novela/<slug>/capitulo-<n>/, and the chapter list is loaded from the AJAX endpoint, so useNewChapterEndpoint is enabled. No selector or URL overrides were needed.
[Low impact] The PR appears safe to merge, with no new actionable issues found. SummaryAdds Anslid as a Spanish Madara source.
Reviews (2) · Last reviewed commit: "feat(madara): add anslid source" · Reviewed by Greptile |
RibatTRW
marked this pull request as draft
October 15, 2026 12:08
RibatTRW
marked this pull request as ready for review
October 15, 2026 13:11
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes #185
Summary
Adds anslid.com as a Spanish source through the existing madara generator. This is a
sources.jsonentry plus a 96x96 icon, with no standalone plugin and no changes to shared generator code.plugins/multisrc/madara/sources.json: newanslidentry (lang: Spanish,useNewChapterEndpoint: true). No selector or URL overrides were needed: novels live at/novela/<slug>/, chapters at/novela/<slug>/capitulo-<n>/, and the chapter list loads from the Madara AJAX endpoint.public/static/multisrc/madara/anslid/icon.png: 96x96 icon converted from the site's own icon.Testing
Evidence run from this branch at
40ec8db:npm ciandnpm run build:full: exit 0.npm run check:plugin -- "plugins/spanish/Anslid[madara].ts": all four steps PASS (popularNovels 16 items, searchNovels 1 result, parseNovel 90 chapters, parseChapter about 10.9k characters of Spanish text).What the screenshots are: the plugin playground (
npm run dev:start) in this worktree, not the LNReader app. The Android toolchain is not installed here, so there is no in-app test.How the playground was reached: the playground hardcodes
http://localhost:3000for its CORS proxy, and port 3000 was held by another worktree's server. I ran this worktree's playground on port 3001 and used a Chrome DevTools Fetch rule in my own headless browser to answer thelocalhost:3000requests from the 3001 server. The app, proxy and plugin code all come from this branch. Nothing on port 3000 was touched.Lint and format:
npm run lintandnpm run format:checkfail only on files this PR does not touch (plugins/multisrc/madara/template.ts,plugins/multisrc/readnovelfull/template.ts,plugins/english/chikari.ts, and the pre-existing failures named in the brief).sources.jsonpasses Prettier.Known limitation
agosto 14, 2026). The shared madara date parser does not understand Spanish month names, so the Release Time column and the metadata "First Chapter" / "Last Updated" fields show "Invalid Date". This is a pre-existing limitation of the shared template affecting any madara source with non-English dates. It was left unchanged in this PR on purpose, because it is out of scope for a source addition and would change every madara source. A follow-up could add a Spanish month map to the shared parser.Screenshots
Captured in the plugin playground (not the LNReader app). Images are GitHub user attachments.
AI authorship
This change was prepared by an AI coding agent (Claude) working on a task branch, then run through the no-mistakes pipeline. Reviewers should weight accordingly.