Murdock enables Indian citizens, lawyers, businesses, and developers to generate legally structured, court-acceptable plain-paper documents using AI assistance.
Murdock is built as a modular pipeline that isolates complex legal logic from the interface. It turns messy, unstructured facts into high-fidelity, compliant legal JSON.
sequenceDiagram
participant U as User Input
participant N as Normalizer (TS)
participant E as Engine (Modules)
participant A as AI Structuring (LLM)
participant V as Validator (Schema)
participant D as Document (PDF/MD)
U->>N: Raw Facts (Voice/Text)
N->>E: Clean Data
E->>A: Contextual Mapping
A-->>E: Structured Clauses
E->>V: Compliance Check
V-->>E: 100% Validated
E->>D: Professional Template
D-->>U: Final Legal Document
Built with a focus on precision, speed, and scalability:
- Frontend:
React 18+Vite+Tailwind CSS+shadcn/ui+Framer Motion - Authentication:
Supabase Auth - Backend APIs:
Netlify Functions (Node.js/TypeScript) - Database:
Supabase PostgreSQL - Infrastructure: Fully serverless (Netlify + Supabase)
- 7 Core Legal Modules: Consumer Complaints, RTI Applications, Legal Notices, FIR Drafts, Employment Grievances, Rental Disputes, Banking/UPI Frauds
- Multilingual Support: English, Hindi, Marathi, Gujarati with localized legal glossaries
- Async AI Generation: Queue-based processing using Netlify Background Functions
- Secure Authentication: Role-based access via Supabase Auth
- Zero-Infra Architecture: Fully serverless deployment
- Node.js (v18+)
- npm / pnpm / yarn
-
Clone the repository:
git clone https://github.com/adisingh-cs/Murdock.git
-
Install dependencies:
npm install
-
Start the development server:
npm run dev
Tip
Create a .env.local file with your VITE_SUPABASE_URL and VITE_SUPABASE_ANON_KEY.
# Supabase Keys
VITE_SUPABASE_URL=your_project_url
VITE_SUPABASE_ANON_KEY=your_anon_key
SUPABASE_SERVICE_ROLE_KEY=your_service_role_key
# AI Provider Key
OPENAI_API_KEY=your_openai_api_key- Build Command:
npm run build - Publish Directory:
dist
We are building in public. We welcome contributions from both developers and legal experts:
- Coders: Build new legal modules or improve AI pipelines
- Lawyers: Validate and improve legal accuracy across jurisdictions
Please read our CONTRIBUTING.md for detailed guidelines.
This project is licensed under the Apache License 2.0. See the LICENSE file for details.
