No description
- HTML 67%
- JavaScript 32.4%
- Dockerfile 0.6%
| Filename | Latest commit message | Latest commit date |
|---|---|---|
| docker-compose.yml | ||
| Dockerfile | ||
| index.html | ||
| README.md | ||
| server.mjs | ||
The Hacker Post
A newspaper-style reader for Hacker News. Serves the HN front-page RSS as a broadsheet: masthead, lead story with drop cap, three-column flow, snippets of each article (full text if the piece is short). Zero npm dependencies.
Run (Docker)
docker compose up -d --build
Then open http://localhost:8080
Or without compose:
docker build -t hackernewspaper . && docker run -p 8080:8080 hackernewspaper
Run without Docker
node server.mjs # PORT env var overrides 8080
The server fetches news.ycombinator.com/rss and the linked articles server-side (avoids
browser CORS), extracts readable paragraphs, and caches for 15 minutes in memory.
GET /api/feed returns the raw JSON if you want it.