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

Uploaded Source

Built Distribution

plugin_jm_server-0.1.16-py3-none-any.whl (803.7 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for plugin_jm_server-0.1.16.tar.gz
Algorithm Hash digest
SHA256 468154dcc9791c6df633a019e05fbe23a3413330d43dd07887e672fa37a7f954
MD5 be7b194306486f97badc7f9b3a123a70
BLAKE2b-256 79dde3e7cfe31d22f2210da8f744ce8c4a0002005605a4bf76ccca9e1273a8c7

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for plugin_jm_server-0.1.16-py3-none-any.whl
Algorithm Hash digest
SHA256 110502699eeb6ec24b3d8ab059cbc7c0ff1f539b172fb1c9bb246115822d7531
MD5 a88e929fb61531379800377c7ab261f0
BLAKE2b-256 8cc35da4d99b8ec6f9bb23f3dd8e322976a45b07a42d5f09df6a6111c50ae0b0

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