Skip to content
/ zws Public

Serve and Open (the browser). A zero-dependency development webserver shipping with a single Java file. No compilation, no installation required.

License

Notifications You must be signed in to change notification settings

AdamBien/zws

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Zero Dependencies Web Server (ZWS)

A zero-dependency development web server that serves files and opens the browser automatically.

Prerequisites

Java 25 or later

Quick Start

curl -O https://raw.githubusercontent.com/AdamBien/SaO.java/main/ZWS.java && java ZWS.java

Alternatively, clone this repository or copy ZWS.java and zws.sh to a directory in your PATH.

How It Works

  • Serves files from the current directory (or specify a custom root directory as an argument)
  • Runs on port 3000
  • Automatically opens Firefox at http://localhost:3000

Usage

java ZWS.java [root-directory]

Example Projects

Test ZWS with vanilla WebComponents: bce.design

ZWS in action

Single File, Zero Installation, No Dependencies Java Web (Dev) Server

About

Serve and Open (the browser). A zero-dependency development webserver shipping with a single Java file. No compilation, no installation required.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •