Skip to main content

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


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.14.tar.gz (7.1 kB view details)

Uploaded Source

Built Distribution

plugin_jm_server-0.1.14-py3-none-any.whl (7.2 kB view details)

Uploaded Python 3

File details

Details for the file plugin_jm_server-0.1.14.tar.gz.

File metadata

  • Download URL: plugin_jm_server-0.1.14.tar.gz
  • Upload date:
  • Size: 7.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.7

File hashes

Hashes for plugin_jm_server-0.1.14.tar.gz
Algorithm Hash digest
SHA256 80bbb5a2b67f0a849dc7e52da67bec2ac7cac4bcc813d3ca5d3dd31aab65a72a
MD5 61c42d5f693ab9b2da80ea37a1362b84
BLAKE2b-256 45086bc4fb38c725113b4cba17c7c9fe8d238e6033a83f02f5142111b65de2d3

See more details on using hashes here.

File details

Details for the file plugin_jm_server-0.1.14-py3-none-any.whl.

File metadata

File hashes

Hashes for plugin_jm_server-0.1.14-py3-none-any.whl
Algorithm Hash digest
SHA256 c7b67e856c6326e7c41f3c0f575b1d4fcf0d876f32113127616a8747b8a50eb7
MD5 59459962818b98cae323ea0d1809bb05
BLAKE2b-256 b64995a48dea34d71e9a728d58c929601dbce6e670b8b7b1c9df1df72eaa9dc0

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page