This is a minimal Electron application that I wrote to neatly compartmentalize my e-communications tabs into an independent window.
I've seen and used other Electron-based multi-tab e-communication apps, but they're all too bulky or lacking in some simple functionality I wish they had, or they want to make money off you. I'm not going to ever charge money to use this, not from myself (obviously) and not from you either, should you choose to use :]
- Uses electron-tabs for tabbed view
- Uses a simplified data store that just saves info to a JSON file in your local user profile config
- Basic but very functional config window
- Uses dragula to reorder tabs, saves tab order with aforementioned store mechanic
- Remembers your last-active tab/service and reloads that
- Auto-downloads (and caches url for) default favicon for whatever URL you specify; allows for custom favicon
- Loading indicator, just in case a service is behaving funny and you don't realize it's because something isn't done loading
- Per-tab reloadability; per-tab (actually per-url) session forgetting, on right-click of tab
- String-based session partitioning, in case you don't want Facebook to read your Gmail for ad keywords
- Open external links in default browser
- Highly simplified interface (no title bar, drag blank space next to tabs to move window)
- Neat homegrown app icon :]
- More stuff I'm too lazy to update on README or in screenshots at the moment; hover over things in the UI to get an explanation
Just download the appropriate release binary from the release builds, or build your own (read below)
To clone and run this repository you'll need Git and Node.js (which comes with npm) installed on your computer. From your command line:
# Clone this repository
git clone https://github.com/bawachhe/electrocomm
# Go into the repository
cd electrocomm
# Install dependencies
npm install
- MacOS x64:
npm run build-mac
- Linux x64:
npm run build-linux
- Windows x64:
npm run build-windows
(See what these commands do exactly in this part of package.json)
Depending on your OS, CPU architecure, etc. and based on these electron-packager docs, run as follows:
electron-packager . --overwrite --platform=<darwin/linux/win32/etc.> --arch=<ia32/x64/armv*> --icon=res/icon.<png/icns> --prune=true --out=release-builds
npm start
Thank electron-quick-start for this note here
Note: If you're using Linux Bash for Windows, see this guide or use node
from the command prompt.