guaycuru

0.2.4 • Public • Published

build status

Guaycuru Web Server

Static Web Server built on top of Node Simple Router

Install

From Node Package Manager:

  npm install guaycuru

or from source:

  git clone git://github.com/sandy98/guaycuru.git

Purpose

Serves static content with root at the directory it is run from.

Dependencies

Node Simple Router

Basic Usage

cd mywebdir
guaycuru

That's it

Well, almost. As of current version (0.0.7) Guaycuru is able (and will attempt to) run cgi programs located under its cgi directory, which defaults to cgi-bin. This may be configured through the command line, along the lines of: guaycuru [port] [cgi directory] Port defaults to 8000 and cgi directory, as was previously mentioned, defaults to "cgi-bin"

2014-03-28 v 0.2.0 Added "gallery mode" when invoked with -g parameter. When invoked in that way it will perform a slide show of images in the working directory instead of listing it.

2014-03-28 v 0.2.1 Provided /dir url as alternative method of listing a directory instead of performing slide show. Useful for navigating between directories and then performing the slide show when positionated in the chosen one.

Note

The name stands for an indian group that used to live in the sorroundings of my home town - no apaches or cherokees around here... -

License

(The MIT License)

Copyright (c) 2012 Ernesto Savoretti esavoretti@gmail.com

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.

Package Sidebar

Install

npm i guaycuru

Weekly Downloads

16

Version

0.2.4

License

MIT

Last publish

Collaborators

  • esavoretti