---
agent:
  instructions: "Use this search API to find apps, tools and games built with AI across this catalog with keywords or natural-language queries, instead of crawling individual pages. Results are returned in Markdown."
  endpoint: "https://justbuildapps.com/.well-known/search?q={query}"
  method: "GET"
  documentation: "https://justbuildapps.com/for-agents"
---

# Justif

> Justif is a drop-in JavaScript library that progressively enhances web pages to TeX-level text justification.

Page: https://justbuildapps.com/app/8659 · Markdown: https://justbuildapps.com/app/8659.md

Justif is a drop-in JavaScript library that progressively enhances web pages to TeX-level text justification. Installation is a single line, standard text and accessibility affordances are unchanged, and users with JS disabled get native browser rendering. I made justif because I've long been a fan of justified text. I think it looks clean and elegant, and makes reading more enjoyable. But bad justification is the opposite, with gaping spaces that distract me to the point of making the text near unreadable. Browsers have got better recently at handling justified text \[0\]\[1\], but still use suboptimal greedy algorithms for the most part, and are not near that TeX/InDesign level of quality that I crave. text-wrap: pretty exists but is far from a panacea, as you can see for yourself in the demo. Justif also has the benefit of providing more consistent text layout across browsers. Blink (Chrome), Gecko (Firefox) and WebKit (Safari) all justify text differently, so normally what the user sees depends on what browser they use. Take a look at the demo, play around with it, see if you can break anything. I'm open to improvements of the API design as well, so please let me know your thoughts. For more details, see the README: https://github.com/lyallcooper/justif 0: https://cloudfour.com/thinks/justified-text-better-than-expe... 1: https://owickstrom.github.io/the-proportional-web/

## Facts

- Category: Dev tools
- Pricing: not known (check the app's own site)
- Claimed: not yet. The builder hasn't claimed this listing (site: justif.lyall.co).
- Listed via: https://news.ycombinator.com/item?id=48946738

## Links

- Live app: https://justif.lyall.co/
- On JustBuildApps: https://justbuildapps.com/app/8659

## Built this app?

This listing hasn't been claimed by its builder. Claim it to put it on your JustBuildApps profile with all its details: email automatejobhunt@gmail.com or message https://x.com/justbuildapps for your claim link.

## Alternatives

- [Word in Web](https://justbuildapps.com/app/9063): Word in web is a pure JS docx editor/renderer benched against MS Word directly. This was largely inspired by Eigenpal going closed source…
- [Nectar — The Web Without JavaScript](https://justbuildapps.com/app/9095): After a pretty rough gig experience, I wanted to remind myself that I was a vaguely capable developer. I had recently jumped on the Rust…
- [Helpful (Dev Tools)](https://justbuildapps.com/app/5040): I got tired of continually looking for a JSON formatter, and a String to JSON parser, so I asked bolt.new to create them for me. I then…
- [obscrd — Protect your content from scrapers and AI bots](https://justbuildapps.com/app/9373): Hey HN -- I'm a solo dev. Built this because I got tired of AI crawlers reading my HTML in plain text while robots.txt did nothing. The…
- [Hozo — Universal UI Framework for React Native](https://justbuildapps.com/app/13502): Hi HN, I've worked with React Native for years, but I've never been fully satisfied with it. That's why I'm building Hozo, an open-source…
