Commit Graph

13 Commits

Author SHA1 Message Date
Binh Lam 76d60d0443 feat: Add TruyenSS (#2192)
* Add TruyenSS Vietnamese source for truyenss.com

Implements novel pages, hash-style chapter list, POST chapter loader
(/layout/xem-chuong.php), genre filters for popular listings, and
multi-pattern search. Includes saved HTML fixtures used for selectors.

* fix(truyenss): fetch chapter HTML via GET like the site

TruyenSS loads chapters with jQuery $.ajax, which defaults to GET.
POST to xem-chuong.php returns an empty body, causing empty chapter
errors in the app while WebView (GET + hash) still worked.

Bump plugin version to 1.0.1.

* fix(truyenss): address PR review — version 1.0.0, defaultCover, cleanup

Remove README note and truyenss HTML fixtures. Drop unused resolveUrl and
full-URL handling in parseNovel. Use defaultCover for listing items and when
novel page has no cover image.

* fix(truyenss): browse list covers — scrape thumbs, stable placeholder URL

LNReader applies plugin Referer headers to browse tiles; external blob
placeholders can fail. List layout omits defaultCover when cover is unset.
Prefer real listing images; use raw GitHub placeholder URL aligned with the app.

* fix(truyenss): resolve listing covers (.card sibling img, ../ URLs)

Genre/search cards put the thumbnail in col-2 beside the stretched link,
not inside the anchor. Image src uses ../user-upload/... which must be
resolved against the list page URL. Use the site no_avatar.jpg placeholder
so browse tiles load with the plugin Referer.

* fix(playground): readable novel summary + TruyenSS paragraph breaks

- Parse playground: normalize CR/LF and stray spaces; use whitespace-pre-line,
  max-w-prose, leading-7, break-words, explicit font-sans for robust wrapping
  when webfonts misbehave.
- TruyenSS: preserve <br>/<p> structure like novelfire (join with newlines)
  instead of collapsing the whole intro to one line.

* fix(proxy): avoid static zstd import so Vite starts on older Node

zstdDecompressSync is not exported from zlib on Node versions before it was
added. Importing it at load time broke vite.config (and the dev server)
with SyntaxError. Only call zstd at runtime when content-encoding is zstd
and throw a clear error if the runtime lacks support.

* fix(proxy): correct decompress error message for zstd

* Revert "fix(proxy): correct decompress error message for zstd"

This reverts commit ab5c4f0f6b0059589956693da534294a49500be0.

* Revert "fix(proxy): avoid static zstd import so Vite starts on older Node"

This reverts commit 58ddf6c6003fa3828a5a6627f77b4ea3aa3cfca4.

* fix(dev): proxy URL for https targets + disable auto-open by default

- Reconstruct target URL when the dev server path is /https://... (from
  window.fetch prefixing localhost); the old  + path form produced
  an invalid URL and broke all proxied plugin requests.
- Only open a browser when VITE_OPEN=true so missing xdg-open does not error.

* Revert "fix(dev): proxy URL for https targets + disable auto-open by default"

This reverts commit b0de564fca75e756ef11899e77038fc594f18f97.

* revert: drop out-of-scope parse-novel playground summary changes

Restore src/components/parse-novel.tsx to pre-093668b state; TruyenSS
summary parsing in the plugin is unchanged.

---------

Co-authored-by: Cursor Agent <cursoragent@cursor.com>
2026-05-19 00:20:59 +05:00
K1ngfish3r c199459feb feat: Add Cherry Mist Cafe (#2200) 2026-05-18 11:02:26 +05:00
K1ngfish3r 2396df38bb fix: linter issues 2026-05-18 10:39:07 +05:00
Jhoendry B. a95e32591f feat(skynovels): Add Filters, Pagination, and Fix Search (#2136)
* SkyNovels[ES] feat: add filters, pagination and resolve fix search

* SkyNovels[ES] Fix: minors correction

* SkyNovels[ES] Fix: minors correction

---------

Co-authored-by: JhoendryB <jhoendryblanco@htmail.com>
2026-04-22 09:00:28 +05:30
Jhoendry B. e4a964504f feat: Add Novelyra (#2105)
* add new plugin spanish Novelyra

* fix index.ts add novelyra

* [ES]Novelyra: refactor popular Novels and improve paragraph logic

* [ES]Novelyra: fix changed of type

---------

Co-authored-by: JhoendryB <jhoendryblanco@htmail.com>
2026-04-10 08:30:39 +05:30
ConstasJ 6e2e51f3dd fix: Bug Fixes and Feature Improvements to Linovelib Plugin (#1984)
* fix(linovelib): Searching not work

* ci: fix branch cannot be correctly identified in forked environment

* fix: BRANCH cannot be identified

* fix(linovelib): correctly get cover image in redirect case of searching

* fix: why we need a prefix slash here? remove it

* chore(linovelib): update linovelib plugin version

* fix: before LNReader puts its default UA to chrome, forcely set LNReader plugin's UA to Chrome's UA

* refactor: intgrates FetchInit into plugin

* feat: add chapter name transform

* feat(linovelib): add decryptor for shuffle scramble of original html

* feat(linovelib): use external server to extract shuffle coefficients

* fix(linovelib): extract author name more precisely

* fix(linovelib): set Referer header to bypass anti-leeching/hotlinking of image source

Also, use LocalStorage to store coefficients and chapter.js version

* refactor: delete FetchInit definition in this plugin

* fix(linovelib): replace localStorage with storage utility for better data management

* fix(linovelib): update storage import path to use the correct library

* feat(linovelib): Implement chapter number

* refactor(linovelib): as mobile site equipped with strong cloudflare challenge, move most of parsing logic to LDS server

* fix(linovelib): update API calls to use query parameters instead of POST requests for novel, chapter, and search endpoints

* fix(linovelib): add caching mechanism for novel and chapter parsing to reduce API calls

* refactor(linovelib): refactor server URL handling to use class property for API requests

* fix: apply changes pointed by review

* docs(linovelib): make some comments
2026-02-05 23:42:31 +05:30
Rajarshee Chatterjee 0064125421 refactor: Update Pagination Logic in Playground 2026-01-10 11:27:35 +05:30
Rajarshee Chatterjee 78d7a86f42 fix: Update Newer Imports to Older for Backward Compatibility
Closes #1866
2025-11-15 09:01:16 +05:30
Mousica e2d53b7832 fix: Quanben and Add Filters (#1877)
* fix quanben +added filters

* remove https://69shu.biz
2025-11-13 17:30:23 +05:30
Rajarshee Chatterjee 5ead3d1754 feat: Add Noice Translations and Update Traducciones Amistosas 2025-10-21 09:55:35 +05:30
Rajarshee Chatterjee eda3684b36 feat: Add Raw HTML Toggle and Support for Plugin Custom CSS/JS 2025-10-21 09:39:51 +05:30
Rajarshee Chatterjee 4c037967fe fix: Add Backward Compatibility for Storage Import 2025-10-20 23:33:05 +05:30
Rajarshee Chatterjee 20c2b75b01 refactor: Overhaul Plugin Architecture & Playground UI (#1846)
* refactor: Move Plugins Out and Consolidate with Multisrc

* feat: Overhaul Playground UI

* feat: Add Filters to New UI

* feat: Persist Selected Plugin

* feat: Add Direct Parse Novel/Chapter Options and Feedback Toasts

[skip ci]

* feat: UX Improvements

* chore: Update Plugin Path in Publish Workflow

* fix: Add Backward Compatibility

* chore: Update Plugin Publishing Script
2025-10-20 22:54:08 +05:30