Skip to content

evgenii-d/basic-python-http-server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Basic Python HTTP Server (BPHS)

Command-line static HTTP server build upon Python HTTPServer from standard library.

No additional dependencies required.

Installation

One-file bundled executable can be downloaded from the Releases section.

Tested on Windows 10/11, Ubuntu 22.04.

Usage

bphs [-h] [-p PORT] [-d PATH] [-l] [--cors]

-h, --help            show help message and exit
-p PORT, --port PORT  port to use [8080]
-d PATH, --dir PATH   directory to serve [current directory]
-l, --listing         enable directory listing
--cors                enable CORS headers

About

Command-line static HTTP server

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy