Skip to main content
   ____ _               _                          
  / ___| |__   ___  ___| |_ _ __ ___   __ _ _ __   
 | |  _| '_ \ / _ \/ __| __| '_ ` _ \ / _` | '_ \  
 | |_| | | | | (_) \__ \ |_| | | | | | (_| | | | | 
  \____|_| |_|\___/|___/\__|_| |_| |_|\__,_|_| |_| 
                                                   

Ghostman 👻

A fast, keyboard-driven terminal API client and webhook inspector.
No mandatory cloud accounts. No 1GB Electron bloat. 100% local-first.

License: MIT Python: 3.10+ UI: Textual Tests

Ghostman Terminal Studio


💡 Why Ghostman?

Modern API clients (Postman, Insomnia) started as simple developer utilities, but evolved into heavy enterprise platforms:

  • ❌ Bloated Memory: Postman idles at 800MB – 1.5GB of RAM just sitting in the background.
    👉 Ghostman runs on ~30MB of RAM.
  • ❌ Mandatory Cloud Lock-in: Forced account sign-ins, team workspaces, and cloud syncing for private test requests.
    👉 Ghostman is 100% local-first. Your requests and collections stay as plain JSON/YAML on your disk (~/.ghostman/).
  • ❌ Sluggish Startup: 5 to 10 seconds of splash screens and loading spinners.
    👉 Ghostman cold boots in ~150ms directly inside your terminal.
  • ❌ External Webhook Tunnels: Needing ngrok, webhook.site, or third-party accounts just to inspect a local webhook payload.
    👉 Ghostman has a built-in webhook listener on port 9090 (Ctrl + W).
  • ❌ Mouse-Heavy Navigation: Constant clicking between dropdowns, sidebars, and nested dialogs.
    👉 Keyboard-driven workflows. Send with Ctrl + S, save with Ctrl + K, new request with Ctrl + N.

📸 Interface Tour

1. High-Speed Telemetry & Formatted Responses

Instant latency tracking in milliseconds, HTTP status badges, payload size metrics, and syntax-highlighted JSON rendering:

Response Telemetry

2. Live Webhook Stream

Catch incoming HTTP callbacks from Stripe, GitHub, Shopify, or local microservices in real-time without leaving your terminal:

Live Webhooks


⚡ Core Features

  • Full HTTP Method Suite: Seamlessly compose GET, POST, PUT, DELETE, and PATCH requests.
  • Performance Telemetry: DNS + TTFB latency in real-time to monitor endpoint bottlenecks.
  • Embedded Webhook Server: Spin up a local server on port 9090 with one shortcut to catch incoming hooks.
  • Zero Cloud Dependency: Save collections as plain files in .ghostman/ and commit them to Git.
  • Auto-Formatting: Automatically indents and formats JSON payloads with Rich syntax coloring.
  • Cyberpunk Dark Theme: Designed for readability in terminal environments with solid borders.

🚀 Quick Start

Prerequisites

  • Python 3.10 or newer

Installation

# 1. Clone the repository
git clone https://github.com/4yk5/ghostman.git
cd ghostman

# 2. Install dependencies
pip install -r requirements.txt

# 3. Launch Ghostman
python main.py

Windows tip: You can also run Ghostman by double-clicking run.bat in the project root!


⌨️ Keyboard Shortcuts

Keybinding Action
Ctrl + S Send HTTP Request (Executes call and switches to Response view)
Ctrl + K Save Request (Saves current endpoint to collections)
Ctrl + N New Request (Resets input fields)
Ctrl + W Toggle Webhook Server (Starts / Stops listener on port 9090)
Tab / Shift + Tab Navigate between inputs, method selector, and tabs
Enter Select endpoint from sidebar / trigger button
Ctrl + Q Quit Ghostman

🛠️ Testing Webhooks Locally

  1. Press Ctrl + W to start the listener on port 9090.
  2. Send a test webhook from another terminal:
    curl -X POST http://127.0.0.1:9090/webhook \
      -H "Content-Type: application/json" \
      -d '{"event": "payment_succeeded", "amount": 4200}'
    
  3. Switch to the Live Webhooks tab to inspect headers, timestamp, and payload.
  4. Click any captured webhook to load its payload directly into the editor.

🤝 Contributing

Contributions, feedback, and pull requests are very welcome! Feel free to open an issue for bug reports or feature requests.

📄 License

Released under the MIT License.

Metadata

Release files for ghostman 0.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for ghostman 0.1.1
File Size Uploaded Provenance Actions
ghostman-0.1.1.tar.gz 13.3 kB Without provenance Details for ghostman-0.1.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for ghostman 0.1.1
File Interpreter ABI Platform Actions
ghostman-0.1.1-py3-none-any.whl Python 3 none any Details for ghostman-0.1.1-py3-none-any.whl

Total release size: 25.8 kB

Release files / ghostman-0.1.1.tar.gz

Download URL ghostman-0.1.1.tar.gz
Size 13.3 kB
Tags Source
SHA-256 checksum
How to use checksums
33749908135e1962fde8dee246c1241a5c5a5f060eaf6e541345eb520f9f1762
BLAKE2b-256 checksum
How to use checksums
06bd7e69b137460c9aed6cb3892ba0fd104e6df319a082964b55123e857e6ce6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.15.2

Release files / ghostman-0.1.1-py3-none-any.whl

Download URL ghostman-0.1.1-py3-none-any.whl
Size 12.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
7f377783741d92fd7bf7da2ee1ae00d60419cd40fba6d5af26be3bd075659f89
BLAKE2b-256 checksum
How to use checksums
656f307d2e3481c9e382872aacbfbf58e91c09c3dd646f6faeba28b81c257370
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.15.2

Security for ghostman 0.1.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page