nitro
webcontainer-core
Our great sponsors
nitro | webcontainer-core | |
---|---|---|
20 | 20 | |
5,045 | 3,622 | |
12.3% | 1.9% | |
9.8 | 2.0 | |
2 days ago | almost 1 year ago | |
TypeScript | ||
MIT License | MIT License |
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.
nitro
-
Why I keep an eye on the Vue ecosystem and you should too
Nitro is a nice https webserver that you can deploy everywhere. Comparing it to express, it doesn't need weird middlewares for json, it has a simple way to support caching, a file system router, tasks and scheduled tasks that avoid quite a few shell scripts, db:migrations etc, plugins, KV storages, SQL connectors, websockets...
-
What is Vinxi, and how does it compare to Vike?
Vinxi is really a kind of Meta-Router / Router Manager (built on the dev-server and bundler-toolkit Vite and the http-server Nitro). Vinxi uses various routers of your choosing as a core primitive, and allows you to compose them in a centralized config so that they work together. Be it server or client routers.
-
The State of Angular SSR Deployment in 2024
Analog allows you to deploy anywhere, literally. It uses Nitro toolkit which has options for anything while working with Vite.
- FLaNK Stack Weekly 22 January 2024
-
Introducing Nitro by @unjs: Simplifying API Development in Nodejs
For additional reading, please explore the Nitro docs at: https://nitro.unjs.io
-
Nitro: A fast, lightweight 3MB inference server with OpenAI-Compatible API
Not to be confused with https://nitro.unjs.io the server tech behind Nuxt and SolidStart
-
Web scraper in Nuxt 3 - part I - Introduction and setting up
Nuxt is powered by an internal server called Nitro. You can see its manifestation in the terminal console right after you start your local dev server:
-
Ask HN: Is Express still "de-facto" for building Node back ends?
Until it support websocket, I think it is simply a no.
https://github.com/unjs/nitro/issues/678
It's 2023 and there is a web framework that "can't" handle websocket at all. (Not even just proxying and doing nothing else.) Feels like a joke to me.
- Update regarding the recent loading/caching issues
-
How to edit & replace NPM package dependency
Last week, my first actual contribution into a public open source project has been merged. Its actually only a small changes into Unstorage library, which is used by Nitros server engine, which in turn used by the popular NuxtJs framework. At the time, I was stuck in one of my side project which used Nuxt because Unstorage is lacking some functionalities that I need. However because Unstorage is 2 layers deep in the dependency tree, its not trivial for me to change the code there.
webcontainer-core
-
API Security Academy dedicated to GraphQL security
How does it work? There is no backend whatsoever. The API Security Academy leverages WebContainers, a new technology that allows running full-blown node instances directly in the browser. Each WebContainer contains a live GraphQL application, so you'll not only understand why a vulnerability is risky, but also how to exploit it and, most importantly, how to fix it.
-
Node on Web. Use Nodejs freely in your browser with Linux infrastructure.
StackBlitz made the claim "... run Node.js, entirely inside your browser" #658, then had to revise it's claim to "We currently do not expose a way to use WebContainer outside of StackBlitz.com,".
-
Lua: The Little Language That Could
> Wasm though seems like the likely general heir, and will have many different offerings for how to do that (Deno being one!).
I was recently blown away by some ideas that StackBlitz [0] apply based on WebContainers. The idea of a "server in the browser", they allow you to run Node-based environment like that via Wasm.
[0] https://stackblitz.com/
[1] https://webcontainers.io/
-
How repl.it and online code editors are built?
See https://webcontainers.io.
-
Blog Post: Reasonable Bootstrap
This very simple fact is well known flaw, which was already often criticized and asked for solutions by users. It doesn't only affect this kind of very exotic bootstrap applications but also significantly limits rusts usefulness in many other areas. Pure browser based scientific code documentation and example notebooks (e.g. jupyterLite) and sandboxed CI and IDE solutions (e.g. web containers) as available for many other languages are simply not available for rust because of this very fundamental issue.
-
WebContainer API
Looks like they plan to open it. From the FAQ section of README (https://github.com/stackblitz/webcontainer-core#faqs):
> Is there a developer API?
-
[AskJS] Is there an JavaScript engine agnostic server module that can be imported into Bun, QuickJS, Deno, and Node.js?
I'm skeptical about stackblitz claims. The last time I checked that is closed source code https://github.com/stackblitz/webcontainer-core/issues/658.
-
Use SSH in browser
StackBlitz claimed https://blog.stackblitz.com/posts/introducing-webcontainers/ to have implemented Node.js in the browser, though I have not observed any evidence of that being true and correct https://github.com/stackblitz/webcontainer-core/issues/658.
- Node.js in Chrome extension
-
Docker Desktop Requires A Paid Subscription, Now What?
The other honorable mention is StackBlitz, a web-based web editor for making containers that run Javascript applications. Interestingly, StackBlitz is championing WebContainers, a technology that allows developers to start NodeJS servers within the browser. The downside is, this technology only works with Javascript-based projects (NodeJS, NextJS, etc). I include it here because WebContainers could easily be extended to support other languages via WASM, like Ruby. I’ll also add in Buildah, a tool for building OCI images. I won’t say much about this tool because it’s designed for building images; you still need another service, like Podman, to actually create the containers.
What are some alternatives?
hono - Web Framework built on Web Standards
wasmer - 🚀 The leading Wasm Runtime supporting WASIX, WASI and Emscripten
vite - Next generation frontend tooling. It's fast!
standards-positions
Express - Fast, unopinionated, minimalist web framework for node.
wasm-clang - Running Clang/LLD in WebAssembly Demo
esbuild - An extremely fast bundler for the web
threads - Threads and Atomics in WebAssembly
ai - Build AI-powered applications with React, Svelte, Vue, and Solid
joystick - A full-stack JavaScript framework for building stable, easy-to-maintain apps and websites.
unstorage - 💾 Unstorage provides an async Key-Value storage API with conventional features like multi driver mounting, watching and working with metadata, dozens of built-in drivers and a tiny core.
openvscode-server - Run upstream VS Code on a remote machine with access through a modern web browser from any device, anywhere.