{"id":19738189,"url":"https://github.com/tnicola/ngx-feedback","last_synced_at":"2025-04-30T05:31:06.961Z","repository":{"id":45655503,"uuid":"176010522","full_name":"tnicola/ngx-feedback","owner":"tnicola","description":"Angular user feedback collector library","archived":false,"fork":false,"pushed_at":"2021-12-02T08:14:11.000Z","size":2015,"stargazers_count":24,"open_issues_count":16,"forks_count":8,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-10-31T17:45:54.998Z","etag":null,"topics":["angular","component","feedback","feedback-form","screenshot","user-feedback"],"latest_commit_sha":null,"homepage":"https://tnicola.github.io/ngx-feedback/","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/tnicola.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-03-16T18:37:47.000Z","updated_at":"2024-05-03T08:46:46.000Z","dependencies_parsed_at":"2022-09-06T13:40:38.023Z","dependency_job_id":null,"html_url":"https://github.com/tnicola/ngx-feedback","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tnicola%2Fngx-feedback","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tnicola%2Fngx-feedback/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tnicola%2Fngx-feedback/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tnicola%2Fngx-feedback/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tnicola","download_url":"https://codeload.github.com/tnicola/ngx-feedback/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":224197834,"owners_count":17271999,"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","component","feedback","feedback-form","screenshot","user-feedback"],"created_at":"2024-11-12T01:13:28.609Z","updated_at":"2024-11-12T01:13:29.244Z","avatar_url":"https://github.com/tnicola.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![npm version](https://badge.fury.io/js/ngx-feedback.svg)](https://badge.fury.io/js/ngx-feedback)\n# ngx-feedback 📸⭐💬\nAngular user feedback library\n\nngx-feedback is an Angular library for collecting Web app users feedbacks. The user will be able to leave a review for the entire page or select a a specific feature and rate it, leaving a comment.\n\nThis library is meant to provide a fast, easy and clean way to collect user feedback through visible button and it provides a service that listens for incoming feedback and provides the data.\n\nngx-feedback relies upon an already existing javascript library [html2canvas](https://github.com/niklasvh/html2canvas) in order to take screenshots of the page.\n\n### Features\n- A feedback button will be attached automatically to the edge of the page.\n- The possibility to choose for a generic or a specific feedback.\n- A screenshot of the selected area on the page.\n\n\u003cdiv align=\"center\"\u003e\n\t\u003cimg src =\"https://github.com/tnicola/ngx-feedback/blob/master/docs/feedback.gif\" /\u003e\n\u003c/div\u003e\n\n## Demo\n\nLook at the [demo](https://tnicola.github.io/ngx-feedback/). \n\n## Install\nYou'll need to install html2canvas lib (required peer-dependency) in order to be able to take screeshots:\n\n    npm i html2canvas\n\nThen you can install ngx-feedback:\n\n    npm i ngx-feedback\n\n## Usage\nThe usage is pretty simple, you just need to import `NgxFeedbackModule` and `NgxFeedbackService` and then start listening for feedbacks.\n\n`app.module.ts`\n```typescript\nimport { BrowserModule } from '@angular/platform-browser';\nimport { NgModule } from '@angular/core';\n\nimport { AppComponent } from './app.component';\nimport { NgxFeedbackModule } from 'ngx-feedback';\n\n@NgModule({\n  declarations: [\n    AppComponent\n  ],\n  imports: [\n    BrowserModule,\n    NgxFeedbackModule // Add this to your import\n  ],\n  providers: [],\n  bootstrap: [AppComponent]\n})\nexport class AppModule { }\n```\n`app.component.ts`\n```typescript\n\nimport { Component, OnInit } from '@angular/core';\nimport { NgxFeedbackService, FeedbackData } from 'ngx-feedback';\n\n@Component({\n    selector: 'app-root',\n    templateUrl: './app.component.html',\n    styleUrls: ['./app.component.scss']\n})\nexport class AppComponent implements OnInit {\n    constructor(private readonly feedbackService: NgxFeedbackService) {}\n    title = 'ngx-feedback-lib';\n\n    ngOnInit() {\n        this.feedbackService.listenForFeedbacks().subscribe((data: FeedbackData) =\u003e {\n            // Use the data coming from the feedback here\n        });\n    }\n}\n\n```\n\n## License\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftnicola%2Fngx-feedback","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftnicola%2Fngx-feedback","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftnicola%2Fngx-feedback/lists"}