Logo Lanfrica

ceasarnjuguna/sheria-ai

Domain:

natural language processing

Record type:

softwaretools
Creator:
cea
Host:
Sovereign Legal Intelligence Platform for the Kenya Data Protection Act. # Sheria AI > **Offline-First Legal AI Assistant for Kenyan Law** Sheria AI is a privacy-focused, offline-first legal intelligence platform designed specifically for Kenyan legal practitioners. Built with complete data sovereignty and DPA 2019 compliance at its core. ## 🌟 Key Features - πŸ”’ **100% Offline Operation** - No internet required, complete data sovereignty - πŸ›‘οΈ **DPA 2019 Compliant** - Automatic PII redaction and compliance assessment - ⚑ **High Performance** - FastAPI backend with async processing - 🎨 **Modern UI** - Beautiful React interface with Tailwind CSS - 🐳 **Docker Ready** - Easy deployment with Docker Compose - πŸ‡°πŸ‡ͺ **Kenya-Focused** - Specialized for Kenyan legal system - πŸ“Š **Compliance Assessment** - Automated DPA 2019 compliance evaluation ## πŸš€ Quick Start ### Prerequisites - Docker & Docker Compose (recommended) - OR Python 3.11+ and Node.js 20+ (for local development) ### Using Docker (Recommended) 1. Clone the repository: ```bash git clone cd Sheria_AI ``` 2. Start all services: ```bash docker-compose up ``` 3. Access the application: - **Frontend**: localhost - **Backend API**: localhost - **API Documentation**: localhost ### Local Development #### Backend Setup ```bash cd backend pip install -r requirements.txt uvicorn main:app --reload ``` #### Frontend Setup ```bash cd frontend npm install npm run dev ``` ## πŸ“ Project Structure ``` Sheria_AI/ β”œβ”€β”€ backend/ # FastAPI backend β”‚ β”œβ”€β”€ app/ β”‚ β”‚ β”œβ”€β”€ api/ β”‚ β”‚ β”‚ └── routes/ # API endpoints β”‚ β”‚ β”‚ β”œβ”€β”€ health.py # Health monitoring β”‚ β”‚ β”‚ └── compliance.py # DPA 2019 assessment β”‚ β”‚ └── schemas/ # Pydantic v2 models β”‚ β”‚ β”œβ”€β”€ health.py # Health check schemas β”‚ β”‚ └── compliance.py # Legal entity & compliance models β”‚ β”œβ”€β”€ test_examples/ # Example API requests β”‚ β”œβ”€β”€ main.py # Application entry point β”‚ β”œβ”€β”€ requirements.txt # …