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.15.tar.gz
(11.5 kB
view details)
Built Distribution
File details
Details for the file plugin_jm_server-0.1.15.tar.gz
.
File metadata
- Download URL: plugin_jm_server-0.1.15.tar.gz
- Upload date:
- Size: 11.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.8
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ad6b6fe9e1f46f25464167d959be086b5ab0d7ee4169859f73e3c9b9cf8edf28 |
|
MD5 | 9e7cef18f79a9318845cb56e768869e5 |
|
BLAKE2b-256 | fa1a499ee0331e6f51fe1f0b1943425d63f944454c4e47637b8c72f9e408e4a7 |
File details
Details for the file plugin_jm_server-0.1.15-py3-none-any.whl
.
File metadata
- Download URL: plugin_jm_server-0.1.15-py3-none-any.whl
- Upload date:
- Size: 18.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.8
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 52c31362e799574aa9124ca5b64c93ff97d6a1e4e97929f13b6b879658631b91 |
|
MD5 | 08cfe12b6f65295ba2b361655b1aeef0 |
|
BLAKE2b-256 | 6ded9a68e3b6c93683eba98a92a585f9343fb1dd83837b5f2f8e4355144cb1c3 |