Comment

Comment by bsimpson

If you globally install the npm module dhost, you can run it from any directory (`dhost`) to start a webserver there.

Python 2 had a similar function (`python -m SimpleHTTPServer`). I know there's a Python 3 equivalent, but I don't have it memorized.

parent bsimpson 1 year ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton