Inspiration
Legal documents in India — rental agreements, employment contracts, notices, FIRs — are written in dense legal language that most people can't understand without a lawyer. On top of that, if someone finds themselves in a legal situation, like being questioned by police or facing a minor offence, they often have no idea what the law actually says, what punishment applies, or what their rights are. We wanted to build something that closes that gap using AI, so people can understand their paperwork and their rights without needing to hire a lawyer for every small doubt.
What it does
Justice Navigator has two core features:
Document Explainer — Users photograph a legal document (or paste text), and the app explains it in plain language, flags risky clauses to watch out for, and suggests questions to ask before signing. It works in English and regional Indian languages (Hindi, Tamil, Telugu, Kannada, Malayalam).
Know Your Rights — Users describe what happened, and the app explains which Indian law applies, the likely punishment or penalty for that offence, and practical next steps — including their rights if arrested or questioned. It draws from a built-in reference of common offences, simplified into plain language.
How we built it
We built Justice Navigator as a web app using HTML, CSS, and JavaScript, with the Gemini API powering the document analysis and legal explanations. The app supports photo capture and text/file upload for documents, and multi-language output for accessibility across India.
Challenges we ran into
Simplifying complex legal language without losing accuracy was the biggest challenge — we had to be careful to add disclaimers so users understand this is guidance, not a replacement for professional legal advice. We also worked through API reliability issues (handling occasional server overload errors gracefully) to keep the experience smooth.
Accomplishments that we're proud of
We're proud of building a tool that works in multiple Indian languages, making legal literacy more accessible beyond just English speakers. We're also proud that both major features — document explanation and know-your-rights — work end-to-end from a live deployed link.
What we learned
We learned how to work with the Gemini API for structured, multi-language legal text generation, and how to balance simplicity with responsibility when presenting legal information to non-experts.
(## What's next for "Justice Navigator" We'd like to expand the offence database to cover more sections of Indian law with greater detail, add voice input for users who find typing difficult, and include state-specific variations for things like traffic fines. We also want to add a feature to help users find and connect with verified local lawyers or legal aid services when a situation needs professional help beyond what the app can explain.
Built With
- claude
- css
- gemini-api
- github
- html
- javascript
Log in or sign up for Devpost to join the conversation.