Skip to main content

darkdown

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)

Source distribution for darkdown 1.0.4
File Size Uploaded
darkdown-1.0.4.tar.gz 5.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for darkdown 1.0.4
File Interpreter ABI Platform
darkdown-1.0.4-py3-none-any.whl Python 3 none any Details

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

Release history Release notifications | RSS feed

This release

1.0.4 This release

2 release files

1.0.3

2 release files

1.0.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page