Electron
ssh2
Our great sponsors
Electron | ssh2 | |
---|---|---|
236 | 5 | |
111,866 | 5,458 | |
1.1% | - | |
9.8 | 5.7 | |
7 days ago | about 1 month ago | |
C++ | 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.
Electron
-
Release Radar • February 2024 Edition
The team at Electron have been faithfully shipping new releases almost every single month. I think they had Christmas off 🤔. This popular framework has developers writing cross-platform desktop applications using JavaScript, HTML and CSS. The latest update depreciates some process events, and added new modules, APIs, methods, and more. Read into all the changes in the Electron release notes. This month, Electron also introduced a new formal RFC process.
-
The IDEs we had 30 years ago and we lost
VS Code has been crashing at launch in Wayland since more than eight months ago:
https://github.com/electron/electron/issues/37531
-
Design Systems with Web Components
So we talked a lot about the Atomic Design Principle, but you could just use that in any system and start creating. You could have Angular components, React Components, and Vue Components. But if you notice these don't easily work Everwhere. So the solution is to use Web Components because the modern browser can already understand these, and any Front-End framework can then utilize these components. You can use Electron for desktop (Slack, VSCode), PWA for both Android and iOS, and across all browsers Can I Use.
- Settings · Rulesets · electron/electron
-
How I got Wayland, Vulkan, and hardware acceleration working with Figma on Fedora 39.
I'm noticing a significant boost in performance, crisper text, and better power savings. The only shortcoming is that the window which Figma will run on will lose its shadow. This is due to a technical limitation with frameless windows on Linux.
-
Building Apps with Tauri and Elixir
For the longest time, building desktop apps was a daunting task to web developers. That is, until technologies like Electron made creating these apps more approachable to a wider audience. Today, we’ve got a wide array of native applications built with solutions like Electron, Tauri, Capacitor, and many more. While these are great solutions, sometimes configuration can be tricky and the applications we create can become somewhat bloated in terms of memory usage.
-
MS Teams & Electron libwebp 0-Day Vulnerability
Electron patch for version 27: https://github.com/electron/electron/pull/39823
-
CVE-2023-4863: Heap buffer overflow in WebP (Chrome)
It does, see [0]. Fun fact: Signal desktop, which uses Electron under the hood, is running without sandbox on Linux [1][2].
[0] https://github.com/electron/electron/pull/39824
[1] https://github.com/signalapp/Signal-Desktop/issues/5195
[2] https://github.com/signalapp/Signal-Desktop/pull/4381
-
Capturing at Speed of Thought
Turns out, there is an issue with the electron window not returning focus correctly on mac - https://github.com/electron/electron/issues/5495. The trick to solving is to treat quick capture as a screensaver. When closing, you hide it by setting the opacity to 0 and sending hide: command to the first responder.
-
$Home, Not So Sweet $Home
Open since 2016! https://github.com/electron/electron/issues/8124
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).
What are some alternatives?
tauri - Build smaller, faster, and more secure desktop applications with a web frontend.
webworker-threads - Lightweight Web Worker API implementation with native threads
dotenv - Loads environment variables from .env for nodejs projects.
basic-ftp - FTP client for Node.js, supports FTPS over TLS, passive mode over IPv6, async/await, and Typescript.
Eel - A little Python library for making simple Electron-like HTML/JS GUI apps
opn - Open stuff like URLs, files, executables. Cross-platform.
puppeteer - Node.js API for Chrome
multiline
react-native - A framework for building native applications using React
adit - SSH tunnels – in any way you want it
cheerio - The fast, flexible, and elegant library for parsing and manipulating HTML and XML.
video-to-ascii - It is a simple python package to play videos in the terminal using characters as pixels