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

Uploaded Source

Built Distribution

plugin_jm_server-0.1.10-py3-none-any.whl (7.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: plugin_jm_server-0.1.10.tar.gz
  • Upload date:
  • Size: 6.9 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.10.tar.gz
Algorithm Hash digest
SHA256 b5962e7e2cdb6e11771674f5dc526dc3cedac09c9237d7ddc90f328e59d913a4
MD5 5e3bbc1559facf58b63ac4c0bcc0c9a0
BLAKE2b-256 98023475495076ca9962531b255ad7bb1c2396ccadbd5e1d1fde6c27dd5c6707

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for plugin_jm_server-0.1.10-py3-none-any.whl
Algorithm Hash digest
SHA256 4459df8ab430bb8394b81e69095543d3b14946c08cb198b909fdbd78c871c19c
MD5 1a1c13f46a0edd62639b96fb18666c82
BLAKE2b-256 bdd9edacba0d495ea3a278e81fcc9855299648bc3ecf05dbab111203e4f5a3e0

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