ssh2
webcontainer-core
Our great sponsors
ssh2 | webcontainer-core | |
---|---|---|
5 | 20 | |
5,458 | 3,622 | |
- | 1.9% | |
5.7 | 2.0 | |
about 1 month ago | about 1 year ago | |
JavaScript | ||
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.
ssh2
-
Use SSH in browser
I found a node module called ssh2. It is possible to bundle node js via browserify/webpack, however there seems to be an issue with something called the crypto module. I found a repo discussing this, but I cannot point out if there is a working solution for this problem.
- GitHub - mscdex/ssh2: SSH2 client and server modules written in pure JavaScript for node.js
- Is there SSH client lib for JS
- Building relatively complex app that will automate scripts on EC2/Azure VMs via Nodejs/SSH. Looking for opinions on SSH packages out there (ssh2, ssh2shell, etc)
-
Rickroll in your Terminal over SSH/Telnet
This was a fun little hack I wrote in NodeJS. I used the video-to-ascii project to output the Rickroll MP4 as a series of ASCII characters (it actually outputs a nice bash script). Then I wrote a small TCP server (for telnet) in NodeJS to simply pipe the output of the video bash script right to your telnet client! To add SSH support, I used the Node ssh2 library to create a simple SSH Server that is just piped to the telnet server (basically a proxy).
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?
Electron - :electron: Build cross-platform desktop apps with JavaScript, HTML, and CSS
wasmer - 🚀 The leading Wasm Runtime supporting WASIX, WASI and Emscripten
webworker-threads - Lightweight Web Worker API implementation with native threads
standards-positions
basic-ftp - FTP client for Node.js, supports FTPS over TLS, passive mode over IPv6, async/await, and Typescript.
wasm-clang - Running Clang/LLD in WebAssembly Demo
opn - Open stuff like URLs, files, executables. Cross-platform.
threads - Threads and Atomics in WebAssembly
multiline
joystick - A full-stack JavaScript framework for building stable, easy-to-maintain apps and websites.
adit - SSH tunnels – in any way you want it
openvscode-server - Run upstream VS Code on a remote machine with access through a modern web browser from any device, anywhere.