darkdown
A Python 3 http.server wrapper that supports ssl, basic auth, markdown rendering, and styling support for directory listings and markdown files.
Installation
python3 -m pip install darkdown
Manual Installation
git clone https://github.com/phx/darkdown
cd darkdown
python3 -m pip install -r requirements.txt
Usage
usage: darkdown [-h] [-p PORT] [-b ADDRESS] [--directory DIRECTORY] [-u USERNAME] [-P PASSWORD] [-c CERTFILE] [-k KEYFILE]
Secure Markdown HTTP server with GitHub-style rendering, authentication, and HTTPS support.
options:
-h, --help show this help message and exit
-p PORT, --port PORT Specify alternate port [default: 8000]
-b ADDRESS, --bind ADDRESS
Specify alternate bind address [default: all interfaces]
--directory DIRECTORY
Specify alternate directory [default: current directory]
-u USERNAME, --user USERNAME
Set a username for basic authentication
-P PASSWORD, --password PASSWORD
Set a password for basic authentication
-c CERTFILE, --cert CERTFILE
Path to the SSL certificate file (for HTTPS)
-k KEYFILE, --key KEYFILE
Path to the SSL key file (for HTTPS)
Metadata
Release files for darkdown 1.0.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| darkdown-1.0.4.tar.gz | 5.5 kB | Without provenance | Details for darkdown-1.0.4.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| darkdown-1.0.4-py3-none-any.whl | Python 3 | none | any | Details for darkdown-1.0.4-py3-none-any.whl |
Total release size: 11.3 kB
Release files / darkdown-1.0.4.tar.gz
| Download URL | darkdown-1.0.4.tar.gz |
|---|---|
| Size | 5.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b46dfa24294438027d3a3009fb787fda40bf5c9157f8cda132740f13be757f03
|
|
BLAKE2b-256 checksum How to use checksums |
bdc8bad716f7ba8743fee5bc4bd3282831c2db0ae5b15246a08833de77595267
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.11.5
|
Release files / darkdown-1.0.4-py3-none-any.whl
| Download URL | darkdown-1.0.4-py3-none-any.whl |
|---|---|
| Size | 5.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
159a51b0c7fb3a889d43f83c44b224975d4cc06d59ee3980b25171d2fdd1a95d
|
|
BLAKE2b-256 checksum How to use checksums |
306f4c64b3932946a9ef606ef2d57cc0475269b70efff29f00c5a761be7a89d1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.11.5
|
Security for darkdown 1.0.4
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.