A simple photo editor built with Angular 2 and electron. It allows you to upload/drag-and-drop images, apply filters to them, and save them to your desktop.
You will need to have Git and Node.js (5.x and above) + NPM (3.x and above). We generally suggest installing
NVM to manage Node versions. Once those are installed, you will need to install the
typings NPM package globally.
Typings handles the typescript definition files for our application.
First you will need to clone the repo; then you can install the necessary NPM packages and run the app.
# Clone the repo and enter it git clone https://github.com/onehungrymind/electrogram.git cd electrogram # Install dependencies npm i # Install type definitions typings install # To build only npm run build # To build and watch for changes npm run watch # Start the Electron app npm start # runs "electron src"
Distributing the app
We've included an NPM script that will build a distribution version of the app for OSX. To use it, execute
npm run distribute; this will create an OSX app in
releases/Electrogram-darwin-x64 that you can run from your Finder. For more info, check out https://github.com/electron-userland/electron-packager.
Here is a quick overview of the project structure:
Luke Ruebbelke | | | http://onehungrymind.com