oauth
spin-js-sdk
oauth | spin-js-sdk | |
---|---|---|
2 | 3 | |
4 | 40 | |
- | - | |
5.4 | 7.5 | |
6 months ago | 7 days ago | |
Rust | Rust | |
- | Apache 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.
oauth
spin-js-sdk
-
Spin 2.0 – open-source tool for building and running WASM apps
Thank you!
To your point, the primary consideration for choosing the languages is their support for WebAssembly, and WASI in particular.
Due to Spin's heavy use of WASI and the component model, languages that have first party support in the WIT bindings generator (https://github.com/bytecodealliance/wit-bindgen) are the easiest to implement, followed by languages that can be built on top of the support for those with first party support.
For example, the JavaScript support is built by embedding QuickJS (in particular, Shopify's Javy project — https://github.com/fermyon/spin-js-sdk), which then uses the Rust SDK.
-
Spin 1.0 — The Developer Tool for Serverless WebAssembly
Besides the built-in key/value store, Spin applications can also connect to external databases (such as relational databases, or Redis), or connect to the new class of serverless databases that expose their connections over HTTP. Let's see an example of using a PlanetScale database from TypeScript:
-
Fermyon Spin JavaScript and TypeScript SDK
There's a simple example of using React server-side rendering here: https://github.com/fermyon/spin-js-sdk/tree/main/examples/ja.... We haven't tried anything more advanced than that, yet, but a full-blown isomorphic app should work fine in theory.
The main limitation at the moment is that we only support a handful of Web APIs (e.g. `fetch`, `URL`, etc.) and NodeJS APIs (e.g. `readFile`), as well as QuickJS's built-in ES2020 APIs, so if you try to run an existing app you may find it needs a Web API we don't yet support. If so, please feel free to open an issue on the `spin-js-sdk` repo.
What are some alternatives?
hattip - Like Express, but for the future
componentize-py
fastapi-prod-guide - FastAPI Production Setup Guide ⚡️🚀🏁
teavm-wasi - Friendly fork of TeaVM with support for WASI and the WebAssembly Component Model
quickstart-nodejs
zig-spin - 🦎 🪀 Zig SDK for the Spin serverless application framework created by @fermyon.
buster - Captcha solver extension for humans, available for Chrome, Edge and Firefox
spin-fileserver - A static file server implemented as a Spin component
NopeCHA - Automatically solve reCAPTCHA, hCaptcha, FunCAPTCHA, AWS CAPTCHA, and text-based CAPTCHA with a browser extension.
spin-trigger-sqs - A trigger plugin for processing SQS messages using Spin
spring-security-oauth2-sample - This module is based on Spring Authorization Server and contains information on using Spring Security OAuth2
preview2-prototyping - Polyfill adapter for preview1-using wasm modules to call preview2 functions.