Giter VIP home page Giter VIP logo

kindle-reader-web-cli's Introduction

安装

从代码运行

pip install -r requirements.txt
start.bat

环境

Python 3.11.2
OPENJDK 17+
请使用管理员/root身份运行本程序

kindle端: (native) http://IP:5000 or (nginx)http://IP:1000

web端: (native)http://IP:8080 or (nginx)http://IP:1000/reader

点击标题

在render运行

render中部署:

  1. 注册后选择新建Web Service

    image

  2. 翻到下面的Public Git repository,填入https://github.com/Suto-Commune/Kindle-Reader-Web-CLI/,然后点击继续

    image

  3. 填入名称(想填什么填什么)

    image

  4. 选择节点

    image

  5. 拉到Environment选择Docker

    image

  6. 点击`Create Web Service'

    image

  7. 点击Environment,点击Add Environment Variable

  8. 密钥填写PORT,value填写80,填写完毕点击保存更改

    image

  9. 拉到最上面,下图中框选的地方就是部署的地址,访问即可

    image

说明:

http://你的地址/reader #reader服务端的地址
http://你的地址/ #kindle客户端地址

注意!第一次进入reader服务端的地址可能会报错,请把 //你的地址/reader3 改为 //你的地址/reader/reader3

在下图中红色框选的位置设置

image

配置

配置文件在head/config下!!!

示例

port = None
DEBUG = False
url = "http://127.0.0.1:8080/reader3/"

AUTO_BACKUP = False  # 自动备份到GIT
AUTO_BACKUP_TIME = 3600  # 自动备份间隔时间
CLONE_MODE = False  # 初次启动恢复上次备份
github_name = "Github_Username"
github_repo = "Github_repo_name"
github_token = "Github_Token_AES"  # 访问/aes/<github_token>获取
AES_KEY = "1234567890"  # AES密钥

# 系统环境变量
br = '<div class="wb"></div>'
read_mode = 0

               =========                  
            ===============               
           =================              
          ===  ==============             
          ===================             
                   ==========             
   ========================== =======     
 ============================ ========    
============================= =========   
============================ ==========   
========================== ============   
============ ==========================   
========== ============================
========= =============================
 ======== ============================
  ======= ==========================
          ==========
          ===================
          ==============  ===
           =================
            ===============
               =========

kindle-reader-web-cli's People

Contributors

ddsrem avatar hsn8086 avatar natsumixd avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.