Skip to content
WillMade

WillMade

Making legal guidance accessible to everyone

Created on 9th May 2026

•

WillMade

WillMade

Making legal guidance accessible to everyone

The problem WillMade solves

WillMade — Free Legal Guidance for Karnataka

Millions of people in Karnataka deal with legal and documentation problems every day — unfair rental agreements, rejected government scheme applications, property fraud, and legal procedures they do not fully understand. Most families cannot afford regular legal consultation, and reliable legal guidance is often difficult to access.

WillMade (Nyay Mitra) is designed to make basic legal help accessible, understandable, and free for ordinary citizens.

What WillMade Provides

Rental Agreement Analyzer

An AI-powered tool that analyzes rental agreements using the Karnataka Rent Act, 1999. It identifies potentially unfair or illegal clauses, explains them in simple language, and suggests safer alternatives.

Government Scheme Finder

Users can instantly check eligibility for major Karnataka and central government welfare schemes such as PMAY, Ashraya, PM Kisan, pensions, and ration card programs. The platform also generates a downloadable checklist of required documents and application steps.

Know Your Rights

Provides simple, step-by-step legal guidance for tenants, farmers, and citizens facing common legal issues, without requiring prior legal knowledge.

Property Document Analyzer

An AI-powered system that reviews property-related documents, checks for missing information or signatures, flags suspicious inconsistencies, and helps users identify possible fraud risks.

Who It Helps

  • Tenants signing rental agreements
  • Families applying for welfare schemes
  • Farmers and rural citizens seeking legal awareness
  • First-time property buyers

WillMade is built for Karnataka’s 6.5 crore residents who deserve accessible, affordable, and understandable legal guidance in their own language.

Challenges we ran into

Technical Challenges Faced During Development

1. Identifying the Correct Gemini Model

One of the earliest challenges was finding the correct Gemini API model name. Multiple versions such as gemini-1.5-flash, gemini-1.5-flash-latest, and gemini-2.0-flash returned 404 errors. After debugging and querying the /v1beta/models endpoint directly, we discovered that gemini-2.5-flash was the correct supported model.

2. CORS Configuration Issues

The frontend was running on Vite (localhost:5173), while the backend CORS policy only allowed requests from localhost:3000. This caused silent API request failures until the mismatch was identified and corrected.

3. API Key Security Mistake

During debugging, the Gemini API key was accidentally exposed publicly. The key had to be revoked and regenerated immediately. This highlighted the importance of properly securing secrets using .env files and avoiding exposure during development.

4. Route Export and Import Mismatch

The schemes.js file exported { router, SCHEMES }, but the main server file imported it as a standalone router. This caused a startup crash with the error:
TypeError: argument handler must be a function.
The issue was resolved by correcting the export/import structure.

5. PDF Generation and Streaming

Integrating server-side PDF generation using pdfkit required careful handling of response streams. Additional work was needed to correctly configure HTTP headers such as Content-Type and Content-Disposition so generated PDFs could download properly in the browser.

Tracks Applied (1)

Open Innovation

Why WillMade Fits the Open Innovation Track WillMade (Nyaya Mitra) fits the Open Innovation track by making legal aware...Read More

Discussion

Builders also viewed

See more projects on Devfolio