Key features
- Customizable Layouts: Various layout options for report display
- Responsive Design: Adapts to different screen sizes for consistent user experience
- API Integration: Configurable endpoints for efficient data retrieval
- Accessibility Focused: Inclusive design for a wider range of users
- Error Handling: Effective management of data retrieval errors
Get started
Before you begin
Before you begin, ensure you have:- A Copyleaks account with the ability to complete successful scans and store results
- Server-side application with access to stored Copyleaks reports
- Angular application (version compatibility detailed below)
- Familiarity with the Copyleaks’ Authenticity API. If you haven’t tried it yet, get started with the Detect Plagiarism guide
Installation
First, select the version corresponding to your Angular version:| Angular Version | Library Version |
|---|---|
| Angular 13 | 1.x.x (latest: 1.9.99) |
| Angular 19 | 2.x.x (starting at 2.0.0) |
| Dependency | Version |
|---|---|
| @angular/common | ^13.1.1 |
| @angular/core | ^13.1.1 |
| @angular/localize | ^13.1.1 |
| @angular/material | ^13.1.1 |
| @angular/flex-layout | ^13.0.0-beta.36 |
| scroll-into-view-if-needed | ^2.2.28 |
| ngx-skeleton-loader | ^5.0.0 |
| Dependency | Version |
|---|---|
| @angular/common | ^19.2.14 |
| @angular/core | ^19.2.14 |
| @angular/localize | ^19.2.14 |
| @angular/material | ^19.2.19 |
| ngx-flexible-layout | ^19.0.0 |
| scroll-into-view-if-needed | ^2.2.28 |
| ngx-skeleton-loader | ^6.0.0 |
| @swimlane/ngx-charts | ^22.0.0 |
Integration
The general integration process follows these steps:- Create a Copyleaks account
- Use Copyleaks API to scan for plagiarism
- Use the Export Methods to extract data and save it on your server/cloud
- Create HTTP endpoints to access the stored data
- Present the data in your website via the Copyleaks web report module
Implementation
AddCopyleaksWebReportModule and HttpClientModule to your module’s imports:Advanced customization
You can add custom actions, tabs, and more to the report interface. Here are a few examples:Custom ActionsSummary
You have successfully integrated the Copyleaks Web Report into your Angular application. You can now display detailed plagiarism and AI detection reports to your users.Query parameters
The report component interprets several query parameters:| Parameter | Type | Description |
|---|---|---|
| contentMode | string | Determines content view type (‘text’ or ‘html’) |
| sourcePage | number | Page number in text view pagination (starts from 1) |
| suspectPage | number | Page number in text view pagination (starts from 1) |
| suspectId | string | Identifier of the selected matching result |
| alertCode | string | Code of the selected alert |
Next steps
Package repository on Github
Access the source code and contribute to the development of the Copyleaks Web Report.
Accessibility information (VPAT report)
Review the Voluntary Product Accessibility Template (VPAT) report for accessibility compliance.
Support
Should you require any assistance or have inquiries, contact Copyleaks Support or ask a question on Stack Overflow with thecopyleaks-api tag.
