plugin_jm_server, a plugin for jmcomic that can be used to view comics in a web browser.
Project description
plugin-jm-server
想法起源:https://github.com/hect0x7/JMComic-Crawler-Python/issues/192
基于原项目:https://github.com/AiCorein/Flask-Files-Server
为了方便修改,将原项目中的文件复制到本项目中,然后进行修改
使用方式
1. pip安装
pip install plugin_jm_server
2. 运行代码
- HTTP版
from plugin_jm_server import *
# http
server = JmServer(
'D:/',
'password',
)
server.run(
host='0.0.0.0',
port=80,
)
- HTTPS版
from plugin_jm_server import *
# https
server = JmServer(
'D:/',
'password',
)
server.run(
host='0.0.0.0',
port=443,
ssl_context='adhoc',
)
效果图(文件浏览、整章看图)
1. 电脑浏览器访问
2. 手机浏览器访问
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for plugin_jm_server-0.1.12-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2a18210459345aa0d458286f2592b009d9f2d1bd80f1831b01100d0c6cb44bdd |
|
MD5 | 47aa50705fe8511f779ea32ec091bb19 |
|
BLAKE2b-256 | 3ae245917975a93f3a7414247c3cc5f7f4f2601619d0b1bd0269e16ed1286021 |