Skip to content

AshrithSathu/pcurl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pcurl

Does alternatives exist? Yes.

But do I want to use them? No.

So I built one.

Simply switch curl with pcurl and enjoy beautiful, highlighted JSON output automatically.

Installation

git clone <your-repo-url>
cd pcurl
bun install
bun link

Usage

It works just like curl, but better.

Basic GET Request

pcurl https://jsonplaceholder.typicode.com/todos/1

POST Request with Headers & Data

pcurl https://api.example.com/data \
  -X POST \
  -H "Content-Type: application/json" \
  -d '{"key": "value"}'

Why?

Because standard curl JSON output is ugly and unreadable. pcurl formats and colorizes it for you.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published