Network Status Check application written with Electron, Bootstrap, jQuery
This is a tool to add URLs and ports to check to see if they are open or not. You can add as many items to the list, and edit the list as well if needed. You can save your list and eventually reimport the list as well on launch or by using the Load URLs button.
Quick Code Tour
- The code entry point is in package.json under the key "main". The value is "main.js"
- main.js creates a BrowserWindow and loads index.html. It also has event handlers that enable keyboard shortcuts for Developer Tools on various platforms. Note that loadURL uses a template literal to give the source file's location.
- renderer.js loads jQuery, Bootstrap and it's dependency; Tether. Each is assigned to the window object because this is the web application custom. It's not the Node.js or Electron custom because window is a global. For now we must do it this way or it won't work.
- setup.js setups up some overall settings for the application
- app.js is the real worker of functions.
At this time the releases are for Windows as that is my main developing platform and where I use this tool mostly; on Windows environments.
First download and install dependencies, then start the app.
git clone https://github.com/cjerrington/net-check.git cd net-check npm install npm start
Electron Forge allows us to make builds based on our operating system we are running from. Linux (Debian) and Windows 10 tested.
npm run make
You can check websites like google.com, github.com, or any URL you need and the port. It is best to use the FQDN for local addresses or use the hostnames IP instead.
Please let me know if you have any issues or questions. If you have a suggestion for approval create an issue or a pull request.