curlconverter VS webextension-polyfill

Compare curlconverter vs webextension-polyfill and see what are their differences.

curlconverter

Transpile curl commands into Python, JavaScript and 27 other languages (by curlconverter)

webextension-polyfill

A lightweight polyfill library for Promise-based WebExtension APIs in Chrome (by mozilla)
SurveyJS - Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App
With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js.
surveyjs.io
featured
InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
curlconverter webextension-polyfill
6 18
7,183 2,569
0.6% 1.3%
7.6 5.2
9 days ago 6 days ago
TypeScript JavaScript
MIT License Mozilla Public License 2.0
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!

webextension-polyfill

Posts with mentions or reviews of webextension-polyfill. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-12-19.
  • Show HN: Chrome Reaper
    4 projects | news.ycombinator.com | 19 Dec 2023
    Porting this extension to Firefox should be relatively straightforward using the webextension polyfill: https://github.com/mozilla/webextension-polyfill
  • Show HN: OpenAPI DevTools – Chrome ext. that generates an API spec as you browse
    17 projects | news.ycombinator.com | 25 Oct 2023
    Firefox maintain a library for unified extension API https://github.com/mozilla/webextension-polyfill

    Their type definition for HAR request isn't exported https://github.com/DefinitelyTyped/DefinitelyTyped/blob/mast...

  • can you convert a simple firefox addon to be used with chrome?
    1 project | /r/chrome_extensions | 31 Oct 2022
    best is to use https://github.com/mozilla/webextension-polyfill
  • Browser Extension with Blazor WASM - Cross-Browser Compatibility
    2 projects | dev.to | 5 Sep 2022
    The Browser Extension Working Group at W3.org proposes the web standards based on the Chrome extension manifest, which supports all web browsers. Based on that proposal, Mozilla has released the Browser Extension Polyfill library that supports the modern promise pattern instead of callback. Therefore, if you import this polyfill library, theoretically, your Chrome extension quickly turns into the browser extension that runs on multiple browser engines.
  • IWTL how to make simple chrome extensions.
    1 project | /r/IWantToLearn | 2 Aug 2022
    And the biggest tip that i received late. Use Typescript type by Mozilla to make your development much easier(autocomplete, inline docs etc): https://github.com/mozilla/webextension-polyfill
  • Show HN: Plasmo – a framework for building modern Chrome extensions
    8 projects | news.ycombinator.com | 3 Jun 2022
  • It’s Like GPT-3 but for Code–Fun, Fast, and Full of Flaws
    5 projects | news.ycombinator.com | 19 Mar 2022
    I've written extensions before and Firefox has a very good polyfill [0] that makes it quite easy to write extensions for all browsers. It does get a bit trickier if you also want to incorporate TypeScript [1] or React however.

    [0] https://github.com/mozilla/webextension-polyfill

    [1] https://github.com/Lusito/webextension-polyfill-ts

  • Ask HN: Browser-extension creators, how do you write for multiple browsers?
    6 projects | news.ycombinator.com | 12 Feb 2022
    I used WebExtension polyfill[0] when adapting my FF addon to Chrome and admittedly all the intricate differences between APIs still costed me half a day of work.

    I managed to have it done with only a few places where I branch on navigator.vendor, but If I wanted to ship different versions to AMO and CWS, I'd make use of something like DefinePlugin[1] for webpack to include/exclude code based on build target.

    [0] https://github.com/mozilla/webextension-polyfill/

    [1] https://github.com/webpack/docs/wiki/list-of-plugins#definep...

  • Creating a browser extension for Safari and Chrome
    5 projects | dev.to | 19 Jan 2022
    Initially I created wrapper functions to convert Chrome functions that require callback to return promise instead. The better approach, as I found out later, is probably to use webextension-polyfill from Mozilla and its types.
  • Firefox Addons Unable to Update, Undisclosed AMO Issues
    2 projects | news.ycombinator.com | 25 Sep 2021
    I mean, the browser apis are close (and Mozilla still has much better documentation) but there are a LOT of edges cases where behavior diverges.

    Frankly - I'm a little peeved that Optional permissions in Firefox are STILL broken - The prompt can only be triggered in response to a user action, and Firefox blows the fuck up if you put a promise anywhere in between the user click and the call to the api. Which is hugely ironic, since Mozilla is the one pushing to move all the webext APIs to be promise based (and provides a nice helpful library for Chrome/Edge/Safari support: https://github.com/mozilla/webextension-polyfill) which... doesn't work on their platform. Doubly ironic, since the result is that most FF extensions just ask for more permissions up front, which is exactly the opposite of what you'd want in the "secure/private" world Mozilla claims they're pushing towards.

What are some alternatives?

When comparing curlconverter and webextension-polyfill you can also consider the following projects:

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

esbuild-react-chrome-extension - Simple chrome extension with React and Typescript, bundled by esbuild

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

browser-extension-svelte - A simple cross-browser extension made with Svelte

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

uBlock-Safari - uBlock Origin - An efficient blocker for Chromium, Firefox, and Safari. Fast and lean.

blog

plasmo - 🧩 The Browser Extension Framework

rosso - Data parsers and formatters

webext-redux - A set of utilities for building Redux applications in Web Extensions.

playwright_stealth - playwright stealth

browser-ext-react-esbuild - Browser extension implemented in TypeScript & React and built by esbuild for Chrome, Safari and possibly Mozilla Firefox