THE LIVE PREVIEW OF THIS PROJECT IS CURRENTLY DOWN DUE TO CLOUD PROVIDER ACCOUNT ISSUES, SORRY FOR THE INCONVENIENCE CAUSED
Legal Summarizer is an AI-powered platform designed to simplify complex legal documents for startups and entrepreneurs. Using advanced natural language processing and machine learning, it automatically summarizes lengthy legal contracts, terms of service, and regulatory documents into clear, actionable insights.
- Intelligent document parsing and analysis
- Automatic extraction of key clauses and obligations
- Multi-language support for international documents
- Real-time processing for quick results
- Risk assessment and alerts
- Clause categorization and highlighting
- Comparison with standard templates
- Key terms identification and explanation
- Clean, intuitive web interface
- Mobile-responsive design
- Document upload and management
- Saved summaries and history
- End-to-end encryption
- Secure document storage
- GDPR compliant
- No data sharing with third parties
- Startups: Review investor agreements and contracts
- Entrepreneurs: Understand NDAs and service agreements
- Teams: Collaborate on document analysis
- Legal Professionals: Automate preliminary document review
- Enterprises: Process bulk legal documents
- Node.js 16+ or Python 3.8+
- Git
- Database (PostgreSQL/MySQL)
- API keys (NLP service if applicable)
git clone https://github.com/Nimmanagotitharunkumarhello/Legal-Summarizer.git
cd Legal-Summarizer
docker-compose up --buildBackend (FastAPI/Django):
cd fastapi_agents
pip install -r requirements.txt
python main.pyFrontend (React/Next.js):
cd front
npm install
npm run dev- Navigate to
http://localhost:3000 - Create an account
- Upload a legal document
- View the AI-generated summary
- Explore key findings and recommendations
This project requires specific environment variables for local development.
Contributors should create a .env file in the root of the project and use the following as a reference:
### Django Ninja Backend
NEON_PASSWORD=your_neon_password_here
NEON_HOST=your_neon_host_here
COGNITO_REGION=your_cognito_region_here
AWS_ACCESS_KEY_ID=your_aws_access_key_id_here
AWS_SECRET_ACCESS_KEY=your_aws_secret_access_key_here
S3_BUCKET_NAME=your_s3_bucket_name_here
USER_POOL_ID=your_user_pool_id_here
USER_CLIENT_ID=your_user_client_id_here
# FastAPI Backend
REDIS_URL=your_redis_url_here
REDIS_PORT=your_redis_port_here
REDIS_PASSWORD=your_redis_password_here
SUBSCRIBER_PATH=your_subscriber_path_here
Notes:
- Replace placeholder values (
your_β¦_here) with your actual credentials locally. - Do not commit your real
.envfile to the repository. - Use this as a sample configuration reference for contributors.
- CONTRIBUTING.md - How to contribute to this project
- DEVELOPMENT.md - Local development setup
- ARCHITECTURE.md - System design and components
- SECURITY.md - Security policies and reporting
- CODE_OF_CONDUCT.md - Community standards
- QUICK_REFERENCE.md - Developer cheat sheet
Legal-Summarizer/
βββ fastapi_agents/ # Backend API services
β βββ main.py
β βββ requirements.txt
β βββ services/
βββ django_back/ # Alternative Django backend
βββ front/ # React/Next.js frontend
β βββ components/
β βββ pages/
β βββ public/
βββ docs/ # Documentation
βββ docker-compose.yml # Docker configuration
βββ README.md # This file
- FastAPI / Django - Web framework
- Python - Core language
- PostgreSQL/MySQL - Database
- Hugging Face/OpenAI - NLP models
- React / Next.js - UI framework
- Tailwind CSS - Styling
- TypeScript - Type safety
- Docker - Containerization
- Docker Compose - Orchestration
- GitHub Actions - CI/CD
POST /api/auth/register - Create account
POST /api/auth/login - User login
POST /api/auth/logout - User logout
POST /api/auth/refresh - Refresh token
POST /api/documents/upload - Upload document
GET /api/documents - List documents
GET /api/documents/{id} - Get document details
DELETE /api/documents/{id} - Delete document
POST /api/summarize - Generate summary
GET /api/summaries/{id} - Get summary
PUT /api/summaries/{id} - Update summary
DELETE /api/summaries/{id} - Delete summary
# Run tests
pytest tests/ # Backend tests
npm test # Frontend tests
# Run with coverage
pytest --cov=services tests/
# Run specific test
pytest tests/test_summarizer.py- Large PDFs (>50MB) may take longer to process
- Some complex legal jargon may need manual review
- Multi-column layouts require preprocessing
We welcome contributions! Please see CONTRIBUTING.md for guidelines.
Quick steps:
- Fork the repository
- Create a feature branch (
git checkout -b feature/amazing-feature) - Commit changes (
git commit -m 'Add amazing feature') - Push to branch (
git push origin feature/amazing-feature) - Open a Pull Request
This project is licensed under the MIT License - see the LICENSE file for details.
- Issues: GitHub Issues
- Email: govind.sys.1061a2314@gmail.com
- Documentation: DEVELOPMENT.md
- Multi-language support
- Advanced filtering options
- Batch processing
- AI-powered recommendations
- Integration with document management systems
- Enhanced security features
- Blockchain verification
- Advanced analytics dashboard
- Mobile app release
- Govind S - Lead Developer
- LinkedIn: Govind-sys
- Email: govind.sys.1061a2314@gmail.com
- Built with β€οΈ for the startup community
- Powered by cutting-edge AI technology
- Thanks to all contributors and supporters
Star on GitHub β | Follow on LinkedIn π₯