Skip to content
forked from uurtech/shinatra

A simple web server in 5 lines of bash

Notifications You must be signed in to change notification settings

rcpzen/shinatra

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 

Repository files navigation

Shinatra - A web server in five lines of bash

Usage:

./shinatra.sh [port] [response]

Frequently Asked Questions

Is this for real?

Yes, this is a real web server. It works on most linux distros and OS X.

How do I install it?

You don't install it. Copy the file to wherever you want and run it.

Is this a thread based server, or does it use an event loop instead?

No.

How do I define the routes?

Use whatever routes you like. It's not picky.

What content types are supported?

All of them

Does it support websockets?

Not yet. We might add more lines to the script later.

Does it work on Windows?

Of course not.

What about cygwin? Do you support...

Stop it. Just stop.

About

A simple web server in 5 lines of bash

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 100.0%