{"id":16611428,"url":"https://github.com/pkief/angular-cli-electron","last_synced_at":"2025-07-22T02:36:10.551Z","repository":{"id":24766588,"uuid":"101581789","full_name":"PKief/angular-cli-electron","owner":"PKief","description":"Angular CLI + Electron","archived":false,"fork":false,"pushed_at":"2024-03-28T16:02:48.000Z","size":3372,"stargazers_count":48,"open_issues_count":7,"forks_count":14,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-04-03T21:42:47.911Z","etag":null,"topics":["angular","angular-cli","electron","nodejs"],"latest_commit_sha":null,"homepage":"https://medium.com/@PhilippKief/angular-desktop-apps-a9ce9e3574e8","language":"HTML","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/PKief.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-08-27T21:35:10.000Z","updated_at":"2024-08-28T13:30:24.000Z","dependencies_parsed_at":"2023-02-15T16:00:57.001Z","dependency_job_id":"5ad006b3-774e-46f9-b74f-a5d30ad4a5ba","html_url":"https://github.com/PKief/angular-cli-electron","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/PKief/angular-cli-electron","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PKief%2Fangular-cli-electron","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PKief%2Fangular-cli-electron/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PKief%2Fangular-cli-electron/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PKief%2Fangular-cli-electron/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/PKief","download_url":"https://codeload.github.com/PKief/angular-cli-electron/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PKief%2Fangular-cli-electron/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266413131,"owners_count":23924672,"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","status":"online","status_checked_at":"2025-07-22T02:00:09.085Z","response_time":66,"last_error":null,"robots_txt_status":null,"robots_txt_updated_at":null,"robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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","electron","nodejs"],"created_at":"2024-10-12T01:37:27.432Z","updated_at":"2025-07-22T02:36:10.493Z","avatar_url":"https://github.com/PKief.png","language":"HTML","readme":"# Angular Cli + Electron\n\nThis project was generated with [Angular CLI](https://github.com/angular/angular-cli) version 15.0.3.\n\nThe Angular project is wrapped in an Electron environment, that enables you to start the application in a separate window on your desktop.\n\n## Development server\n\nRun `ng serve` for a dev server. Navigate to `http://localhost:4200/`. The application will automatically reload if you change any of the source files.\n\n## Code scaffolding\n\nRun `ng generate component component-name` to generate a new component. You can also use `ng generate directive|pipe|service|class|guard|interface|enum|module`.\n\n## Build\n\nRun `ng build` to build the project. The build artifacts will be stored in the `dist/` directory.\n\n## Running unit tests\n\nRun `ng test` to execute the unit tests via [Karma](https://karma-runner.github.io).\n\n## Running end-to-end tests\n\nRun `ng e2e` to execute the end-to-end tests via a platform of your choice. To use this command, you need to first add a package that implements end-to-end testing capabilities.\n\n## Further help\n\nTo get more help on the Angular CLI use `ng help` or go check out the [Angular CLI README](https://github.com/angular/angular-cli).\n\n## Add support for file system ([no official support](https://github.com/angular/angular-cli/issues/4227)):\n\nCreate a file called `native.js` in the `src` folder and insert the following:\n\n```js\nwindow.fs = require(\"fs\");\n```\n\nAdd this file to the `.angular-cli.json` scripts array:\n\n```json\n\"scripts\": [\n    \"native.js\"\n],\n```\n\nAdd the following lines to `polyfills.ts`:\n\n```ts\ndeclare global {\n  interface Window {\n    fs: any;\n  }\n}\n```\n\nAfter that you can access the filesystem with:\n\n```ts\nwindow.fs.writeFileSync(\"sample.txt\", \"my data\");\n```\n\nSee this [pull request](https://github.com/PKief/angular-cli-electron/pull/1/files) to follow the changes.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpkief%2Fangular-cli-electron","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpkief%2Fangular-cli-electron","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpkief%2Fangular-cli-electron/lists"}