Node HTTP server exposing the helper-compatible REST contract.
NyoraServer lets the JS SDK act as a Nyora helper. It serves the same
camelCase REST endpoints the JVM helper (and the Python NyoraServer) expose
— /health, /sources, /sources/popular//latest//search,
/manga/details, /manga/pages — but backs them with an embedded
ParserRuntime. On start it can write the discovered port to the
standard helper port file, so other Nyora apps and clients can attach
automatically.
Requests are serialized onto the single jsdom-backed runtime via a promise
chain, and every error is returned as clean JSON rather than a 500 stack
trace.
Node HTTP server exposing the helper-compatible REST contract.
NyoraServer lets the JS SDK act as a Nyora helper. It serves the same camelCase REST endpoints the JVM helper (and the Python
NyoraServer) expose —/health,/sources,/sources/popular//latest//search,/manga/details,/manga/pages— but backs them with an embedded ParserRuntime. On start it can write the discovered port to the standard helper port file, so other Nyora apps and clients can attach automatically.Requests are serialized onto the single jsdom-backed runtime via a promise chain, and every error is returned as clean JSON rather than a 500 stack trace.