LegalLink is a decentralized platform designed to bring transparency and efficiency to the legal ecosystem. Our solution leverages blockchain for secure, immutable recording of legal document metadata and utilizes IPFS for decentralized document storage. Additionally, the platform features a modern, user-friendly frontend built with Vue.js and a multi-modal retrieval system for both legal documents and images.
India’s judicial system is overburdened, slow, and often inaccessible, leading to denial or delay of justice. Despite the core principle of "Innocent until proven guilty", wrongful punishments and undertrial detentions are common.
- 5+ crore cases pending in Indian courts (2024)
- Average resolution time: 5–10 years
- 80%+ of Indian prisoners are undertrials, waiting years for a verdict
- Even then, innocents can be wrongfully punished
- Severe judge shortage – only ~21 judges per million (vs recommended 50)
- Case overload – over 2,000+ cases per judge annually
- Manual verification of documents – slow and error-prone
- Poor preservation of legal documents – risk of damage or forgery
- Lack of awareness – especially in rural and underprivileged areas
- Fear of the legal process – people avoid filing cases
- Complexity of legal language and process – too hard to navigate without help
- Document forgery – easy to manipulate legal papers
- Confusing legal system – vague and inconsistent interpretations
- No secure way to store proof/evidence
- Lack of community-level legal helpers or advisors
You’re not alone.
We know the system wasn’t built with the common person in mind.
But that’s where we step in.
✅ We've studied the flaws.
✅ We've mapped out the pain points.
✅ And now, we’re here to build a secure, smart, and accessible legal solution for everyone.
- Combines LLMs (LLaMA, Grok, DeepSeek r1, Gemini 2.0 Flash) for text, image, and PDF understanding
- Reads contracts, scans documents, decodes medical reports, and detects fraud
- Built with LangChain + sklearn for reasoning, retrieval, and contextual intelligence
- Capable of understanding emotional cues in voice/text
- Offers empathy-driven responses to people in distress
- Acts like a therapist-lite in emotionally charged situations
- Can analyze medical prescriptions, reports, and suggest first-aid or next steps
- Not a replacement for doctors, but a smart medical wingman
This is more than a legal bot—this is your case partner, life navigator, and AI wingman in tough times.
- All documents and proofs are stored on IPFS with Blockchain for:
- Integrity
- Tamper-proof history
- Decentralized, censorship-resistant storage
- Verified legal/community volunteers
- Matchmaking via our Recommendation System that suggests people who’ve faced similar issues
- Peer-led support that keeps the human touch alive
- Dashboard for:
- Your cases
- Connected lawyers
- Evidence and documentation
- Encrypted, organized, and easy to access
| Layer | Tech Used |
|---|---|
| 🧠 AI Assistant | LangChain, sklearn, Grok, LLaMA, DeepSeek r1, Gemini |
| 🧑 Backend | Django (REST APIs) |
| 🔗 Storage | Blockchain + IPFS |
| 🧑🎨 Frontend | Vue.js |
| 🔍 Matching Sys | Content-based + Similar-case Recommendation Engine |
- 🧠 Legal + Medical Document Analysis
- 🫂 Emotional Counseling & Suggestive Support
- 🕵️ Fraud Detection in Contracts
- 🧾 Document Summarization and Insight Extraction
- Backend:
- Python 3.8+
- Django 5.1+
- Frontend:
- Node.js and npm (or Yarn)
- Blockchain & IPFS:
- MetaMask installed on your browser
- Access to an IPFS gateway (e.g., Infura)
-
Clone the Repository:
git clone https://github.com/Ayushmaan06/LegalLink.git cd LegalLink -
Backend Setup:
- Navigate to the backend folder:
cd LegalLink - Configure your
.envfile and updatesettings.pyas needed. - Run migrations and start the server:
python manage.py migrate python manage.py runserver
- Navigate to the backend folder:
-
Frontend Setup:
- Navigate to the frontend folder:
cd ../frontend - Install dependencies:
npm install
- Run the development server:
npm run serve
- Navigate to the frontend folder: