webserv v2.0.0
Webserv
Webserv aims to be the fastest way to deploy server for development. It comes fully loaded with standard definitions for basic web patterns. Serve a directory, start a proxy, create a CRUD server, a basic upload, or just log connections instantly from the command line.
Quick Start
Use webserv instantly with npx
npx webserv -t logCommand Line
Webserv allows you to quickly start a fully fledged development server from the command line without editing a single file.
webserv -m https -t file ./_dist -p 9999-f: serves this folder
webserv -f ./dist-m, --mode: use http or https (defaults to http)
webserv -m https-l: log all requests to the console
webserv -l-p, --port: sets the port to use (defaults to 8888)
webserv -p 8000-t {crud, file, log, proxy, upload} options: start a predefined server type
Create a basic CRUD server
webserv -t crudCreate a proxy server
webserv -t proxy http://devpaul.comCreate a file browser (same as -f)
webserv -t file ./distCreate an upload server
webserv -t upload ./filesCreate a log server
A log server logs all request to the console and returns 200
webserv -t logProgrammatic API
Webserv offers a fully-typed programmatic API. See ./examples/hello and ./src/webserv/bin/webserv.ts.
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago