____ _ _
/ ___| |__ ___ ___| |_ _ __ ___ __ _ _ __
| | _| '_ \ / _ \/ __| __| '_ ` _ \ / _` | '_ \
| |_| | | | | (_) \__ \ |_| | | | | | (_| | | | |
\____|_| |_|\___/|___/\__|_| |_| |_|\__,_|_| |_|
Ghostman 👻
A fast, keyboard-driven terminal API client and webhook inspector.
No mandatory cloud accounts. No 1GB Electron bloat. 100% local-first.
💡 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 withCtrl + S, save withCtrl + K, new request withCtrl + 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:
2. Live Webhook Stream
Catch incoming HTTP callbacks from Stripe, GitHub, Shopify, or local microservices in real-time without leaving your terminal:
⚡ Core Features
- Full HTTP Method Suite: Seamlessly compose
GET,POST,PUT,DELETE, andPATCHrequests. - 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.batin 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
- Press
Ctrl + Wto start the listener on port9090. - 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}'
- Switch to the Live Webhooks tab to inspect headers, timestamp, and payload.
- 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.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| ghostman-0.1.0.tar.gz | 11.7 kB | Without provenance | Details for ghostman-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| ghostman-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for ghostman-0.1.0-py3-none-any.whl |
Total release size: 23.2 kB
Release files / ghostman-0.1.0.tar.gz
| Download URL | ghostman-0.1.0.tar.gz |
|---|---|
| Size | 11.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
4209cfb552aa05956400081ad38d2f785d96bf04afe7854b1ea71cb37c6852b6
|
|
BLAKE2b-256 checksum How to use checksums |
0caf1806fdb3a2a5c58121702eb07044922800e5dee7416deda13ea058c2a175
|
| 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.0-py3-none-any.whl
| Download URL | ghostman-0.1.0-py3-none-any.whl |
|---|---|
| Size | 11.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
7b1a34522690dba6fd2714ed2560b0ea14f7e85e24ea3bd944887a6cf06b5e9a
|
|
BLAKE2b-256 checksum How to use checksums |
2f962351d5c09faf7011d17c0a17d222e516a236221e059551286c4ba60b561b
|
| 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.0
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.