An open source command line http server for serving static files. This command line utility allows you to initialize a static file server. It can be used to quickly server static files in case you don't have heavy requirements of using standard web servers like Apache, tomcat etc.
Install Startserve with Node Package Manager:
npm install -g startserve
Usage: startserve [Options]Options:-h, --help output usage information-V, --version output the version number-p, --port <port> specify web server port for accepting connection. Default is 9000-g, --gateway <path> specify your static directory path. Default is [.]-a, --about about startserve 0.0.5
To launch startserve with default options:
Startserve will launch on port
9000 with current directory as gateway path.
You can specify your server port with
-p <port> option. For E.g.:
startserve -p 5000
We really appreciate all kind of contributions. Special thanks to contributors for using and supporting Startserve.
To request a feature or you find any typo errors, enhancements or questions; please feel free to post it on following link, or vote for the ones that are already registered.
The MIT License (MIT)
Copyright (c) 2015 Ashwin Hegde
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.