Nanoweb is a Web server written entirely in PHP. Of course it’s not the kind of server you’d use with YouTube’s traffic, but it’s great for personal use, especially that it only needs a copy of PHP to run.
I needed a portable Dokuwiki that I carry around on my USB stick. Not only carry-in-key-chain portable, but also cross-platform platform portable. Mac OS and most Linuxes come with PHP installed, so I can run my pocket wiki without fiddling with configuration files. The Windows version on the other hand, needs to include PHP and some extensions, which amount to about 5MB extra.
The details are explained in the README file which you’ll find in Nanostick’s package. Nanostick by itself only weighs 250KB; adding PHP and compressing it leaves us with 2.5MB.
Version 0.0.1 includes a copy of PHP 5.2.5 for convenience only. Any subsequent version will not have PHP included.
Let me know if you face any trouble with it, or if there’s anything I can do to improve it.
Comments (2)
Had you thought about using tiddlywiki ? I use it for the use case you mentioned.
ofcourse , that doesn’t escape the fact that what you did was really cool! :)
But tiddlywiki already has a large community and many addons etc. … and fast and easy to use.
What’s the relationship with your nanostick and nanoportable?(from http://dev.splitbrain.org/browse/darcs/nanoportable)