Skip to content

kbrdn1/LazyCurl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

90 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

██╗      █████╗ ███████╗██╗   ██╗ ██████╗██╗   ██╗██████╗ ██╗
██║     ██╔══██╗╚══███╔╝╚██╗ ██╔╝██╔════╝██║   ██║██╔══██╗██║
██║     ███████║  ███╔╝  ╚████╔╝ ██║     ██║   ██║██████╔╝██║
██║     ██╔══██║ ███╔╝    ╚██╔╝  ██║     ██║   ██║██╔══██╗██║
     ███████╗██║  ██║███████╗   ██║   ╚██████╗╚██████╔╝██║  ██║███████╗
     ╚══════╝╚═╝  ╚═╝╚══════╝   ╚═╝    ╚═════╝ ╚═════╝ ╚═╝  ╚═╝╚══════╝
  HTTP TUI Client

A powerful Terminal User Interface (TUI) HTTP client
Combining Lazygit's elegant interface with Postman's API testing capabilities

CI Release Coverage Go Report Card

Go Version Bubble Tea License


Features

  • Lazygit-Style Interface — Multi-panel layout with vim motions (h/j/k/l)
  • JavaScript Scripting — Pre/post-request scripts via Goja ES5.1+ engine
  • Test Assertions — 16 matchers with lc.test() and lc.expect()
  • Collections & Environments — Organize requests, manage variables with {{var}} syntax
  • Import/Export — cURL, OpenAPI 3.x, Postman collections
  • External Editor — Edit bodies in vim, VS Code, nano, etc.
  • Session Persistence — Auto-save/restore your workspace state
  • Jump Mode — vim-easymotion style quick navigation

LazyCurl Preview
LazyCurl main interface with request builder, response viewer, and collections panel


Installation

From Source

git clone https://github.com/kbrdn1/LazyCurl.git
cd LazyCurl
make build
./bin/lazycurl

Using Go Install

go install github.com/kbrdn1/LazyCurl/cmd/lazycurl@latest

Quick Start

# Navigate to your project
cd my-api-project

# Launch LazyCurl (creates .lazycurl/ workspace)
lazycurl

# Press 'n' to create a request, 'Ctrl+S' to send
# Press '?' for keybinding help

Import existing APIs:

# Import OpenAPI spec
lazycurl import openapi api.yaml

# Import Postman collection
lazycurl import postman collection.json

Key Shortcuts

Action Key
Navigate panels h / l
Move in list j / k
New request n
Send request Ctrl+S
Import cURL Ctrl+I
Import OpenAPI Ctrl+O
Import Postman Ctrl+P
External editor Ctrl+E
Jump mode f
Help ?

Documentation

Full documentation available in docs/ and Wiki:

Guide Description
Getting Started First steps with LazyCurl
Scripting API JavaScript API reference (75+ methods)
Keybindings Complete keyboard reference
Import/Export cURL, OpenAPI, Postman
Collections Organize requests
Environments Variable management
Configuration Customization options

Contributing

Contributions welcome! See CONTRIBUTING.md for guidelines.

# Development with live reload
make dev

# Run tests
make test

License

MIT License


Made with ❤️ by @kbrdn1

About

A powerful Terminal User Interface (TUI) HTTP client

Topics

Resources

License

Contributing

Stars

Watchers

Forks

Packages

 
 
 

Contributors