All Projects → greggman → Servez

greggman / Servez

A simple web server for local web development.

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to Servez

Butterfly Server
The Everything is Real-Time C# Backend for Single Page Applications
Stars: ✭ 247 (+99.19%)
Mutual labels:  server, webserver
Rayo.js
Micro framework for Node.js
Stars: ✭ 170 (+37.1%)
Mutual labels:  server, webserver
Pure Http
✨ The simple web framework for Node.js with zero dependencies.
Stars: ✭ 139 (+12.1%)
Mutual labels:  server, webserver
Agoo
A High Performance HTTP Server for Ruby
Stars: ✭ 679 (+447.58%)
Mutual labels:  server, webserver
Binserve
A blazingly fast static web server with routing, templating, and security in a single binary you can set up with zero code. ⚡️🦀
Stars: ✭ 401 (+223.39%)
Mutual labels:  server, webserver
Pode
Pode is a Cross-Platform PowerShell web framework for creating REST APIs, Web Sites, and TCP/SMTP servers
Stars: ✭ 329 (+165.32%)
Mutual labels:  server, webserver
Android Http Server
A complete zero-dependency implementation of a web server and a servlet container in Java with a sample Android application.
Stars: ✭ 158 (+27.42%)
Mutual labels:  server, webserver
Cppwebframework
​The C++ Web Framework (CWF) is a MVC web framework, Open Source, under MIT License, using C++ with Qt to be used in the development of web applications.
Stars: ✭ 348 (+180.65%)
Mutual labels:  server, webserver
Wsgidav
A generic and extendable WebDAV server based on WSGI
Stars: ✭ 476 (+283.87%)
Mutual labels:  server, webserver
Iodine
iodine - HTTP / WebSockets Server for Ruby with Pub/Sub support
Stars: ✭ 720 (+480.65%)
Mutual labels:  server, webserver
Venice
Coroutines, structured concurrency and CSP for Swift on macOS and Linux.
Stars: ✭ 1,501 (+1110.48%)
Mutual labels:  server
Ddn
DDN, Data Delivery Network, a next generation blockchain system
Stars: ✭ 118 (-4.84%)
Mutual labels:  server
Serverfarmer
Manage multiple servers with different operating systems, configurations, requirements etc. for many separate customers in an outsourcing model.
Stars: ✭ 122 (-1.61%)
Mutual labels:  server
Magento 2 Server Installation
Magento 2 Server Installation - How to Install Magento 2
Stars: ✭ 123 (-0.81%)
Mutual labels:  server
Vertx Mqtt
Vert.x MQTT
Stars: ✭ 117 (-5.65%)
Mutual labels:  server
Sgf
This is a Smart Game Foundation (Not Framework)
Stars: ✭ 122 (-1.61%)
Mutual labels:  server
Create Test Server
Creates a minimal Express server for testing
Stars: ✭ 117 (-5.65%)
Mutual labels:  server
Node Restify
The future of Node.js REST development
Stars: ✭ 10,335 (+8234.68%)
Mutual labels:  server
Mailinabox
Mail-in-a-Box helps individuals take back control of their email by defining a one-click, easy-to-deploy SMTP+everything else server: a mail server in a box.
Stars: ✭ 10,649 (+8487.9%)
Mutual labels:  server
Lophttpd
lots of performance (or lots of porn, if you prefer) httpd: Easy, chrooted, fast and simple to use HTTP server for static content. Runs on Linux, BSD, Android and OSX/Darwin. It's free but if you like it, consider donating to the EFF: https://supporters.eff.org/donate
Stars: ✭ 123 (-0.81%)
Mutual labels:  webserver

Servez

A simple web server for local web development.

screenshow

Download

Click Here

Choose the .dmg for mac, the .exe for Windows, or the .AppImage for Linux.

What?

Servez is an stand alone app that runs a simple web server. with a GUI to start/stop and choose a folder to serve.

I've worked with many people, often students, who are not comfortable with command lines and certainly not comfortable setting up a big server like Apache.

Servez provides them with an easy way to get started without having to install multiple dependencies nor having to integrate things with their system. No adding to paths, no downloading 3 different pieces of software. Just run and start.

HTTPS

Servez has an option to serve HTTPS. Servez uses a self signed certificate which means your browser will complain that the certificate is not valid. You can click "advanced" on the warning page and then "Proceed to <localhost>" to load the page.

The point of HTTPS support in Servez is to make it easy to access HTTPS only APIs like WebXR etc... Clicking through a warning once in a while is a small tradeoff for automating HTTPS support.

Command Line Arguments

If you want an actual command line version then go here.

Otherwise these are the command line arguments to this app version of Servez.

NOTE! You must include an extra -- by itself before your arguments

servez.exe --port=1234 c:\path\to\serve      # BAD!
servez.exe -- --port=1234 c:\path\to\serve   # good

On Windows the default path is

c:\Users\<username>\AppData\Local\Programs\Servez\Servez.exe

on MacOS the default path is

/Applications/Servez.app/Contents/MacOS/Servez

Usage

servez [options] path/to/serve
  • --help prints the command line arguments

  • -p or --port sets the port as in --port=1234

  • --ssl use HTTPS (see above)

  • --no-dirs don't show directory listings for folders

  • --no-cors don't supply CORS headers

  • --local only allow access from local machine

  • --no-index don't serve index.html for folders

Development

Setup

  • Install node.js

    You can download it here.

  • clone this repo

    git clone https://github.com/greggman/servez.git
    
  • change to the project's folder

    cd servez
    
  • install dependencies

    npm install
    

Organization

main.js          // runs the browser process
src/index.html   // the main window
src/index.js     // JS for the main window
src/style.css    // CSS for the main window

Running

npm start

Will launch with devtools open. Setting the environment variable SERVEZ_ECHO to true will make issue many logging commands in main.js into the log in the app

Building

npm run dist

Will build a file for distribution in the dist folder for the current platform.

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