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
plugin_jm_server-0.1.16.tar.gz
(792.1 kB
view hashes)
Built Distribution
Close
Hashes for plugin_jm_server-0.1.16-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 110502699eeb6ec24b3d8ab059cbc7c0ff1f539b172fb1c9bb246115822d7531 |
|
MD5 | a88e929fb61531379800377c7ab261f0 |
|
BLAKE2b-256 | 8cc35da4d99b8ec6f9bb23f3dd8e322976a45b07a42d5f09df6a6111c50ae0b0 |