GSoC 2026 Idea: Extension API & IPC Optimization #31
divyarathodgit
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Hey everyone, I'm Divya. I've been diving into the codebase lately and got a few PRs merged (really enjoying working with the C++ core!). I'm putting together my GSoC 2026 proposal, and instead of adding new OS-level APIs, I want to pitch an idea focused on framework stability—specifically around the Extension IPC and the Node.js wrapper.
What I Noticed
Extensions are super powerful, but I noticed a few friction points with the current WebSocket implementation:
My Idea:
I'd love to spend the summer fixing these issues while strictly sticking to Neutralinojs's minimal-binary philosophy. My rough plan looks like this:
• 1. Lifecycle & Heartbeat: Add a native ping/pong mechanism in the C++ WebSocket handler to detect disconnected extensions and clean them up safely.
• 2. Payload Standardization: Build a lightweight, header-only JSON validation layer so malformed requests throw proper errors instead of failing silently.
• 3. Async Chunking: Refactor the C++ message parser to use an asynchronous, chunked reading approach so heavy data transfers don't block the main thread.
• 4. Node.js SDK Revamp: Rewrite the developer-facing Node wrapper using standard event-driven patterns (EventEmitters for lifecycle events, Promises for standard IPC calls) to make writing backend extensions much cleaner.
Questions:
Before I write up the full 12-week timeline, I'd really appreciate some feedback to make sure I'm approaching this the right way:
Let me know what you think!
GitHub: https://github.com/divyarathodgit
Discord:divya013283
All reactions