项目作者: kaiser-chris

项目描述 :
This application proxies different web novel pages and renders them in a Kindle friendly web page.
高级语言: Java
项目地址: git://github.com/kaiser-chris/kindle-proxy.git
创建时间: 2021-07-24T01:27:50Z
项目社区:https://github.com/kaiser-chris/kindle-proxy

开源协议:

下载


Kindle Proxy

This application proxies different web novel pages and renders them in a Kindle friendly web page.
It is meant to be used in the Kindle Web browser.

Supported Pages

Tested Devices

These devices below have been tested. If you want to add a device you have tested please create an issue.

  • Kindle Paperwhite 2
  • Kindle Paperwhite (11th generation)

Here is a guide to identify which kindle you own: https://www.androidauthority.com/which-kindle-model-do-i-have-1073996/

Running it yourself

To run the Kindle Proxy it is recommended to use the provided docker images.
Images are currently published to the GitHub package registry.

Environment Variables

These variables can be set to configure your setup.

Variable Default Value Description
ROYAL_ROAD_PROFILE Empty Set this to your Royal Road public profile id (can be found in the url) to show only your favorite items in the book overview. When it is left blank only the ‘Best Rated’ books are listed since Royal Road has too much content to list everything.
SETTINGS_DEFAULT_FONT Literata Set this to overwrite the default font. This value needs to be part of the font list.
SETTINGS_FONT_LIST Literata, Roboto, Merriweather, Open Sans Set this to overwrite the default list of selectable fonts.
SETTINGS_DEFAULT_FONT_SIZE 24 Set this to overwrite the default font size. This value needs to be part of the font size scale. This is an integer value in Pixel.
SETTINGS_FONT_SIZE_SCALE 12, 16, 20, 24, 28, 32, 36, 40, 44, 48 Set this to overwrite the default font size scale in the settings. Needs to be exactly 10 integer entries split by commas (,).
SETTINGS_DEFAULT_SHOW_FOOTER true Set this to overwrite the default footer rendering behaviour. The footer contains the chapter name as well as the location inside a chapter (Page). This is a boolean.

Examples

Below are a few simple examples to run the service using docker.

docker compose

  1. version: "3.9"
  2. services:
  3. kindle-proxy:
  4. image: ghcr.io/kaiser-chris/kindle-proxy:latest
  5. ports:
  6. - 80:80

docker run

  1. docker run -d -p 80:80 ghcr.io/kaiser-chris/kindle-proxy:latest

Screenshots

Home Page Chapter list Settings page
Home page Chapter list page Settings page
Content page Content page with menu open
Content page Content page with menu open

Attribution

In development of this application multiple assets by other people and groups have been used.

Their authors and licences can be found on the Attribution Page.