hn.today

Show HN: Ghostman – A fast, keyboard-driven TUI API client and webhook inspector

github.com34 points23 comments
Screenshot of Show HN: Ghostman – A fast, keyboard-driven TUI API client and webhook inspector

Ghostman is a Python terminal application for sending API requests and inspecting webhooks, aimed at developers who prefer keyboard-driven tools and local workflows. It presents itself as a lightweight alternative to larger API clients, avoiding cloud accounts and keeping request collections on the user’s machine. The interface supports keyboard navigation, including Vim-style workflows, and displays HTTP status, response size, timing information, and formatted, colorized JSON. It supports GET, POST, PUT, DELETE, and PATCH requests with custom headers and raw JSON bodies.

A built-in webhook receiver can be toggled with Ctrl+W and listens on 127.0.0.1:9090, capturing incoming callbacks for live inspection without a separate tunnel service. Requests are organized into collections stored as readable YAML in a project’s .ghostman directory, so they can be version-controlled and shared with a team. Users can send a request with Ctrl+S, move between interface fields with Tab, and quit with Ctrl+Q. The project requires Python 3.10 or later and is distributed under the MIT license. Its roadmap includes replaying captured webhooks as outbound requests, environment-variable support, cURL export, and a standalone binary, indicating that some planned capabilities are distinct from the currently described core functions.

Read on github.com23 comments on Hacker News

Summary generated by AI from the linked article. hn.today is not affiliated with Hacker News or Y Combinator.

More in Programming

Shaun Thomas: Burnt Toast

Shaun Thomas: Burnt Toast

PostgreSQL’s TOAST storage made the table much smaller, and counting or scanning rows was faster than with the larger uncompressed table. But reading a field inside every toasted value required far more buffer reads, showing that TOAST can trade space savings for slower access to large values. (pgedge.com)

Jepsen: ParticleDB 1.1.4

Jepsen: ParticleDB 1.1.4

Jepsen found 96 bugs in ParticleDB versions 1.1.4 through 1.1.18.11.rc-22, including crashes, data loss, and serious transaction anomalies. Most issues were fixed, but committed writes could still disappear and serializable transactions still had anomalies; Orkes says a later release resolves the remaining problems. (jepsen.io)

The daily digest

Today's best Hacker News stories, summarized and screenshotted, one email a day.