{"id":21897647,"url":"https://github.com/webmaxru/ng-ai","last_synced_at":"2025-10-09T09:30:45.810Z","repository":{"id":256199225,"uuid":"854569633","full_name":"webmaxru/ng-ai","owner":"webmaxru","description":"Demo application for in-browser Generative AI: ONNX, Transformers.js, WebGPU, WebNN","archived":false,"fork":false,"pushed_at":"2024-11-09T11:52:27.000Z","size":1422,"stargazers_count":7,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-02T23:11:50.142Z","etag":null,"topics":["onnxruntime-web","transformersjs","webgpu","webnn","webnn-api"],"latest_commit_sha":null,"homepage":"https://ng-ai-zeta.vercel.app","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/webmaxru.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":"2024-09-09T12:12:06.000Z","updated_at":"2025-03-24T11:11:01.000Z","dependencies_parsed_at":"2024-09-09T15:11:39.563Z","dependency_job_id":"7868e8f0-ab03-4730-b596-d1b526ceccc3","html_url":"https://github.com/webmaxru/ng-ai","commit_stats":null,"previous_names":["webmaxru/ng-ai"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/webmaxru/ng-ai","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/webmaxru%2Fng-ai","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/webmaxru%2Fng-ai/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/webmaxru%2Fng-ai/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/webmaxru%2Fng-ai/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/webmaxru","download_url":"https://codeload.github.com/webmaxru/ng-ai/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/webmaxru%2Fng-ai/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279001135,"owners_count":26083022,"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-10-09T02:00:07.460Z","response_time":59,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","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":["onnxruntime-web","transformersjs","webgpu","webnn","webnn-api"],"created_at":"2024-11-28T14:18:17.104Z","updated_at":"2025-10-09T09:30:45.082Z","avatar_url":"https://github.com/webmaxru.png","language":"TypeScript","funding_links":[],"categories":["TypeScript"],"sub_categories":[],"readme":"# Angular AI: WebNN using Transformers.js\n\nOffline-ready, privacy-first application that leverages the most suitable hardware available on the edge to run AI workloads.\n\n![Logo](https://github.com/webmaxru/ng-ai/raw/main/public/icons/icon-512x512.png)\n\n## Features\n\n- Feature detection: WebGPU, WebNN, NPU\n- Running AI inference in the worker thread, off the main thread\n- Installable, offline-ready PWA\n- Multiple use cases: image classification, sentiment analysis, and more\n\n## Technologies used\n\n- Angular 18 + Angular Material 3\n- Workbox: offline-readiness, precaching, runtime caching, smart update flow\n- Transformers.js: AI pipelines, models caching. Using ONNX Web Runtime and WebNN, WebGPU under the hood\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 Overview and Command Reference](https://angular.dev/tools/cli) page.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwebmaxru%2Fng-ai","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwebmaxru%2Fng-ai","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwebmaxru%2Fng-ai/lists"}