{"id":16773555,"url":"https://github.com/wkylin/ng-pwa","last_synced_at":"2026-05-08T00:42:35.603Z","repository":{"id":145689345,"uuid":"126824366","full_name":"wkylin/ng-pwa","owner":"wkylin","description":"angular pwa...","archived":false,"fork":false,"pushed_at":"2018-05-11T12:02:30.000Z","size":609,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-06-20T08:06:47.690Z","etag":null,"topics":["angular","angular-cli","http-server","ngrok","pwa","typescript"],"latest_commit_sha":null,"homepage":"https://wkylin.github.io/ng-pwa/","language":"TypeScript","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/wkylin.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":"2018-03-26T12:19:53.000Z","updated_at":"2018-05-11T12:02:32.000Z","dependencies_parsed_at":"2023-06-04T22:15:26.038Z","dependency_job_id":null,"html_url":"https://github.com/wkylin/ng-pwa","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/wkylin/ng-pwa","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wkylin%2Fng-pwa","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wkylin%2Fng-pwa/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wkylin%2Fng-pwa/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wkylin%2Fng-pwa/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/wkylin","download_url":"https://codeload.github.com/wkylin/ng-pwa/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wkylin%2Fng-pwa/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":260907157,"owners_count":23080612,"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","http-server","ngrok","pwa","typescript"],"created_at":"2024-10-13T06:46:16.066Z","updated_at":"2026-05-08T00:42:30.579Z","avatar_url":"https://github.com/wkylin.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# NgPwa\n\nThis project was generated with [Angular CLI](https://github.com/angular/angular-cli) version 1.7.3.\n\n## Development server\n\nRun `ng serve` for a dev server. Navigate to `http://localhost:4200/`. The app 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. Use the `-prod` flag for a production build.\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 [Protractor](http://www.protractortest.org/).\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/blob/master/README.md).\n\n\n## Http-server\n\n## rm mkdir cp\n\n1. npm install rimraf cpr make-dir-cli --save-dev\n2. npm install --global copy\n3. npm install --global make-dir-cli\n4. npm install scripty --save-dev\n5. npm install --global opn-cli\n6. npm install onchange --save-dev\n7. npm install imagemin-cli --save-dev\n8. npm install -g nodemon\n9. npm install pm2 -g\n10. npm install express morgan --save-dev\n\n+ \"release:patch\": \"npm version patch \u0026\u0026 git push \u0026\u0026 git push --tags\",\n+ \"release:minor\": \"npm version minor \u0026\u0026 git push \u0026\u0026 git push --tags\",\n+ \"release:major\": \"npm version major \u0026\u0026 git push \u0026\u0026 git push --tags\",\npatch 是更新补丁版本，minor 是更新小版本，major 是更新大版本\n\n## Cygwin \n1. 安装Cygwin https://cygwin.com/\n2. C:\\cygwin64\\home\\UserName\n3. openssl genrsa -out key.pem 1024\n4. openssl req -new -key key.pem -out cert.csr\n5. openssl x509 -req -in cert.csr -signkey key.pem -out cert.pem\n6. http-server -S  -C cert.pem -K key.pem\n\n## Ngrok\n1. \"build\": \"ng build --prod\",\n2. \"http:server\": \"cd dist \u0026\u0026 http-server -p 9088\",\n3. \"ngr\": \"ngrok http 9088\",\n\n## PWA demo\n[https://wkylin.github.io/ng-pwa/](https://wkylin.github.io/ng-pwa/)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwkylin%2Fng-pwa","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwkylin%2Fng-pwa","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwkylin%2Fng-pwa/lists"}