r/javascript • • Sep 30 '26

Adrenaline.js – A 56KB Electron alternative that keeps Node.js & npm without Chromium bloat

https://github.com/M5Devs/adrenaline
0 Upvotes

14 comments sorted by

4

u/Financial-Driver9562 Sep 30 '26

We have Tauri at home 

-2

u/miku_claus Sep 30 '26

Except at home, you don't need a PhD in Rust's borrow checker just to build a simple desktop tool 😂 Full Node.js & npm familiarity

2

u/Financial-Driver9562 Oct 01 '26

No need for that. It your middle layer in an app like that is large, then you’re doing it wrong. If you want to add node into Tauri then it’s easy. And we have AI now. It’s trivial to make some bridge functions. 

0

u/miku_claus Oct 01 '26

Not everyone is a vibe coder, your doubt is still asleep

3

u/Financial-Driver9562 Oct 01 '26

You literally vibe coded this slop of a project though LMAO

2

u/iliark Sep 30 '26

How is the learning curve for adrenaline lower than electron if the reason it's "zero" is because it's the same as electron? Shouldn't they both be zero then?

Also, what does this do that Neutralinojs hasn't been doing for years?

1

u/miku_claus Sep 30 '26
  1. Fair catch on the table semantics! If you already know Electron, the learning curve is identical—you literally reuse the exact same mental model (`app`, `BrowserWindow`, `ipcMain`).
  2. As for Neutralinojs, that's a great question! The architectural difference is pretty significant:

- **Neutralinojs** doesn't run Node.js at all. It runs a standalone C++ binary communicating over a local WebSocket server with its own custom, limited standard library (`NL_*` APIs). You lose direct access to the standard Node.js ecosystem and native npm modules unless you write custom extensions.

- **Adrenaline.js** runs full Node.js on the backend with direct C++ N-API bindings and in-process multithreaded IPC (no local HTTP/WebSocket server overhead). This means you get 100% compatibility with the Node runtime, npm packages, and native modules, packaged in an Electron drop-in syntax with ~5MB footprint.

6

u/queen-adreena Sep 30 '26

Vibe-coded in CommonJS... look out Tauri!

1

u/Working_Upstairs_818 Oct 01 '26

Which webview engine renders the UI? That detail decides cross-platform behavior for anyone migrating from Electron.

0

u/thecementmixer Oct 01 '26

Why not Bun runtime?

1

u/Financial-Driver9562 Oct 01 '26

Because its user share is insignificant probably. 

1

u/queen-adreena Oct 02 '26

Because it’s not a good idea to tie your project to an AI company like Anthropic who’ve demonstrated they’re not a serious project with their vibe-port.