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

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: plugin_jm_server-0.1.11.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.11.tar.gz
Algorithm Hash digest
SHA256 6f808f62a74fc7512304bd0a2fd2a29a1f6ec349dc69cdd5c750b8bfe327c8c9
MD5 89305685a640a5fd237b6bda172c3026
BLAKE2b-256 25654abbae827a774c8316ef8600562b675c391984502d1e381a918b10f0a7b4

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for plugin_jm_server-0.1.11-py3-none-any.whl
Algorithm Hash digest
SHA256 a457e3eaacd5c242cc5b84c403eabe426f694fd2bfd7d044d0118acd16990a7d
MD5 1895add7bd3a918b80c76f28b2caaaba
BLAKE2b-256 116e68f720ecda281d0258cbd010bca27dcfdd494d54588f2596665522555843

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