This is a utility to download images from various comic-reading sites for local use.
- Install NodeJS and Yarn (
npm i -g yarn
) yarn install
yarn dev
Many comic sites share the same readers, and the way they behave is mostly the same. If you want to add a source for which an already-existing resource handler can work:
- Assign the specific resource handler in
./utils/generic.ts
- Add the necessary hostnames in
./src/proxy.ts
If the source doesn't have a handler yet:
- Write a handler in
./src/resources/
(you can take a look at other implementations to see how it's done) - Follow the previous steps
To add a new background:
- Add the image in
./public/bg/
- Add its data in
./server/routes/background.ts