{"id":26414235,"url":"https://github.com/borisskert/ng-electron","last_synced_at":"2026-04-12T17:08:08.256Z","repository":{"id":37215658,"uuid":"183629504","full_name":"borisskert/ng-electron","owner":"borisskert","description":"Code which shows how to integrate an Angular-based app into Electron","archived":false,"fork":false,"pushed_at":"2023-01-07T05:01:43.000Z","size":3198,"stargazers_count":0,"open_issues_count":30,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-05-29T19:03:54.837Z","etag":null,"topics":["angular","angular-cli","autoupdater","electron","electron-builder","macos","windows"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/borisskert.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-04-26T13:02:09.000Z","updated_at":"2019-09-19T07:33:49.000Z","dependencies_parsed_at":"2023-02-06T12:31:47.831Z","dependency_job_id":null,"html_url":"https://github.com/borisskert/ng-electron","commit_stats":null,"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/borisskert%2Fng-electron","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/borisskert%2Fng-electron/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/borisskert%2Fng-electron/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/borisskert%2Fng-electron/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/borisskert","download_url":"https://codeload.github.com/borisskert/ng-electron/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244130273,"owners_count":20402753,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["angular","angular-cli","autoupdater","electron","electron-builder","macos","windows"],"created_at":"2025-03-17T23:58:20.806Z","updated_at":"2026-04-12T17:08:08.228Z","avatar_url":"https://github.com/borisskert.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ng-electron [![Build Status](https://travis-ci.com/borisskert/ng-electron.svg?branch=master)](https://travis-ci.com/borisskert/ng-electron)\n\nThis project shows how to integrate a standard [Angular](https://angular.io)-Application into [Electron](https://electronjs.org). \n\n![image](doc/mainscreen.png)\n\n## Persistence\n\n| Environment | Persistence  layer |\n|-------------|--------------------|\n| Angular     | Saves content value to browser's indexedDB `level-js-ng-electron` by key `example-data`\n| Electron    | Saves content value into a level-DB on filesystem in directory `${HOME}/Library/Application Support/ng-electron/ng-electron.db` (macos) respectively `%APPDATA%\\ng-electron/ng-electron.db` (windows)\n\n## Build and run (default Angular way)\n\nThis project was generated with [Angular CLI](https://github.com/angular/angular-cli) version 7.3.3.\n\n### Development server\n\n* Run `npm run start` for a dev server. Navigate to `http://localhost:4200/`. The app will automatically reload if you change any of the source files.\n\n### Build\n\n* Run `npm run build:web` to build the project. The build artifacts will be stored in the `dist/` directory.\n* Run `npm run build:web:prod` for a production build. \n\n### Running unit tests\n\n* Run `npm run test` to execute the unit tests via [Karma](https://karma-runner.github.io).\n* Run `npm run test:ci` to execute unit tests in a CI environment.\n\n## Build and run (Electron way)\n\nThis project uses [Electron](https://electronjs.org) version 4.0.0 to build a desktop app.\n\n### Development server\n\n* Run `electron:serve` to serve your app via Electron.\nNotice that you have to serve your app via the Angular-way before that.\n\n### Build\n\n* Run `build:electron` to build the project.\n* Run `npm run build:electron:prod` for a production build.\n* Run `npm run electron:windows` to build the windows app. The build artifacts will be stored in the `release/` directory.\n* Run `npm run electron:mac` to build the windows app. Notice that you need a macos-based OS to run this step. The build artifacts will be stored in the `release/` directory.\n\n### Run\n\n* Run `npm run electron:local` to run the Electron-based app locally.\n\n## Further help\n\n* To get more help on the Angular CLI use `ng help` or go check out the [Angular CLI README](https://github.com/angular/angular-cli/blob/master/README.md).\n* To get more help how to build and run the app via Electron go check out the [official Electron-Website](https://electronjs.org).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fborisskert%2Fng-electron","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fborisskert%2Fng-electron","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fborisskert%2Fng-electron/lists"}