A beautiful terminal-based HTTP client built with Go, featuring syntax highlighting and a user-friendly interface for exploring web content.
- User-friendly Terminal UI - Intuitive interface for making HTTP requests
- Automatic Content Detection - Identifies JSON, HTML, XML, CSS, and JavaScript
- Syntax Highlighting - Beautiful syntax coloring for better readability
- Response Metadata - Displays status codes, content types, and server information
- Pretty Printing - Formats JSON and HTML for improved readability
- Keyboard Navigation - Easy scrolling through large responses
- Go 1.23 or higher
-
Clone the repository:
git clone https://github.com/lafarr/lazyhttp.git cd lazyhttp -
Build the application:
go build
-
Run the executable:
./lazyhttp
go install github.com/lafarr/lazyhttp@latest-
Launch the application:
./lazyhttp
-
Enter a URL in the input field (e.g.,
https://example.comor justexample.com) -
Press
Enterto fetch the content -
Use the up/down arrow keys to scroll through the response
-
Press
EscorCtrl+Cto exit
- ↑/↓: Scroll through content
- Enter: Fetch URL
- Ctrl+C/Esc: Quit application
This project uses the following Go packages:
- Bubble Tea - TUI framework
- Bubbles - TUI components
- Lip Gloss - Style definitions
- Chroma - Syntax highlighting
- GoHTML - HTML formatting
To build from source, you need Go 1.23 or later installed on your system.
# Clone the repository
git clone https://github.com/lafarr/lazyhttp.git
cd lazyhttp
# Install dependencies
go mod download
# Build the application
go build -o lazyhttp
# Run the application
./lazyhttpContributions are welcome! Feel free to submit a Pull Request.
This project is licensed under the MIT License - see the LICENSE file for details.