{"id":28996776,"url":"https://github.com/hunkim/nda-checker","last_synced_at":"2025-10-10T11:38:46.740Z","repository":{"id":295333588,"uuid":"989829271","full_name":"hunkim/nda-checker","owner":"hunkim","description":null,"archived":false,"fork":false,"pushed_at":"2025-05-26T16:22:51.000Z","size":119,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-06-25T05:11:35.285Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://v0-nda-2.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/hunkim.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,"zenodo":null}},"created_at":"2025-05-24T23:06:03.000Z","updated_at":"2025-05-26T16:22:54.000Z","dependencies_parsed_at":"2025-05-25T00:48:57.093Z","dependency_job_id":"aab91354-8f06-4fae-a1d9-6817a3f74992","html_url":"https://github.com/hunkim/nda-checker","commit_stats":null,"previous_names":["hunkim/nda-checker"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/hunkim/nda-checker","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hunkim%2Fnda-checker","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hunkim%2Fnda-checker/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hunkim%2Fnda-checker/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hunkim%2Fnda-checker/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hunkim","download_url":"https://codeload.github.com/hunkim/nda-checker/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hunkim%2Fnda-checker/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279003714,"owners_count":26083610,"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-10T02:00:06.843Z","response_time":62,"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":[],"created_at":"2025-06-25T05:11:30.017Z","updated_at":"2025-10-10T11:38:46.712Z","avatar_url":"https://github.com/hunkim.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# NDA Checker\n\nA Next.js application that uses Upstage APIs to parse and analyze Non-Disclosure Agreements (NDAs) for risk assessment.\n\n## Features\n\n- **Document Upload \u0026 Parsing**: Upload PDF, DOC, or DOCX documents and parse them using Upstage Document Parse API\n- **AI-Powered Analysis**: Compare NDAs and identify risks using Upstage SolarLLM\n- **Risk Assessment**: Get detailed risk analysis with recommendations\n- **Modern UI**: Built with Next.js, TypeScript, and Tailwind CSS\n\n## Setup\n\n### 1. Environment Variables\n\nCreate a `.env.local` file in the root directory and add your Upstage API key:\n\n```bash\nUPSTAGE_API_KEY=your_upstage_api_key_here\nUPSTAGE_MODEL_NAME=solar-pro2-preview  # Optional: defaults to \"solar-pro2-preview\"\n```\n\nYou can get your API key from [Upstage Console](https://console.upstage.ai/).\n\n**Environment Variables:**\n- `UPSTAGE_API_KEY` (required): Your Upstage API key for accessing Document Parse and SolarLLM APIs\n- `UPSTAGE_MODEL_NAME` (optional): The SolarLLM model to use for analysis. Defaults to `solar-pro2-preview` if not specified\n\n### 2. Install Dependencies\n\n```bash\nnpm install\n# or\nyarn install\n# or\npnpm install\n```\n\n### 3. Run the Development Server\n\n```bash\nnpm run dev\n# or\nyarn dev\n# or\npnpm dev\n```\n\nOpen [http://localhost:3000](http://localhost:3000) with your browser to see the result.\n\n## Usage\n\n1. **Upload Documents**: Upload your reference NDA and customer NDA in PDF, DOC, or DOCX format\n2. **Document Parsing**: Files are automatically parsed using Upstage Document Parse API\n3. **Analysis**: Once both documents are uploaded, click \"Compare Documents\" to analyze\n4. **Review Results**: View the detailed comparison and risk analysis\n\n## API Integration\n\n### Upstage Document Parse\n\nThe application integrates with Upstage Document Parse API to extract text content from uploaded documents:\n\n- **Endpoint**: `https://api.upstage.ai/v1/document-digitization`\n- **Supported Formats**: PDF, DOC, DOCX\n- **Features Used**: HTML and text extraction, OCR, coordinate mapping\n- **Output Formats**: HTML and plain text for analysis\n\n### Upstage SolarLLM\n\nThe application uses Upstage SolarLLM for intelligent NDA comparison and risk analysis:\n\n- **Model**: Configurable via `UPSTAGE_MODEL_NAME` (defaults to `solar-pro2-preview`)\n- **Endpoint**: `https://api.upstage.ai/v1/chat/completions`\n- **Features**: High reasoning effort for detailed legal analysis\n\n## Project Structure\n\n```\nnda-checker/\n├── app/\n│   ├── api/\n│   │   ├── upload/         # File upload and parsing\n│   │   └── analyze/        # NDA analysis\n│   ├── comparison/         # Results page\n│   └── page.tsx           # Main upload page\n├── components/\n│   ├── file-upload.tsx    # File upload component\n│   ├── comparison-view.tsx # Analysis results\n│   └── ui/                # UI components\n└── lib/                   # Utility functions\n```\n\n## Tech Stack\n\n- **Framework**: Next.js 15 with App Router\n- **Language**: TypeScript\n- **Styling**: Tailwind CSS\n- **UI Components**: Radix UI\n- **AI Integration**: Upstage APIs (Document Parse + SolarLLM)\n\n## License\n\nMIT ","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhunkim%2Fnda-checker","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhunkim%2Fnda-checker","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhunkim%2Fnda-checker/lists"}