All Projects → ksmith97 → Gzipsimplehttpserver

ksmith97 / Gzipsimplehttpserver

Licence: mit
A modification of the very useful SimpleHTTPServer python script to add gzip compression.

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to Gzipsimplehttpserver

Historyanalyzer
A Python script to grab some tasty data from your Chrome's history and analyze it.
Stars: ✭ 17 (-67.31%)
Mutual labels:  python-script
Pyfiling
Python script that organizes files in a folder or directory according to file type/extension.
Stars: ✭ 12 (-76.92%)
Mutual labels:  python-script
Genius Lyrics Search
Python script for searching Genius.com API
Stars: ✭ 49 (-5.77%)
Mutual labels:  python-script
Django Compression Middleware
Django middleware to compress responses using several algorithms.
Stars: ✭ 23 (-55.77%)
Mutual labels:  gzip
Elasticsearchjsonld
Generate JSON-LD @contexts from ElasticSearch JSON Mappings
Stars: ✭ 7 (-86.54%)
Mutual labels:  python-script
Youtubetospotify
A Python script to fetch tracks of music channels on Youtube, find them on Spotify and add them to a playlist
Stars: ✭ 33 (-36.54%)
Mutual labels:  python-script
Instagram Profilecrawl
📝 quickly crawl the information (e.g. followers, tags etc...) of an instagram profile.
Stars: ✭ 816 (+1469.23%)
Mutual labels:  python-script
Aspnetcore Request Decompression
HTTP request decompression middleware for ASP.NET Core
Stars: ✭ 51 (-1.92%)
Mutual labels:  gzip
Captain
command line python scripts for humans
Stars: ✭ 10 (-80.77%)
Mutual labels:  python-script
Connect Gzip Static
connect middleware for statically compressed files
Stars: ✭ 39 (-25%)
Mutual labels:  gzip
Cti Stix Validator
OASIS TC Open Repository: Validator for STIX 2.0 JSON normative requirements and best practices
Stars: ✭ 24 (-53.85%)
Mutual labels:  python-script
Emspy
A collection of Python scripts to aide in mesoscale modelling using UEMS.
Stars: ✭ 7 (-86.54%)
Mutual labels:  python-script
Google Images Download
Python Script to download hundreds of images from 'Google Images'. It is a ready-to-run code!
Stars: ✭ 7,815 (+14928.85%)
Mutual labels:  python-script
Phpmyadmin sql backup
A Python script to automate SQL dumps via phpMyAdmin's web interface
Stars: ✭ 17 (-67.31%)
Mutual labels:  python-script
Cti Taxii Server
OASIS TC Open Repository: TAXII 2 Server Library Written in Python
Stars: ✭ 50 (-3.85%)
Mutual labels:  python-script
Useful Scripts
Useful scripts I wrote to make my life easier
Stars: ✭ 5 (-90.38%)
Mutual labels:  python-script
Pyarmor
A tool used to obfuscate python scripts, bind obfuscated scripts to fixed machine or expire obfuscated scripts.
Stars: ✭ 886 (+1603.85%)
Mutual labels:  python-script
Asciipy
translate images, videos and text to Ascii arts easy
Stars: ✭ 52 (+0%)
Mutual labels:  python-script
Protobuffer
A simple wrapper library for protobuf-net with async, gzip and less boilerplate.
Stars: ✭ 50 (-3.85%)
Mutual labels:  gzip
Express Security
nodejs + express security and performance boilerplate.
Stars: ✭ 37 (-28.85%)
Mutual labels:  gzip

GzipSimpleHTTPServer

Python 2.x

A simple modification of the very useful SimpleHTTPServer python script originally made to add gzip compression. It now supports gzip, zlib, and deflate with gzip as the implicit default.

Usage

Docker

Use latest from Docker Hub

Navigate to folder you want to share files from.

docker run -v $PWD:/tmp/share -p 8000:8000 ksmithorn97/gzip-http-file-server

Alternativly change $PWD to the folder you want to share.

Local Docker

docker-compose up

Automatically shares files in the share folder.

With Python 2.x

python GzipSimpleHTTPServer.py

This will start a localhost server on port 8000. You should see this in your terminal:

Serving HTTP on 0.0.0.0 port 8000 ...

To run on a different port use:

python GzipSimpleHTTPServer.py --port=8080

For more options run:

python GzipSimpleHTTPServer.py --help
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].