This state-of-the-art plagiarism checker API leverages the power of OpenAI API, Next.js, Redis, Prisma, Material UI, Tailwind CSS, and TypeScript to provide advanced text analysis and generate a comprehensive percentage score of textual similarity, ensuring the utmost precision and accuracy in detecting plagiarism.
- Check for plagiarism in text
- Returns percentage score of similarity
- Utilizes OpenAI API for advanced natural language processing
- Built with Next.js for server-side rendering and API endpoints
- Google auth engine for login and signup
- Uses Redis for caching and performance optimization
- Uses Prisma for database management
- Styled with Material UI and Tailwind CSS for modern design
- Implemented with TypeScript for type safety and better code maintainability
To use this API, you need to have an API key from OpenAI. You also need to have Redis and Prisma installed on your machine. Follow the steps below to get started:
- Clone this repository
- Install dependencies using
npm install
- Create a
.env
file and set your OpenAI API key, Redis and Prisma connection strings. See the.env.example
file for reference. - Run the API using
npm run dev
POST /api/v1/similarity
: Check for plagiarism in text. Send a JSON object with the following fields:text
: The text to be checked for plagiarism.
Returns a JSON object with the following fields:
Contributions are welcome! To contribute, please fork this repository and create a pull request with your changes.
This project is licensed under the MIT License - see the LICENSE file for details.