Bly
Legal tech

LexDj — official publications, modernised

Official government publications in Djibouti are public — but nearly hard to navigate in practice. LexDj makes that body of legal knowledge accessible: full-text search, clean reading experience, and structured data where there was only scanned paper.

100%

public

Stack

Next.jsTypeScriptPostgreSQLFull-text searchDrizzle ORMmotion/react

The challenge

Djibouti's official journal is a public record — but access is effectively limited to those who know where to look, can read dense legal formatting, and happen to have the right edition. Searching across years of publications meant hours of manual work. The information was technically available. Practically, it was not.

What we built

LexDj ingests official publications, structures the content into searchable records, and presents it through a fast, clean interface. Full-text search across the entire corpus. Each entry is linkable, shareable, and readable on any device. The platform doesn't add opinions — it removes friction.

Key decisions

Full-text search over the whole corpus

PostgreSQL's tsvector with French and Arabic language configurations. No third-party search service — the data is sensitive enough to keep in-house, and Postgres is more than capable for this scale.

Structure first, display second

Every publication is parsed into typed records before it ever reaches the UI. Type, date, reference number, issuing body — all structured. This makes filtering, linking, and future features possible without re-processing.

The outcome

A fast, searchable, and clean interface over a corpus that was previously only available as scanned PDFs. Lawyers, businesses, and citizens can now find what they need in seconds instead of hours.