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

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: plugin_jm_server-0.1.12.tar.gz
  • Upload date:
  • Size: 7.0 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.12.tar.gz
Algorithm Hash digest
SHA256 961368ba5f2c579e0db2342b8b46e12cde7b0721dae8ee7eeeafcac9f331bb7f
MD5 5f319f7f221e15fc55304076e09b20c4
BLAKE2b-256 55a44f911fc0718f5ce3a5b82f2869ad97501e28236d7c1c415db112b094ab82

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for plugin_jm_server-0.1.12-py3-none-any.whl
Algorithm Hash digest
SHA256 2a18210459345aa0d458286f2592b009d9f2d1bd80f1831b01100d0c6cb44bdd
MD5 47aa50705fe8511f779ea32ec091bb19
BLAKE2b-256 3ae245917975a93f3a7414247c3cc5f7f4f2601619d0b1bd0269e16ed1286021

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