# Building hackernews-tui in 30 minutes with OpenTUI and GPT-5.3-Codex

By Josh Hamilton · 2026-03-04

Source: https://nearbycoder.com/articles/building-hackernews-tui-in-30-minutes-with-opentui-and-gpt-5-3-codex/

I built and shipped a Hacker News terminal UI in about 30 minutes using OpenTUI and GPT-5.3-Codex, then published it straight to npm from the Codex app.

---

I wanted a faster way to scan Hacker News without opening a browser, so I built `hackernews-tui` as a small command-line app.

![hackernews-tui screenshot](https://nearbycoder.com/images/hackernews-tui.jpg)

The interesting part is speed: this went from idea to shipped npm package in roughly 30 minutes.

## Why this was so fast

OpenTUI handled the terminal UI primitives, so I did not have to spend time wiring low-level terminal behavior from scratch.

GPT-5.3-Codex handled most of the implementation loop:

- scaffold the project and command structure
- generate core search and rendering flow
- iterate on UX quickly in terminal
- clean up packaging and publish workflow

The Codex app made it straightforward to move from prompt to working code to publish without context-switching across multiple tools.

## Run it

```bash
bunx hackernews-tui
```

or

```bash
npx hackernews-tui
```

## What shipped

- Open source repo: [nearbycoder/hackernews-tui](https://github.com/nearbycoder/hackernews-tui)
- npm package: [hackernews-tui](https://www.npmjs.com/package/hackernews-tui)
- Project page: [hackernews-tui](https://nearbycoder.com/projects/hackernews-tui)
- Layoff log: [Week 3: hackernews-tui](https://nearbycoder.com/layoff/week-003-2026-03-04-hackernews-tui)
