After a few months of working with Electron (yeah, it was my first time) I've decided to share some helpful tools for beginners and maybe for advanced developers, why not?
1. Electron Fiddle
Electron Fiddle is an open-source tool that enables you to experiment, test, and prototype Electron applications within a sandboxed environment. It proves particularly beneficial for newcomers and for swiftly validating concepts.
You can start quickly creating an Electron App, test your experiments, using npm packages, and compile your application.
Download Electron Fiddle and run the basic project from the tool:
Change the code and compile it in seconds:
See the updated application running:
2. Electronegativity
Electronegativity is a tool to identify misconfigurations and security anti-patterns in Electron-based applications.
It leverages AST and DOM parsing to look for security-relevant configurations, as described in the "Electron Security Checklist - A Guide for Developers and Auditors" whitepaper.
This tool might help you to improve during the development lifecycle and avoid security issues for your Desktop Application.
You can quickly analyze Electron upgrades via the command line or CI/CD for issues and breaking changes.
Read the Electronegativity documentation and licenses on repository link.
3. Sentry
Understanding what's happening in your application is always important. An easy way to receive logs and alerts about your Electron App is using Sentry.
With Sentry, you can view the Application logs, configure alerts, and understand your app's performance.
See an example of how to set up:
Sentry.init({
dsn: "YOUR_SENTRY_DSN_HERE",
maxBreadcrumbs: 50,
debug: true,
});
See the prices and plans here.
Thanks to my friend Ivan Azarov for introducing me to Sentry 🙌
Plus - Awesome Electron Repository
If you want to discover more tools, applications, and articles about Electron, I recommend exploring the Awesome Electron repository.
I hope this article may help you to start or improve your experience with Electron.
Thank you so much for reading.
Top comments (0)