├── .github └── workflows │ └── nodejs.yml ├── .gitignore ├── .mocharc.json ├── .prettierrc ├── README.md ├── nodemon.json ├── package.json ├── src ├── Book.ts ├── Config.test.ts ├── Config.ts ├── Http │ ├── Client.ts │ ├── ClientWithRetries.ts │ ├── ClientWithThrottle.ts │ ├── Exceptions │ │ ├── ForbiddenHttpException.ts │ │ ├── HttpException.ts │ │ └── Non2xxHttpException.ts │ ├── IContentAuth.ts │ ├── IContentCheckResponse.ts │ ├── IHttpClient.ts │ ├── IHttpRequest.ts │ └── Requests │ │ ├── AuthorizeViewer.ts │ │ ├── BookConfig.ts │ │ ├── ContentCheck.ts │ │ ├── Login.ts │ │ ├── PutBookmark.ts │ │ └── StartSession.ts ├── Image.test.ts ├── Image.ts ├── Page.test.ts ├── Page.ts ├── __fixtures__ │ ├── configuration_pack-001-decoded.json │ ├── configuration_pack-001-encoded.json │ ├── configuration_pack-002-decoded.json │ ├── configuration_pack-002-encoded.json │ ├── image-001-decoded.png │ └── image-001-encoded.png ├── arraySwap.ts ├── exists.ts ├── exported │ ├── A2F.test.ts │ ├── A2F.ts │ ├── A3b.test.ts │ ├── A3b.ts │ ├── A6I.test.ts │ ├── A6I.ts │ ├── A6e.test.ts │ ├── A6e.ts │ ├── A7L.test.ts │ ├── A7L.ts │ ├── A8f.ts │ ├── A8j.test.ts │ ├── A8j.ts │ ├── A9p.test.ts │ ├── A9p.ts │ ├── B0L.test.ts │ ├── B0L.ts │ ├── B0p.test.ts │ ├── B0p.ts │ ├── B2y.test.ts │ ├── B2y.ts │ ├── __fixtures__ │ │ ├── A9p-001.json │ │ ├── a0F-001.json │ │ ├── a0F-002.json │ │ ├── a0g-001.json │ │ └── example1.json │ ├── a0F.test.ts │ ├── a0F.ts │ ├── a0g.test.ts │ ├── a0g.ts │ ├── a3f.ts │ ├── b8g.test.ts │ ├── b8g.ts │ ├── index.ts │ ├── processContentStep.ts │ ├── processFilename.test.ts │ ├── processFilename.ts │ ├── tB0l.test.ts │ └── tB0l.ts └── index.ts ├── start.bat ├── storage └── .gitignore ├── tsconfig.json └── tslint.json /.github/workflows/nodejs.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aaa4xu/bookworm/HEAD/.github/workflows/nodejs.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aaa4xu/bookworm/HEAD/.gitignore -------------------------------------------------------------------------------- /.mocharc.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aaa4xu/bookworm/HEAD/.mocharc.json -------------------------------------------------------------------------------- /.prettierrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aaa4xu/bookworm/HEAD/.prettierrc -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aaa4xu/bookworm/HEAD/README.md -------------------------------------------------------------------------------- /nodemon.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aaa4xu/bookworm/HEAD/nodemon.json -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aaa4xu/bookworm/HEAD/package.json -------------------------------------------------------------------------------- /src/Book.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aaa4xu/bookworm/HEAD/src/Book.ts -------------------------------------------------------------------------------- /src/Config.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aaa4xu/bookworm/HEAD/src/Config.test.ts -------------------------------------------------------------------------------- /src/Config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aaa4xu/bookworm/HEAD/src/Config.ts -------------------------------------------------------------------------------- /src/Http/Client.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aaa4xu/bookworm/HEAD/src/Http/Client.ts -------------------------------------------------------------------------------- /src/Http/ClientWithRetries.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aaa4xu/bookworm/HEAD/src/Http/ClientWithRetries.ts -------------------------------------------------------------------------------- /src/Http/ClientWithThrottle.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aaa4xu/bookworm/HEAD/src/Http/ClientWithThrottle.ts -------------------------------------------------------------------------------- /src/Http/Exceptions/ForbiddenHttpException.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aaa4xu/bookworm/HEAD/src/Http/Exceptions/ForbiddenHttpException.ts -------------------------------------------------------------------------------- /src/Http/Exceptions/HttpException.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aaa4xu/bookworm/HEAD/src/Http/Exceptions/HttpException.ts -------------------------------------------------------------------------------- /src/Http/Exceptions/Non2xxHttpException.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aaa4xu/bookworm/HEAD/src/Http/Exceptions/Non2xxHttpException.ts -------------------------------------------------------------------------------- /src/Http/IContentAuth.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aaa4xu/bookworm/HEAD/src/Http/IContentAuth.ts -------------------------------------------------------------------------------- /src/Http/IContentCheckResponse.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aaa4xu/bookworm/HEAD/src/Http/IContentCheckResponse.ts -------------------------------------------------------------------------------- /src/Http/IHttpClient.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aaa4xu/bookworm/HEAD/src/Http/IHttpClient.ts -------------------------------------------------------------------------------- /src/Http/IHttpRequest.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aaa4xu/bookworm/HEAD/src/Http/IHttpRequest.ts -------------------------------------------------------------------------------- /src/Http/Requests/AuthorizeViewer.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aaa4xu/bookworm/HEAD/src/Http/Requests/AuthorizeViewer.ts -------------------------------------------------------------------------------- /src/Http/Requests/BookConfig.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aaa4xu/bookworm/HEAD/src/Http/Requests/BookConfig.ts -------------------------------------------------------------------------------- /src/Http/Requests/ContentCheck.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aaa4xu/bookworm/HEAD/src/Http/Requests/ContentCheck.ts -------------------------------------------------------------------------------- /src/Http/Requests/Login.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aaa4xu/bookworm/HEAD/src/Http/Requests/Login.ts -------------------------------------------------------------------------------- /src/Http/Requests/PutBookmark.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aaa4xu/bookworm/HEAD/src/Http/Requests/PutBookmark.ts -------------------------------------------------------------------------------- /src/Http/Requests/StartSession.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aaa4xu/bookworm/HEAD/src/Http/Requests/StartSession.ts -------------------------------------------------------------------------------- /src/Image.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aaa4xu/bookworm/HEAD/src/Image.test.ts -------------------------------------------------------------------------------- /src/Image.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aaa4xu/bookworm/HEAD/src/Image.ts -------------------------------------------------------------------------------- /src/Page.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aaa4xu/bookworm/HEAD/src/Page.test.ts -------------------------------------------------------------------------------- /src/Page.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aaa4xu/bookworm/HEAD/src/Page.ts -------------------------------------------------------------------------------- /src/__fixtures__/configuration_pack-001-decoded.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aaa4xu/bookworm/HEAD/src/__fixtures__/configuration_pack-001-decoded.json -------------------------------------------------------------------------------- /src/__fixtures__/configuration_pack-001-encoded.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aaa4xu/bookworm/HEAD/src/__fixtures__/configuration_pack-001-encoded.json -------------------------------------------------------------------------------- /src/__fixtures__/configuration_pack-002-decoded.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aaa4xu/bookworm/HEAD/src/__fixtures__/configuration_pack-002-decoded.json -------------------------------------------------------------------------------- /src/__fixtures__/configuration_pack-002-encoded.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aaa4xu/bookworm/HEAD/src/__fixtures__/configuration_pack-002-encoded.json -------------------------------------------------------------------------------- /src/__fixtures__/image-001-decoded.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aaa4xu/bookworm/HEAD/src/__fixtures__/image-001-decoded.png -------------------------------------------------------------------------------- /src/__fixtures__/image-001-encoded.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aaa4xu/bookworm/HEAD/src/__fixtures__/image-001-encoded.png -------------------------------------------------------------------------------- /src/arraySwap.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aaa4xu/bookworm/HEAD/src/arraySwap.ts -------------------------------------------------------------------------------- /src/exists.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aaa4xu/bookworm/HEAD/src/exists.ts -------------------------------------------------------------------------------- /src/exported/A2F.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aaa4xu/bookworm/HEAD/src/exported/A2F.test.ts -------------------------------------------------------------------------------- /src/exported/A2F.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aaa4xu/bookworm/HEAD/src/exported/A2F.ts -------------------------------------------------------------------------------- /src/exported/A3b.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aaa4xu/bookworm/HEAD/src/exported/A3b.test.ts -------------------------------------------------------------------------------- /src/exported/A3b.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aaa4xu/bookworm/HEAD/src/exported/A3b.ts -------------------------------------------------------------------------------- /src/exported/A6I.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aaa4xu/bookworm/HEAD/src/exported/A6I.test.ts -------------------------------------------------------------------------------- /src/exported/A6I.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aaa4xu/bookworm/HEAD/src/exported/A6I.ts -------------------------------------------------------------------------------- /src/exported/A6e.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aaa4xu/bookworm/HEAD/src/exported/A6e.test.ts -------------------------------------------------------------------------------- /src/exported/A6e.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aaa4xu/bookworm/HEAD/src/exported/A6e.ts -------------------------------------------------------------------------------- /src/exported/A7L.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aaa4xu/bookworm/HEAD/src/exported/A7L.test.ts -------------------------------------------------------------------------------- /src/exported/A7L.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aaa4xu/bookworm/HEAD/src/exported/A7L.ts -------------------------------------------------------------------------------- /src/exported/A8f.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aaa4xu/bookworm/HEAD/src/exported/A8f.ts -------------------------------------------------------------------------------- /src/exported/A8j.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aaa4xu/bookworm/HEAD/src/exported/A8j.test.ts -------------------------------------------------------------------------------- /src/exported/A8j.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aaa4xu/bookworm/HEAD/src/exported/A8j.ts -------------------------------------------------------------------------------- /src/exported/A9p.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aaa4xu/bookworm/HEAD/src/exported/A9p.test.ts -------------------------------------------------------------------------------- /src/exported/A9p.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aaa4xu/bookworm/HEAD/src/exported/A9p.ts -------------------------------------------------------------------------------- /src/exported/B0L.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aaa4xu/bookworm/HEAD/src/exported/B0L.test.ts -------------------------------------------------------------------------------- /src/exported/B0L.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aaa4xu/bookworm/HEAD/src/exported/B0L.ts -------------------------------------------------------------------------------- /src/exported/B0p.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aaa4xu/bookworm/HEAD/src/exported/B0p.test.ts -------------------------------------------------------------------------------- /src/exported/B0p.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aaa4xu/bookworm/HEAD/src/exported/B0p.ts -------------------------------------------------------------------------------- /src/exported/B2y.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aaa4xu/bookworm/HEAD/src/exported/B2y.test.ts -------------------------------------------------------------------------------- /src/exported/B2y.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aaa4xu/bookworm/HEAD/src/exported/B2y.ts -------------------------------------------------------------------------------- /src/exported/__fixtures__/A9p-001.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aaa4xu/bookworm/HEAD/src/exported/__fixtures__/A9p-001.json -------------------------------------------------------------------------------- /src/exported/__fixtures__/a0F-001.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aaa4xu/bookworm/HEAD/src/exported/__fixtures__/a0F-001.json -------------------------------------------------------------------------------- /src/exported/__fixtures__/a0F-002.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aaa4xu/bookworm/HEAD/src/exported/__fixtures__/a0F-002.json -------------------------------------------------------------------------------- /src/exported/__fixtures__/a0g-001.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aaa4xu/bookworm/HEAD/src/exported/__fixtures__/a0g-001.json -------------------------------------------------------------------------------- /src/exported/__fixtures__/example1.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aaa4xu/bookworm/HEAD/src/exported/__fixtures__/example1.json -------------------------------------------------------------------------------- /src/exported/a0F.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aaa4xu/bookworm/HEAD/src/exported/a0F.test.ts -------------------------------------------------------------------------------- /src/exported/a0F.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aaa4xu/bookworm/HEAD/src/exported/a0F.ts -------------------------------------------------------------------------------- /src/exported/a0g.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aaa4xu/bookworm/HEAD/src/exported/a0g.test.ts -------------------------------------------------------------------------------- /src/exported/a0g.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aaa4xu/bookworm/HEAD/src/exported/a0g.ts -------------------------------------------------------------------------------- /src/exported/a3f.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aaa4xu/bookworm/HEAD/src/exported/a3f.ts -------------------------------------------------------------------------------- /src/exported/b8g.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aaa4xu/bookworm/HEAD/src/exported/b8g.test.ts -------------------------------------------------------------------------------- /src/exported/b8g.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aaa4xu/bookworm/HEAD/src/exported/b8g.ts -------------------------------------------------------------------------------- /src/exported/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aaa4xu/bookworm/HEAD/src/exported/index.ts -------------------------------------------------------------------------------- /src/exported/processContentStep.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aaa4xu/bookworm/HEAD/src/exported/processContentStep.ts -------------------------------------------------------------------------------- /src/exported/processFilename.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aaa4xu/bookworm/HEAD/src/exported/processFilename.test.ts -------------------------------------------------------------------------------- /src/exported/processFilename.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aaa4xu/bookworm/HEAD/src/exported/processFilename.ts -------------------------------------------------------------------------------- /src/exported/tB0l.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aaa4xu/bookworm/HEAD/src/exported/tB0l.test.ts -------------------------------------------------------------------------------- /src/exported/tB0l.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aaa4xu/bookworm/HEAD/src/exported/tB0l.ts -------------------------------------------------------------------------------- /src/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aaa4xu/bookworm/HEAD/src/index.ts -------------------------------------------------------------------------------- /start.bat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aaa4xu/bookworm/HEAD/start.bat -------------------------------------------------------------------------------- /storage/.gitignore: -------------------------------------------------------------------------------- 1 | * 2 | !.gitignore 3 | -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aaa4xu/bookworm/HEAD/tsconfig.json -------------------------------------------------------------------------------- /tslint.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aaa4xu/bookworm/HEAD/tslint.json --------------------------------------------------------------------------------