JusticeMate is an AI-powered legal assistant designed to make legal support accessible, affordable, and easy to understand for everyone. Leveraging advanced AI models, it provides instant legal rights summaries, drafts formal complaint letters, translates complex legal language into plain terms, and assists in mediation for dispute resolution.
Features Summarize legal rights based on user input
Generate formal complaint letters with user details
Translate legal jargon into simple language
Mediation assistance by analyzing disputes and suggesting resolutions
Technology Stack Backend: Flask (Python)
AI Integration: Google Gemini API
Frontend: HTML, CSS, JavaScript
Deployment: Can be hosted on platforms like Render, Netlify
Installation Clone the repo: git clone https://github.com/your-username/JusticeMate.git
Create and activate a Python virtual environment python -m venv venv source venv/bin/activate (Linux/macOS) or venv\Scripts\activate (Windows)
Install dependencies: pip install -r requirements.txt
Set environment variables (e.g., GEMINI_API_KEY)
Run the Flask backend python app.py
Open frontend by serving the frontend folder (for example, using python -m http.server 8080)
Usage Access the frontend via browser and interact with the AI-powered legal assistant.
Provide your legal issue and select the type of help needed.
Receive instant AI responses with legal summaries, complaint drafts, or mediation support.