Skip to content
A simple web server in 5 lines of bash
Branch: master
Clone or download
Latest commit cab1720 Nov 28, 2016
Type Name Latest commit message Commit time
Failed to load latest commit information. Update Sep 14, 2016 Changed the shebang Nov 27, 2016

Shinatra - A web server in five lines of bash


./ [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?


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.

You can’t perform that action at this time.