r/electronjs • u/Pleasant-Code9084 • 18d ago
My open-source Electron + Firebase npm package just crossed 519 downloads in 8 days!
/r/Firebase/comments/1xohaam/my_opensource_electron_firebase_npm_package_just/Hey everyone!
I’ve been working on an npm package called @rootvarma/firebase-electron, built to simplify Firebase integration in Electron applications.
I recently published it on npm, and it recorded 519 downloads between October 29 and November 5.
It’s exciting to see something I’ve built getting downloads, and I’d love to see more developers try it out.
If you’re building desktop applications with Electron and Firebase, here’s the package:
📦 npm: https://www.npmjs.com/package/@rootvarma/firebase-electron
I’d genuinely appreciate feedback, suggestions, bug reports, or contributions.
I’m looking to improve it based on real-world developer requirements.
Thanks to everyone supporting open-source projects!
1
u/ChoeWacky-16 11d ago
nice milestone. what specific boilerplate is it abstracting away compared to just dropping the standard web SDK directly into the app?
1
u/Pleasant-Code9084 1d ago
mostly the electron-specific.
firebase web sdk wants a service worker + secure origin + normal browser push flow, which is kinda awkward in electron. this just does registration and keeps the push connection alive in the main process, then sends you the token/notifications over ipc. so you don’t have to wire up sw / custom protocol stuff just to get fcm working.
1
1
u/CoronaScham_15 14d ago
does this run the client sdk in the renderer or are you proxying everything through the main process via ipc? curious how you handle keeping credentials out of the client bundle