Skip to content

Zeelkundariya/AI-Risk-Scanner

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

3 Commits
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

AI Contract Risk Scanner πŸš€

Advanced contract risk analysis powered by AI. This project helps users identify potential risks, unfair clauses, and hidden liabilities in legal documents through a multi-platform ecosystem.

🌟 Key Features

  • AI-Powered Analysis: Leverages OpenAI to perform deep legal analysis of contract text.
  • Real-Time Detection: Highlights immediate risks and suggestions as you type or upload.
  • OCR Support: Extract text from images and PDF documents for seamless analysis.
  • Smart Verdicts: Provides a risk score (1-10) and a clear verdict (Low, Medium, or High Risk).
  • Multi-Platform:
    • Frontend: A modern Next.js dashboard for detailed reports and history.
    • Browser Extension: Seamlessly analyze contracts directly on any webpage.
    • Backend: Robust Express server handling AI logic and document processing.

πŸ› οΈ Technology Stack

  • Frontend: Next.js, React, Tailwind CSS, Chart.js, Socket.io
  • Backend: Node.js, Express, OpenAI API, Multer (File uploads), Tesseract.js (OCR)
  • Extension: Manifest V3, Chrome Extension API, Content Scripts
  • Tools: TypeScript, ESLint, PostCSS

πŸ“‚ Project Structure

contract-scanner/
β”œβ”€β”€ backend/            # Express server & AI logic
β”œβ”€β”€ frontend/           # Next.js dashboard application
β”œβ”€β”€ extension/          # Chrome extension source code
└── shared/             # Shared utilities and logic

πŸš€ Getting Started

  1. Backend: Navigate to backend/, install dependencies with npm install, add your OPENAI_API_KEY to .env, and start with npm start.
  2. Frontend: Navigate to frontend/, install dependencies with npm install, and start with npm run dev.
  3. Extension: Load the extension/ folder as an unpacked extension in Chrome.

Disclaimer: This tool provides automated analysis for informational purposes only and does not constitute formal legal advice.

About

Advanced contract risk analysis powered by AI. This project helps users identify potential risks, unfair clauses, and hidden liabilities in legal documents through a multi-platform ecosystem.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors