Skip to content

dougdevitre/justice-os

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

⚖️ Justice OS — The Linux of Justice Tech

License: MIT TypeScript Contributions Welcome PRs Welcome

Open-source modular platform for building justice applications.


The Problem

Justice tech is fragmented. Courts, legal aid organizations, and nonprofits are stuck with siloed systems that don't talk to each other. Expensive proprietary platforms lock out small orgs that need the tools most. There is no interoperability, no shared standards, and no way for the broader community to contribute.

The result: millions of people fall through the cracks of a system that was supposed to protect them.

The Solution

Justice OS is a modular plugin architecture where any organization can build, share, and deploy justice tools. Think of it as the Linux of justice tech — a shared foundation that anyone can extend.

Build a case manager. Plug in a document generator. Add a timeline builder. Share it with every legal aid org in the country. That's Justice OS.


Architecture

graph TD
    subgraph Plugin System
        P1[Community Plugins]
        P2[Custom Integrations]
    end

    subgraph Core Engine
        CM[Case Manager]
        DG[Doc Generator]
        TB[Timeline Builder]
        ET[Evidence Tagger]
        RD[Role Dashboard]
    end

    subgraph Data Layer
        DB[(DynamoDB / Postgres)]
    end

    subgraph API Gateway
        AG[REST + GraphQL API]
    end

    P1 --> CM
    P2 --> CM
    CM --> DB
    DG --> DB
    TB --> DB
    ET --> DB
    RD --> DB
    AG --> CM
    AG --> DG
    AG --> TB
    AG --> ET
    AG --> RD
Loading

Who This Helps

Audience How Justice OS Helps
Legal aid orgs Deploy a full case management stack without vendor lock-in
Courts Modernize operations with modular, interoperable tools
Nonprofits Access free, production-ready justice software
Self-represented litigants Benefit from better tools built by the community
Justice tech startups Build on a shared platform instead of starting from scratch

Features

  • Plugin system with hot-reload support
  • Case Manager — track parties, events, deadlines, and outcomes
  • Doc Generator — assemble court documents from templates
  • Timeline Builder — visualize case history and key dates
  • Evidence Tagger — organize and tag exhibits
  • Role Dashboard — judge, attorney, clerk, and litigant views
  • REST and GraphQL API
  • Multi-tenancy support
  • Audit logging

Tech Stack

Layer Technology
Language TypeScript
Runtime Node.js
API Express / tRPC
Database DynamoDB + Postgres
Testing Vitest
Linting ESLint + Prettier
Build tsc

Quick Start

git clone https://github.com/dougdevitre/justice-os.git
cd justice-os
npm install
npm run dev

Create a Plugin

import { JusticePlugin, PluginContext } from '@justice-os/types';

const deadlineNotifier: JusticePlugin = {
  name: 'deadline-notifier',
  version: '1.0.0',
  description: 'Sends SMS reminders 48 hours before court deadlines',

  async onLoad(ctx: PluginContext) {
    // Subscribe to deadline events from the case manager
    ctx.caseManager.on('deadlineApproaching', async (event) => {
      await sendSMS(event.party.phone, `Reminder: ${event.label} is due ${event.date}`);
    });
  },

  async onUnload() {
    // Cleanup resources
  },
};

export default deadlineNotifier;

See examples/basic-plugin.ts for a complete working example.


Roadmap

Feature Status
Plugin system with hot-reload In Progress
Case Manager CRUD operations In Progress
Doc Generator template engine Planned
REST and GraphQL API layer Planned
Multi-tenancy and org isolation Planned
Audit logging and compliance trail Planned

Justice OS Ecosystem

This repository is part of the Justice OS open-source ecosystem — 32 interconnected projects building the infrastructure for accessible justice technology.

Core System Layer

Repository Description
justice-os Core modular platform — the foundation
justice-api-gateway Interoperability layer for courts
legal-identity-layer Universal legal identity and auth
case-continuity-engine Never lose case history across systems
offline-justice-sync Works without internet — local-first sync

User Experience Layer

Repository Description
justice-navigator Google Maps for legal problems
mobile-court-access Mobile-first court access kit
cognitive-load-ui Design system for stressed users
multilingual-justice Real-time legal translation
voice-legal-interface Justice without reading or typing
legal-plain-language Turn legalese into human language

AI + Intelligence Layer

Repository Description
vetted-legal-ai RAG engine with citation validation
justice-knowledge-graph Open data layer for laws and procedures
legal-ai-guardrails AI safety SDK for justice use
emotional-intelligence-ai Reduce conflict, improve outcomes
ai-reasoning-engine Show your work for AI decisions

Infrastructure + Trust Layer

Repository Description
evidence-vault Privacy-first secure evidence storage
court-notification-engine Smart deadline and hearing alerts
justice-analytics Bias detection and disparity dashboards
evidence-timeline Evidence timeline builder

Tools + Automation Layer

Repository Description
court-doc-engine TurboTax for legal filings
justice-workflow-engine Zapier for legal processes
pro-se-toolkit Self-represented litigant tools
justice-score-engine Access-to-justice measurement
justice-app-generator No-code builder for justice tools

Quality + Testing Layer

Repository Description
justice-persona-simulator Test products against real human realities
justice-experiment-lab A/B testing for justice outcomes

Adoption Layer

Repository Description
digital-literacy-sim Digital literacy simulator
legal-resource-discovery Find the right help instantly
court-simulation-sandbox Practice before the real thing
justice-components Reusable component library
justice-dev-starter-kit Ultimate boilerplate for justice tech builders

Built with purpose. Open by design. Justice for all.


⚠️ Disclaimer

This project is provided for informational and educational purposes only and does not constitute legal advice, legal representation, or an attorney-client relationship. No warranty is made regarding accuracy, completeness, or fitness for any particular legal matter. Always consult a licensed attorney in your jurisdiction before making legal decisions. Use of this software does not create any professional-client relationship.


Built by Doug Devitre

I build AI-powered platforms that solve real problems. I also speak about it.

CoTrackPro · admin@cotrackpro.com

Hire me: AI platform development · Strategic consulting · Keynote speaking

AWS AI/Cloud/Dev Certified · UX Certified (NNg) · Certified Speaking Professional (NSA) Author of Screen to Screen Selling (McGraw Hill) · 100,000+ professionals trained

About

The Linux of Justice Tech — modular open-source platform for building justice applications

Topics

Resources

License

Contributing

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors