curlconverter VS har-to-openapi

Compare curlconverter vs har-to-openapi and see what are their differences.

curlconverter

Transpile curl commands into Python, JavaScript and 27 other languages (by curlconverter)
Our great sponsors
  • SurveyJS - Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
curlconverter har-to-openapi
6 1
7,138 69
1.8% -
7.6 5.5
26 days ago 9 months ago
TypeScript TypeScript
MIT License -
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

curlconverter

Posts with mentions or reviews of curlconverter. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-10-25.
  • Convert Curl Commands to Code
    1 project | news.ycombinator.com | 29 Jan 2024
    Simple way would be to add a “curl” options, looks like you’d just need to write up a method that matches this Request interface [0] to some curl command substrings you mash together.

    Problem is of course: the headers and options are all going to be included. You could make it so it organizes them better though, maybe indenting and grouping like-options together so it’s easier to remove stuff.

    [0] https://github.com/curlconverter/curlconverter/blob/e4b6fb74...

  • Show HN: OpenAPI DevTools – Chrome ext. that generates an API spec as you browse
    17 projects | news.ycombinator.com | 25 Oct 2023
    I made a fork of the Chrome DevTools that adds exactly this. You can tell Chrome to use a different version of the DevTools if you start it from the command line

    https://github.com/curlconverter/curlconverter/issues/64#iss...

  • Program that converts a curl call into python code?
    1 project | /r/learnpython | 14 May 2023
  • Ask HN: What companies are embracing “HTML over the wire”?
    9 projects | news.ycombinator.com | 10 Feb 2023
    Someone added a ColdFusion Markup Language generator to https://curlconverter.com/cfml/ last year and after a few months I decided to remove it since I've never heard of it so nobody could possibly be using it, and the next day the guy who added support for it and 3 other people complained about it, so it seems like they're out there.

    https://github.com/curlconverter/curlconverter.github.io/pul...

  • I absolutely love web scraping.
    2 projects | /r/webscraping | 23 Mar 2022
    Relevant tools: - Browser dev tools and front-end tooling to debug JS and reconstruct requests in your code - grep.app and SourceGraph to check open-source parsers for some URLs (often, there are such repositories) - curlconverter to quickly draft a script from the cURL command - Regex and regex playgrounds to extract data from inline JavaScript - GraphQL introspection tools - Optionally, Fiddler or Wireshark to intercept and debug network requests (I don't use but my teammate does)
  • Convert curl commands to code in several languages
    13 projects | news.ycombinator.com | 11 Mar 2022
    Original author here. Many smart people have contributed code over the years, but one warrants special mention.

    About a year ago, verhovsky showed up out of nowhere. He rewrote the core of the application and increased the professionalism across the board. (dedicated domain, github page hosting, UI refresh, privacy improvements, and much more)

    The tree-sitter PR is a monster achievement: https://github.com/curlconverter/curlconverter/pull/278

    Search for parseAnsiCString in there. I don't think that had ever been implemented in JavaScript before.

    For you, verhovsky, 10x engineer might be an understatement. Thank you!

har-to-openapi

Posts with mentions or reviews of har-to-openapi. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-10-25.
  • Show HN: OpenAPI DevTools – Chrome ext. that generates an API spec as you browse
    17 projects | news.ycombinator.com | 25 Oct 2023
    Genson-js is used to merge JSON Schema objects. Essentially there are 5 schemas that we care about in each request, for request bodies, request headers, response bodies, response headers, and query parameters. Each endpoint (which may or may not be parameterised) has only one schema for each of these values.

    The idea for a crawler is a good one. The core logic that handles spec generation is decoupled from everything else, so it can be extracted into its own library.

    But there are approaches that exist for this already, such as har-to-openapi.

    https://github.com/jonluca/har-to-openapi

What are some alternatives?

When comparing curlconverter and har-to-openapi you can also consider the following projects:

curl-to-php - Convert curl commands to PHP code in your browser

gorilla - Gorilla: An API store for LLMs

NSwag - The Swagger/OpenAPI toolchain for .NET, ASP.NET Core and TypeScript.

openapi-devtools - Browser extension that generates API specs for any app or website

curl-to-go - Convert curl commands to Go code in your browser

api2ai - Create API agents from OpenAPI Specs

playwright_stealth - playwright stealth

apiclient-pydantic-generator - This code generator creates APIClient app from an openapi file.

insomnia - The open-source, cross-platform API client for GraphQL, REST, WebSockets, SSE and gRPC. With Cloud, Local and Git storage.

webextension-polyfill - A lightweight polyfill library for Promise-based WebExtension APIs in Chrome

blog

scalar - Beautiful API references from OpenAPI/Swagger files ✨