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
```bash
$ pip3 install ReadEm
```
## Run
```bash
$ 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
- [GitHub Markdown CSS](https://github.com/sindresorhus/github-markdown-css)
- [Python Markdown](https://python-markdown.github.io/)
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
```bash
$ pip3 install ReadEm
```
## Run
```bash
$ 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
- [GitHub Markdown CSS](https://github.com/sindresorhus/github-markdown-css)
- [Python Markdown](https://python-markdown.github.io/)
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-0.1.5.tar.gz
(21.9 kB
view details)
Built Distribution
ReadEm-0.1.5-py3-none-any.whl
(10.0 kB
view details)
File details
Details for the file ReadEm-0.1.5.tar.gz
.
File metadata
- Download URL: ReadEm-0.1.5.tar.gz
- Upload date:
- Size: 21.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.19.1 setuptools/40.2.0 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/2.7.13
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 49bd4efc73187e0ad935cfe923a4d9fc365f038239222d04e030c27574d28d40 |
|
MD5 | 44545c4bc1430c7a2e503e9f2d3a89cb |
|
BLAKE2b-256 | e217a4b2283a8572d999936b694d745f4f8fa937ae17360a7004912bc1340ca8 |
File details
Details for the file ReadEm-0.1.5-py3-none-any.whl
.
File metadata
- Download URL: ReadEm-0.1.5-py3-none-any.whl
- Upload date:
- Size: 10.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.19.1 setuptools/40.2.0 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/2.7.13
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e847b331200442d49c75868c08929ee957dd52e3edaf6c82b1a1a77b5cc9d816 |
|
MD5 | e649f7d351fabe3f4292f4cde1afd217 |
|
BLAKE2b-256 | ca3b954be9c148fd89ca944d520f9f1e1d1133c171851d6bc8053a2d24359ec4 |