Python HTTP Server for markdown files.
Project description
ReadEm: HTTP server for markdown files
Useful for:
- Previewing markdown files at ease, for your repository or anything.
- Markdown files on current directory is shown on navbar.
Installation
$ 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 http://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 -
Then open 127.0.0.1:8000 on your browser.
Credit
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
ReadEm-1.0.2.tar.gz
(22.8 kB
view details)
Built Distribution
ReadEm-1.0.2-py3-none-any.whl
(22.5 kB
view details)
File details
Details for the file ReadEm-1.0.2.tar.gz
.
File metadata
- Download URL: ReadEm-1.0.2.tar.gz
- Upload date:
- Size: 22.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | bb377365bd1eab0bb1177f794ef13bf13594b08a6d7b05bacaece19dea46c1c0 |
|
MD5 | f88f15cf67d802d2069fcfa3d8bd367e |
|
BLAKE2b-256 | 3d44e4b6a83194a761dd1b766c0265ebe4b03ca4393b4073dbc80bb3037546a6 |
File details
Details for the file ReadEm-1.0.2-py3-none-any.whl
.
File metadata
- Download URL: ReadEm-1.0.2-py3-none-any.whl
- Upload date:
- Size: 22.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 08fbc69e879378b331df0411f14c7735023341eb0f3113ddcf7d3ab45e3e672e |
|
MD5 | f824e9d78dcf9bf495508dc32c31484e |
|
BLAKE2b-256 | 5099f773d776f920d451e0b23a190be0ace8a6b03e4bb15c802fedc13ce81787 |