Skip to content

feat(ar/mknov): add مملكه الروايات plugin - #1

Merged
hamedhani1998 merged 3 commits into
masterfrom
feat/ar-mknov
Sep 13, 2026
Merged

hamedhani1998 merged 3 commits into
masterfrom
feat/ar-mknov

Conversation

@hamedhani1998

Copy link
Copy Markdown
Owner

Summary

Adds source plugin for مملكه الروايات (mknov.com), an Arabic web novel site.

What's included

  • New source plugin: plugins/arabic/mknov.ts
  • Plugin icon: public/static/src/ar/mknov/icon.png

Features

  • popularNovels (paginated /api/works)
  • parseNovel (volumes → chapters via /api/works/{id}/chapters)
  • parseChapter — decodes the site's font-cmap obfuscation (19 rotating cipher maps) and extracts Next.js RSC Flight payloads
  • searchNovels (client-side filter over the full work list)
  • resolveUrl

Verification

  • npm run lint — clean
  • npm run check:plugin -- plugins/arabic/mknov.ts — all live checks pass (popularNovels ✓, searchNovels ✓, parseNovel ✓, parseChapter ✓)

Add source plugin for mknov.com (مملكه الروايات), an Arabic novel site.

Features:
- popularNovels, parseNovel, parseChapter, searchNovels, resolveUrl
- Decodes the site's font-cmap obfuscation (19 rotating cipher maps)
- Handles Next.js RSC flight payload extraction for chapter content

Co-Authored-By: Claude Code <noreply@anthropic.com>
Yemen and others added 2 commits September 13, 2026 08:25
TypeScript downlevels [...content] to a __spreadArray helper that requires
a real array and throws "Cannot use 'in' operator" on strings during
parseChapter. Switch to Array.from which iterates strings safely.

Co-Authored-By: Claude Code <noreply@anthropic.com>
Co-Authored-By: Claude Code <noreply@anthropic.com>
@hamedhani1998
hamedhani1998 merged commit 5252c4f into master Sep 13, 2026
2 checks passed
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.

2 participants