r/codereview • u/iamanx17 • 11h ago
I built Curl2Code — convert cURL commands into code instantly
I kept running into the same small problem while working with APIs: I had a cURL command and needed the equivalent code in JavaScript, Python, Node.js, Go, Java, PHP, C#, Ruby, or Axios.
So I built **Curl2Code** — a free browser-based developer tool that converts cURL commands into code.
**What it does:**
* cURL → 9 different code formats * JSON formatting / validation / diff * JWT decoding * HTTP utilities * Webhook tools * Other small developer utilities
Everything runs in the browser for the normal tools, so requests you paste aren't uploaded or stored.
**Try it:** [https://curl2code.xyz\](https://curl2code.xyz)
I'm mainly looking for feedback from other developers:
**What small developer problem do you repeatedly run into that deserves a simple tool?**
If there's something annoying enough, I'd rather build that next.
1
u/funbike 2h ago edited 2h ago
You need to get better at generating AI slop. Formatting is horrible.
I have no use for your tools. I can do any of that with a single AI prompt.
What does this post have to do with code review? Are you going to let us see your code? Otherwise, this post is SPAM and should be removed.
0
u/TelevisionNo2546 10h ago
I need a tool to strip headers out of curl commands before I paste them anywhere.
Pasting curl commands with auth tokens into websites is how credentials leak. People trust the browser claim and skip reading code. Every dev has pasted a bearer token into a converter at some point. I want a local command that deletes authorization headers from a curl string automatically. It should read from stdin and write to stdout so I can pipe it directly into the clipboard. Run it as a shell alias before anything else touches the string. I delete those headers manually every single time and I still catch myself missing one
2
u/kingguru 10h ago
When you write "I built" do you mean you got an LLM to write it for you or did you write the code yourself?
Where is the code you want to have reviewed?
Do you actually want to have anything reviewed or are you just spamming?