{"id":18614764,"url":"https://github.com/andrewjbateman/angular-pwa-eslint","last_synced_at":"2026-04-21T05:31:37.338Z","repository":{"id":96858885,"uuid":"330425010","full_name":"AndrewJBateman/angular-pwa-eslint","owner":"AndrewJBateman","description":":clipboard: Progressive Web App to using AI API to find images","archived":false,"fork":false,"pushed_at":"2023-10-24T11:43:15.000Z","size":4364,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-05-17T01:12:33.751Z","etag":null,"topics":["ai","angular","angular16","chatgpt","eslint","imagesearch","pwa"],"latest_commit_sha":null,"homepage":"","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/AndrewJBateman.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":"2021-01-17T15:40:28.000Z","updated_at":"2023-10-24T11:44:13.000Z","dependencies_parsed_at":null,"dependency_job_id":"1a261620-952f-4082-bdff-0ec4fb231e73","html_url":"https://github.com/AndrewJBateman/angular-pwa-eslint","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/AndrewJBateman/angular-pwa-eslint","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AndrewJBateman%2Fangular-pwa-eslint","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AndrewJBateman%2Fangular-pwa-eslint/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AndrewJBateman%2Fangular-pwa-eslint/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AndrewJBateman%2Fangular-pwa-eslint/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/AndrewJBateman","download_url":"https://codeload.github.com/AndrewJBateman/angular-pwa-eslint/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AndrewJBateman%2Fangular-pwa-eslint/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32078737,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-21T02:38:07.213Z","status":"ssl_error","status_checked_at":"2026-04-21T02:38:06.559Z","response_time":128,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["ai","angular","angular16","chatgpt","eslint","imagesearch","pwa"],"created_at":"2024-11-07T03:26:55.459Z","updated_at":"2026-04-21T05:31:37.323Z","avatar_url":"https://github.com/AndrewJBateman.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# :zap: Angular PWA ESLint\n\n* Progressive Web App using ChatGPT to generate images\n\n* **Note:** to open web links in a new window use: _ctrl+click on link_\n\n![GitHub repo size](https://img.shields.io/github/repo-size/AndrewJBateman/angular-pwa-eslint?style=plastic)\n![GitHub pull requests](https://img.shields.io/github/issues-pr/AndrewJBateman/angular-pwa-eslint?style=plastic)\n![GitHub Repo stars](https://img.shields.io/github/stars/AndrewJBateman/angular-pwa-eslint?style=plastic)\n![GitHub last commit](https://img.shields.io/github/last-commit/AndrewJBateman/angular-pwa-eslint?style=plastic)\n\n## :page_facing_up: Table of contents\n\n* [:zap: Angular PWA ESLint](#zap-angular-pwa-eslint)\n  * [:page\\_facing\\_up: Table of contents](#page_facing_up-table-of-contents)\n  * [:books: General info](#books-general-info)\n  * [:camera: Screenshots](#camera-screenshots)\n  * [:signal\\_strength: Technologies](#signal_strength-technologies)\n  * [:floppy\\_disk: Setup](#floppy_disk-setup)\n  * [:computer: Code Examples](#computer-code-examples)\n  * [:cool: Features](#cool-features)\n  * [:clipboard: Status \\\u0026 To-Do List](#clipboard-status--to-do-list)\n  * [:clap: Inspiration](#clap-inspiration)\n  * [:file\\_folder: License](#file_folder-license)\n  * [:envelope: Contact](#envelope-contact)\n\n## :books: General info\n\n* [Progressive Web App](https://web.dev/progressive-web-apps/) to deliver enhanced capabilities, reliability, and installability while reaching anyone, anywhere, on any device with a single codebase.\n\n## :camera: Screenshots\n\n![Example screenshot](./imgs/ai-image.png)\n\n## :signal_strength: Technologies\n\n* [Angular v16](https://angular.io/)\n* [Angular PWA v16](https://angular.io/guide/service-worker-getting-started) to add Angular service worked to app\n* [Open AI API](https://platform.openai.com/docs/api-reference/introduction)\n\n## :floppy_disk: Setup\n\n* Install dependencies using `npm i`\n* Get yourself a ChatGPT API key and Organisation ID from [openai.com](https://platform.openai.com/docs/api-reference)\n* Run `npm run lint:fix` to lint app \u0026 fix errors\n* Run `npx prettier --write .` to apply prettier rules to ALL files, except those listed in `.prettierignore`\n* Run `npx prettier --check .` to check all files using prettier rules\n* Run `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## :computer: Code Examples\n\n* 'ai-search.component.ts' method to search for AI image\n\n```typescript\nngOnInit(): void {\n\t\tconst requestImage: ImageRequest = {\n\t\t\tprompt: \"A live salmon with a funny face\",\n\t\t\tn: 1,\n\t\t\tsize: \"256x256\"\n\t\t};\n\n\t\tthis.imageService\n\t\t\t.fetchImageFromPrompt(requestImage)\n\t\t\t.pipe(\n\t\t\t\ttap((res) =\u003e console.log(\"res: \", res, typeof res)),\n\t\t\t\tmap((res: any) =\u003e res.body),\n\t\t\t\tmap((image) =\u003e image.data),\n\t\t\t\tfilter((images) =\u003e images.length != 0)\n\t\t\t)\n\t\t\t.subscribe((images) =\u003e {\n\t\t\t\tthis.generatedImage = images[0].url;\n\t\t\t});\n\t}\n```\n\n## :cool: Features\n\n* Uses ChatGPT to search for images\n\n## :clipboard: Status \u0026 To-Do List\n\n* Status: Working\n* To-Do: Add more ChatGPT search types, correct AI search result model 'Result' in 'image.ts' file\n\n## :clap: Inspiration\n\n* [PWAs (Progressive Web Apps) in Angular - Make them look like Native Mobile Apps! - Roman Just Codes](https://www.youtube.com/watch?v=WgdUGwTE1XU\u0026t=127s)\n* [A Guide to Building a PWA in Angular 8](https://levelup.gitconnected.com/a-guide-to-building-a-pwa-in-angular-acea27ae708d)\n* [Enea Jahollari: Configure Prettier and ESLint with Angular](https://itnext.io/configure-prettier-and-eslint-with-angular-e7b4ce979cd8)\n\n## :file_folder: License\n\n* This project is licensed under the terms of the MIT license.\n\n## :envelope: Contact\n\n* Repo created by [ABateman](https://github.com/AndrewJBateman), email: `gomezbateman@yahoo.com`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandrewjbateman%2Fangular-pwa-eslint","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fandrewjbateman%2Fangular-pwa-eslint","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandrewjbateman%2Fangular-pwa-eslint/lists"}