Curldiff
An interactive utility to compare differences between two curl requests in a human readable format
Install / Use
/learn @pastelsky/CurldiffREADME
curldiff
Not sure why a network request seems to be working, while another seemingly similar request stubbornly refuses to?
Just curldiff them!
curldiff is an interactive utility to compare two curl requests, and tell you what exactly you're screwing up.
It can be used either on the web or as a command line utility (experimental).
Web
https://pastelsky.github.io/curldiff
<img width="600" src="https://raw.githubusercontent.com/pastelsky/curldiff/master/www/public/curldiff-web.png" />Command line (Experimental)
Installation
npm i -g curldiff
Usage
<img width="600" src="https://raw.githubusercontent.com/pastelsky/curldiff/master/www/public/curldiff-cli.png" />How do I generate a curl request?
The easiest way to generate a curl request is by selecting "Copy as CURL" in Chrome for any network request generated by your app.
<img width="400" src="https://raw.githubusercontent.com/pastelsky/curldiff/master/www/public/copy-as-curl.png" />Todo
- Add support for diffing response body and headers
- Better error Handling
Related Skills
node-connect
352.9kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
111.5kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
352.9kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
352.9kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
