Skip to main content

Python HTTP Server special for markdown.

Project description

ReadEm: HTTP server for markdown files

Useful for:

  • Previewing markdown files at ease
  • Will be useful for cloned github wiki, cloned repository or any markdown files.
  • Markdown files on current directory is shown on navbar

Instalation

$ pip3 install ReadEm

Run

$ python3 -m ReadEm.serve -h
usage: serve.py [-h] [--bind ADDRESS] [port]

positional arguments:
  port                  Specify alternate port [default: 8000]

optional arguments:
  -h, --help            show this help message and exit
  --bind ADDRESS, -b ADDRESS
                        Specify alternate bind address [default: 127.0.0.1]

$ python3 -m ReadEm.serve
Listening on 127.0.0.1:8000
Press CTRL+c to stop
127.0.0.1 - - [22/Dec/2017 14:24:40] "GET / HTTP/1.1" 200 -
127.0.0.1 - - [22/Dec/2017 14:45:17] "GET /README.md HTTP/1.1" 200 -
127.0.0.1 - - [08/Jun/2018 01:40:21] "GET /README.md HTTP/1.1" 200 -

Credit

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

ReadEm-0.1.6.tar.gz (22.2 kB view hashes)

Uploaded Source

Built Distribution

ReadEm-0.1.6-py3-none-any.whl (22.3 kB view hashes)

Uploaded Python 3

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