You are not logged in.

#1 2014-04-08 14:49:51

Saint0fCloud
Member
Registered: 2009-03-31
Posts: 137

zerve: zsh httpd plugin

Living in the dark ages without tab completion and tired of having to type out 20 whole characters just to start python's http.server? Or, are you frustrated with the fast performance from simple http servers written in C? Then zerve is for you! It's perfect for those who enjoy non-portable shell code that gives the optimal balance between performance and security. tongue

But seriously, zerve is a simple httpd plugin for zsh. It's derived from czhttpd, an educational project I've been screwing around with for a while. Unlike czhttpd, zerve has a limited set of features and was created solely to easily share files from the commandline without having to setup nfs, samba, ssh, etc etc.

To get started download the script, source zerve.zsh in your .zshrc, and type the command `zerve`.

echo "source ~/.zerve.zsh" >> ~/.zshrc && zerve

The incredibly long and detailed full documentation is on github.

http://github.com/jsks/zerve

Offline

#2 2014-04-08 19:36:25

Antoine
Member
From: Picton Ontario
Registered: 2012-10-11
Posts: 90

Re: zerve: zsh httpd plugin

Cool, thanks. It plays music and video ...

Edit: ... and it doesn't care what zshell it's running under. I can install it on my huge Mac Pro and take my Arch laptop upstairs and watch movies and listen to music. Of course, if I want my 1080p, I'll have to pull a gigabit cable up there. Just saying is all. Thanks. And yes, I know I could always configure Apple's built-in Apache server to do the same thing; this is just more fun.

Last edited by Antoine (2014-04-08 19:40:47)

Offline

Board footer

Powered by FluxBB