mike  by willchen96

AI legal document assistant platform

Created 4 weeks ago

New!

3,519 stars

Top 13.5% on SourcePulse

GitHubView on GitHub
Project Summary

OSS AI Legal Platform

willchen96/mike is an open-source AI Legal Platform designed to assist users with legal documents. It provides a modern stack with a Next.js frontend and an Express backend, leveraging Supabase for robust authentication and PostgreSQL databases, complemented by Cloudflare R2-compatible object storage for scalable document persistence. The platform enables users to upload documents and interact with them via AI, offering a streamlined workflow for legal document analysis and management.

How It Works

The architecture comprises a Next.js client application communicating with an Express.js backend API. The backend orchestrates document ingestion, processing, and interaction with Supabase for data persistence and user management. It integrates with various AI model providers, including Anthropic, Google Gemini, and OpenAI, allowing flexible LLM choices. Document storage is managed using S3-compatible object storage solutions like Cloudflare R2 or MinIO, offering scalability and cost-effectiveness. For local document conversion of DOC/DOCX files to PDF, the system relies on a locally installed LibreOffice instance, ensuring offline processing capabilities for specific formats.

Quick Start & Requirements

  • Prerequisites: Node.js (v20+), npm, git, a Supabase project, an S3-compatible object storage bucket (e.g., Cloudflare R2, MinIO), and API keys for at least one AI model provider (Anthropic, Gemini, OpenAI). LibreOffice is required for DOC/DOCX conversion.
  • Setup: Clone the repository, create backend/.env and frontend/.env.local files, populate them with Supabase, storage, and API credentials. Set up the Supabase database using backend/schema.sql or migration files. Install dependencies with npm install --prefix backend and npm install --prefix frontend.
  • Run Locally: Start the backend with npm run dev --prefix backend and the frontend with npm run dev --prefix frontend.
  • Links: No specific quick-start or demo links are provided in the README.

Highlighted Details

  • Open-source AI Legal Platform.
  • Supports multiple LLM providers: Anthropic, Google Gemini, OpenAI.
  • Integrates Supabase (Auth, Postgres) and S3-compatible storage (Cloudflare R2).
  • Includes local DOC/DOCX to PDF conversion via LibreOffice.

Maintenance & Community

The provided README does not contain information regarding notable contributors, sponsorships, community channels (e.g., Discord, Slack), or a public roadmap.

Licensing & Compatibility

The README does not explicitly state the project's license. This omission requires clarification for assessing commercial use or derivative works.

Limitations & Caveats

Local DOC/DOCX conversion requires LibreOffice to be installed and accessible in the system's PATH. Supabase's default email confirmation service is rate-limited, necessitating custom SMTP configuration for production environments. The absence of a stated license is a significant adoption blocker.

Health Check
Last Commit

1 week ago

Responsiveness

Inactive

Pull Requests (30d)
95
Issues (30d)
66
Star History
3,528 stars in the last 28 days

Explore Similar Projects

Feedback? Help us improve.