DEV Community

Cover image for 3 Useful Tools to Enhance Electron Development
Vinicius Souza
Vinicius Souza

Posted on

3 Useful Tools to Enhance Electron Development

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:

Starting with Electron Fiddle

Change the code and compile it in seconds:

Changing the code from tool

See the updated application running:

Application running after the changes

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.

Running Electronegativity in terminal

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.

Configuring Alerts on Sentry.

See an example of how to set up:

Sentry.init({
  dsn: "YOUR_SENTRY_DSN_HERE",
  maxBreadcrumbs: 50,
  debug: true,
});
Enter fullscreen mode Exit fullscreen mode

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)