All Projects → rhardih → Serve

rhardih / Serve

Licence: mit
Simple http server for localhost development with a flags for enabling gzip and http2

Programming Languages

go
31211 projects - #10 most used programming language
golang
3204 projects

Projects that are alternatives of or similar to Serve

Https Localhost
HTTPS server running on localhost
Stars: ✭ 122 (+31.18%)
Mutual labels:  http2, https, localhost
Nginxconfig.io
⚙️ NGINX config generator on steroids 💉
Stars: ✭ 14,983 (+16010.75%)
Mutual labels:  http2, https, gzip
restler
Restler is a beautiful and powerful Android app for quickly testing REST API anywhere and anytime.
Stars: ✭ 120 (+29.03%)
Mutual labels:  gzip, https, http2
Farwest
Framework for building RESTful HATEOAS-driven applications.
Stars: ✭ 18 (-80.65%)
Mutual labels:  http2, https
Gun
HTTP/1.1, HTTP/2 and Websocket client for Erlang/OTP.
Stars: ✭ 710 (+663.44%)
Mutual labels:  http2, https
Symfony Docker
A Docker-based installer and runtime for Symfony. Install: download and `docker-compose up`.
Stars: ✭ 732 (+687.1%)
Mutual labels:  http2, https
Echo
High performance, minimalist Go web framework
Stars: ✭ 21,297 (+22800%)
Mutual labels:  http2, https
Mkcert
A simple zero-config tool to make locally trusted development certificates with any names you'd like.
Stars: ✭ 33,022 (+35407.53%)
Mutual labels:  https, localhost
Golang Tls
Simple Golang HTTPS/TLS Examples
Stars: ✭ 857 (+821.51%)
Mutual labels:  http2, https
Pric
Simple zero-config tool to create Private Certificate Authority & issue locally-trusted development server certificates with any domain names you'd like. SSL certificates for development purposes.
Stars: ✭ 87 (-6.45%)
Mutual labels:  https, localhost
Piaf
Client library for HTTP/1.X / HTTP/2 written entirely in OCaml.
Stars: ✭ 86 (-7.53%)
Mutual labels:  http2, https
Fast Android Networking
🚀 A Complete Fast Android Networking Library that also supports HTTP/2 🚀
Stars: ✭ 5,346 (+5648.39%)
Mutual labels:  http2, https
Blinksocks
A framework for building composable proxy protocol stack.
Stars: ✭ 587 (+531.18%)
Mutual labels:  http2, https
Cowboy
Small, fast, modern HTTP server for Erlang/OTP.
Stars: ✭ 6,533 (+6924.73%)
Mutual labels:  http2, https
Localdots
HTTPS domains for localhost. 🏠
Stars: ✭ 486 (+422.58%)
Mutual labels:  https, localhost
Shgf
Simple HTTP golang framework
Stars: ✭ 13 (-86.02%)
Mutual labels:  http2, https
Express Security
nodejs + express security and performance boilerplate.
Stars: ✭ 37 (-60.22%)
Mutual labels:  http2, gzip
Katwebx
An extremely fast static web server and reverse proxy for the modern web.
Stars: ✭ 39 (-58.06%)
Mutual labels:  http2, https
Okurl
OkHttp Kotlin command line
Stars: ✭ 77 (-17.2%)
Mutual labels:  http2, https
Kurly
kurly is an alternative to the widely popular curl program, written in Golang.
Stars: ✭ 319 (+243.01%)
Mutual labels:  http2, https

serve

Simple http server for localhost development.

It's like python -m SimpleHTTPServer, but with support for gzip and HTTP/2.

Installation

go get github.com/rhardih/serve

Usage

If $GOPATH/bin is in your $PATH, simply:

$ serve -h
NAME:
   serve - deliver content of current directory via http/https

USAGE:
   serve [global options] command [command options] [arguments...]

VERSION:
   1.1.0

COMMANDS:
   help, h  Shows a list of commands or help for one command

GLOBAL OPTIONS:
   --gzip, -g              enable gzip encoding (default: false)
   --port value, -p value  specify port for listening (default: 8080)
   --logging, -l           enable logging output (default: false)
   --http2, -2             enable http2, this generates a self signed
                           certificate, if one isn't already present; cert.pem,
                           key.pem (default: false)
   --help, -h              show help (default: false)
   --version, -v           print the version (default: false)

Note

Code for generating self-signed certificate for HTTP/2 was taken from example code in src/crypto/tls/generate_cert.go, available at https://golang.org/src/crypto/tls/generate_cert.go.

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].