question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Document clearly what is added to ecstatic

See original GitHub issue

What exactly does this add to ecstatic? As far as I can tell, ecstatic also works as “a simple zero-configuration command-line http server”. The only thing I’ve noticed is that http-server logs requests whereas ecstatic doesn’t. Is this just a thin wrapper?

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:5 (1 by maintainers)

github_iconTop GitHub Comments

3reactions
thornjadcommented, Feb 5, 2019

@laughinghan you’re right that http-server is essentially a wrapper around ecstatic. Ecstatic, however, is designed to be middleware. You can use it in Express or with the internal http directly. http-server, on the other hand, is designed to be a server itself, running from CLI. It also adds some value:

  • No configuration needed, the defaults are designed with the user in mind
  • Ability to use a proxy
  • Logging, including requests and all interfaces (with colors!)
  • Ability to open a browser automatically
  • Serving robots.txt
  • CORS headers
  • More features on the way!
0reactions
laughinghancommented, Dec 1, 2016

A majority of those are also ecstatic features, is what I’m saying. I’m wondering which of those are actually provided by this library.

Han

On Thu, Dec 1, 2016 at 2:38 AM, Jannis Redmann notifications@github.com wrote:

Is this sufficient? https://github.com/indexzero/ http-server#available-options

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/indexzero/http-server/issues/329#issuecomment-264138040, or mute the thread https://github.com/notifications/unsubscribe-auth/AANyERUyP9YxGk5RWKyDs6FIjzvWRVPTks5rDqOUgaJpZM4LBEss .

Read more comments on GitHub >

github_iconTop Results From Across the Web

jfhbrook/node-ecstatic: A static file server middleware ... - GitHub
A static file server middleware that works with core http, express or on the CLI! - GitHub - jfhbrook/node-ecstatic: A static file server...
Read more >
The Ecstatic Epistemology of Song of Myself - Document - Gale
Whitman's was an epistemology grounded in ecstasy, and the intense emotions and certainties engendered by his experience forced him to break with conventional ......
Read more >
ICE: Introduce, Cite, and Explain Your Evidence
Body paragraphs in academic essays contain evidence that supports debatable main ideas that appear in topic sentences, and responsible writers make sure to ......
Read more >
Plain Language: Beyond a Movement
Plain language makes it easier for the public to read, understand, and use government communications.
Read more >
Notability 11.0: What's changing? - Paperless X
Notability makes it very clear what document you're downloading and we like that. If you want an editable version of the notes, ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found