subject-f / cubarimoe

GNU Affero General Public License v3.0
60 stars 17 forks source link

[Feature Request] Add support for localhost #24

Open erickyun opened 8 months ago

erickyun commented 8 months ago

Hi,

İf you could add support for cubari.moe to read json file from localhost that would be useful for users who host cubari.moe on home server and want to read their chapters from local pc offline.

I would appreciate if you could add this feature support for offline usage please?

Algoinde commented 8 months ago

The reader uses serverside fetching, so none of the proxies will be able to fetch localhost. You can, in theory, extract the reader JS and the HTML template that goes with it and replace the API paths in the code with either your locally served JSON or baked into the page via some sort of SSR.