Skip to content

Reeyoou/Law4U

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

⚖️ Law4u

A mobile-first application that helps laypersons understand Singapore's legal system and navigate it with confidence — from looking up statutes and penal codes to tracking upcoming court dates.

⭐ 1st Runner Up in SMU LIT Hackathon 2023

⚠️ Law4u provides legal information, not legal advice. Always consult a qualified Singapore lawyer for matters requiring professional legal counsel.


📦 Project Structure

Law4u/
├── Chatbot.py          # Telegram chatbot (Python)
├── requirements.txt    # Python dependencies
├── .env                # Environment variable template
├── App.zip             # Kotlin-based Android application
└── Hifi.xd             # Adobe XD high-fidelity mockups

✨ Features

🤖 Telegram Chatbot (Chatbot.py)

An AI-powered chatbot that answers questions about the Singapore legal system.

📱 Android App (App.zip)

A Kotlin-based native Android application.

Court Date Notification System

  • Notifies users of upcoming court hearings they are required to attend
  • Provides procedural guidance specific to each court attendance type (e.g. Mentions, Pre-Trial Conferences, Trials)
  • Surfaces relevant general information to help users prepare

Legal Information Hub

  • Browse Singapore statutes and legal topics in plain language
  • Searchable legal reference content

🎨 HiFi Design (Hifi.xd)

High-fidelity mockups built in Adobe XD covering the full user experience of the Android application.


🚀 Getting Started (Telegram Bot)

Prerequisites

Installation

  1. Clone the repository

    git clone https://github.com/your-username/Law4U.git
    cd Law4U
  2. Install dependencies

    pip install -r requirements.txt
  3. Set up environment variables

    Create a .env file in the project root:

    TELEGRAM_BOT_TOKEN=your_telegram_bot_token_here
    OPENAI_API_KEY=your_openAI_api_key_her
  4. Run the bot

    python Chatbot.py

🛠️ Tech Stack

Layer Technology
Chatbot Python, python-telegram-bot
AI / LLM OpenAI GPT-4o
Android App Kotlin
UI Design Adobe XD

📋 Bot Commands

Command Description
/start Introduction and onboarding message
/help Usage guide and example questions

🗺️ Roadmap

  • Integrate chatbot AI into the Android app natively
  • Add support for case status lookup via eLitigation
  • Push notifications for court date reminders
  • Multilingual support (Mandarin, Malay, Tamil)
  • Lawyer directory / referral feature

⚠️ Disclaimer

Law4U is intended for informational purposes only. The information provided does not constitute legal advice and should not be relied upon as such. For any legal matter, please consult a qualified lawyer licensed in Singapore. You may find one through the Law Society of Singapore.


📄 License

This project is licensed under the MIT License. See LICENSE for details.

About

Simplifying Singapore legal information for laypeople

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages