You don't need the whole browser frontend for that though, Electron also includes Node.js which is much less memory hungry.