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

Uploaded Source

Built Distribution

plugin_jm_server-0.1.13-py3-none-any.whl (7.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: plugin_jm_server-0.1.13.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.13.tar.gz
Algorithm Hash digest
SHA256 bb936ff4488b2401733c0029fcfdd46a4e62849b6320124c6ffeb69580bc1f7d
MD5 1043eac244575de3555401f3094c610f
BLAKE2b-256 d7c625894fd5d8cdca5c904df0b5afd6248271f12d86b799840639e0de2ef9e5

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for plugin_jm_server-0.1.13-py3-none-any.whl
Algorithm Hash digest
SHA256 a982ae887bbb35840bc319a5edbfb4722b4efde73bf93c3e526f04dded27ce11
MD5 0665652fe8d502e12a567207a9f81afb
BLAKE2b-256 beb69c1b3b24e53d45f4b93272799f200ab00767a5c89319a497c621f8c69ecc

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