TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Show HN: “serve” your local directory very nicely with go

7 pointsby integriiover 7 years ago
<a href="https:&#x2F;&#x2F;github.com&#x2F;integrii&#x2F;serve" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;integrii&#x2F;serve</a><p>I got tired of the huge list of static asset server options out there. Python&#x27;s built in one, various ruby gems, piles of npm commands... So naturally I added another (the best!) one.<p>It is written in go, so that helps portability, speed. It&#x27;s name is just &#x27;serve&#x27;. No options or flags are required for invoking. It looks pretty. It supports hitting Command&#x2F;Control-c gracefully.<p>Hopefully this is useful to some people. Feedback welcome! Thanks!

2 comments

nuggienover 7 years ago
This is easier:<p><pre><code> alias serve=&quot;python -m SimpleHTTPServer&quot; </code></pre> and is probably supported by every single *nix like system out there without installing anything.
brthover 7 years ago
How is this better than woof?<p><a href="http:&#x2F;&#x2F;www.home.unix-ag.org&#x2F;simon&#x2F;woof.html" rel="nofollow">http:&#x2F;&#x2F;www.home.unix-ag.org&#x2F;simon&#x2F;woof.html</a>
评论 #15208637 未加载