3 ms·
Am I wrong to have long dismissed this as little more than an easter egg, or, at best, a toy server to test basic webpage functionality?
by verandaguy 13y ago
Am I wrong to have long dismissed this as little more than an easter egg, or, at best, a toy server to test basic webpage functionality?
- ramses0 13y agoYes. It's like a ghetto SCP for giving files to people on windows who don't have SCP. You can use it for basic web functionality, you can use it (carefully) as a mechanism for testing or serving test results. I wouldn't keep it running for days, but it's an amazingly useful tool.
- verandaguy 13y agoWhoa, never thought of it that way. The makeshift SCP is really a good idea!
- ancarda 13y agoI use it quite a lot to move files between my computers, stream content to my phone, test out web designs. I suppose it's like net cat, it's useful for some. I think "toy server" is fairly accurate, I can't see anyone using this in production but I can't see people installing nginx on their laptops either.
- kalleboo 13y ago> I can't see people installing nginx on their laptops either. OS X comes with apache preinstalled though
- thom 13y agoThe only problem it really solves is if you've got non-relative paths in your HTML/CSS. I've used this a couple of times in those situations.
- umanwizard 13y agoJust because that's the only problem you use it to solve doesn't mean that's the only problem it solves.
- thom 13y agoSorry, wasn't trying to belittle anything (I've actually written a Mac menu bar app that does this exact thing which a couple of designer friends use).
- tantaman 13y agoDepends on what you're developing. If you're doing single page apps that get their data from an external service then this is incredibly useful.
- deleted 13y ago[deleted]
- umanwizard 13y agoOur build process automatically generates a directory tree of HTML-formatted unit test coverage reports. Sometimes it's nice to be able to share links to those reports in a code review. I use python SimpleHTTPServer for that.