一开始一个过程,揭露了其输入和输出的命令行使用HTTP协议。
资 源 简 介
httprun
httprun is a commandline utillity that is used to expose a process input and output streams over the http protocol. The arguments of the process are given in the URL that the process is associated with.
The parameters of the URL are not just limited to the query part. The parameters can be anywhere in the URL in a RESTFul fashion. The application httprun is built on top of a small http engine called HttpMachine wich is also developed in this project. HttpMachine is built in a general way and is intended to be reused for other projects.
Screenshot mockup:
$ httprun -p 8080 -u "/thumbs/{1}.jpg" -m "image/jpeg" -s "convert -scale 160x100 {1}.jpg -"
The mockup above makes small thumbnails of images in the current folder. A thumbnail will the be available like this http://localhost:8080/thumbs/examplephoto.jpg.
Road Map
0.0.1 (Current)
* Make building possible
文 件 列 表
httprun-0.0.1
config.h.in
NEWS
Makefile.am
INSTALL
src
depcomp
aclocal.m4
configure
install-sh
ChangeLog
Makefile.in
missing
AUTHORS
README
configure.ac
COPYING