scalar
webextension-polyfill
scalar | webextension-polyfill | |
---|---|---|
11 | 18 | |
3,701 | 2,535 | |
9.9% | 0.9% | |
9.9 | 4.7 | |
5 days ago | 6 days ago | |
TypeScript | JavaScript | |
MIT License | Mozilla Public License 2.0 |
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.
scalar
- Show HN: Nuxt.js OpenAPI / Swagger API Reference Documentation
- Show HN: Scalasaurus – Open API / Swagger API References for Docusuarus
-
Killed by open sourced software. Companies that have had a significant market share stolen from open sourced alternatives.
Scalar - alternative to redoc that has been frantically building out the premium features that redoc's parent company charges absorbent prices for.
-
It's Christmas day. You wake up, run to the tree, tear open the largest package with your name on it... FastAPI has added _____?
+ a link to our repo: https://github.com/scalar/scalar
-
I snitched.
Post launch- Launchaco was getting a dozen or so paying customers a day and eventually was acquired by Namecheap. I recently left and now am working on a free / open source tool which you can check out here: https://github.com/scalar/scalar :)
-
I exposed "AI" logo makers stealing fonts
> working on a free / open source api docs tool, https://github.com/scalar/scalar
> scalar.com
damn son, that namecheap paycheck must have been a pretty penny.
-
Show HN: OpenAPI DevTools – Chrome ext. that generates an API spec as you browse
You could take the OpenAPI json generated from this project and feed it to https://docs.scalar.com/swagger-editor which generates boilerplate in several formats, including Python
-
Scalar: An open-source alternative to Redocly and Swagger UI
hey! co-founder here, appreciate your comment.
Ah that's great feedback!
As for the rendering of the schemas, we have a pull request in draft from this morning! hopefully will be done ASAP
https://github.com/scalar/scalar/pull/244
webextension-polyfill
-
Show HN: Chrome Reaper
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
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?
best is to use https://github.com/mozilla/webextension-polyfill
-
Browser Extension with Blazor WASM - Cross-Browser Compatibility
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.
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
-
It’s Like GPT-3 but for Code–Fun, Fast, and Full of Flaws
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?
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
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
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?
docusaurus-openapi - 🦕 OpenAPI plugin for generating API reference docs in Docusaurus v2.
esbuild-react-chrome-extension - Simple chrome extension with React and Typescript, bundled by esbuild
git-lfs - Git extension for versioning large files
browser-extension-svelte - A simple cross-browser extension made with Svelte
elements - Build beautiful, interactive API Docs with embeddable React or Web Components, powered by OpenAPI and Markdown.
uBlock-Safari - uBlock Origin - An efficient blocker for Chromium, Firefox, and Safari. Fast and lean.
Git - Git Source Code Mirror - This is a publish-only repository but pull requests can be turned into patches to the mailing list via GitGitGadget (https://gitgitgadget.github.io/). Please follow Documentation/SubmittingPatches procedure for any of your improvements.
plasmo - 🧩 The Browser Extension Framework
requests-openapi - A lightweight but powerful and easy-to-use Python client library for OpenAPI v3.
webext-redux - A set of utilities for building Redux applications in Web Extensions.
openapi-devtools - Browser extension that generates API specs for any app or website
browser-ext-react-esbuild - Browser extension implemented in TypeScript & React and built by esbuild for Chrome, Safari and possibly Mozilla Firefox