Open-Awesome
CategoriesAlternativesStacksSelf-HostedExplore
Open-Awesome

© 2026 Open-Awesome. Curated for the developer elite.

TermsPrivacyAboutGitHubRSS
  1. Home
  2. Clojure
  3. pretty

pretty

Apache-2.0Clojure3.6.8

A Clojure library for prettifying console output with ANSI fonts, formatted exceptions, binary diffs, and tables.

Visit WebsiteGitHubGitHub
623 stars29 forks0 contributors

What is pretty?

Pretty is a Clojure library that enhances console output readability by adding ANSI colors, formatted exceptions, binary sequence diffs, and table printing. It solves the problem of parsing dense or repetitive terminal data, making debugging and inspection faster.

Target Audience

Clojure developers working in REPL environments who need to debug stack traces, compare binary data, or format tabular output in terminals.

Value Proposition

Developers choose Pretty for its focused set of formatting tools that integrate seamlessly into Clojure workflows, offering visual clarity without bloating dependencies.

Overview

Library for helping print things prettily, in Clojure - ANSI fonts, formatted exceptions

Use Cases

Best For

  • Colorizing and condensing Clojure stack traces in REPLs
  • Comparing binary data sequences with visual diffs
  • Printing formatted tables from Clojure data structures
  • Adding ANSI color highlights to terminal output
  • Annotating text output for parsing error reports
  • Improving readability of console logs during debugging

Not Ideal For

  • Projects not using Clojure or the JVM ecosystem
  • Teams needing comprehensive logging with file output and log aggregation
  • Applications where console output is minimal or headless, such as serverless functions
  • Environments requiring strict cross-platform terminal compatibility beyond ANSI standards

Pros & Cons

Pros

Enhanced Stack Trace Readability

Colorizes and condenses exceptions by omitting repetitive frames and highlighting file names and line numbers, making debugging faster as shown in the README's comparison images.

Binary Data Visualization

Provides hexyl-inspired color-coding and diffs for byte sequences, allowing easy comparison of binary data directly in the terminal.

Flexible Table Printing

Supports customizable columns, alignment, and multiple table styles like skinny-style, enabling formatted output from Clojure data structures.

Easy Development Integration

Offers setup options via Leiningen profiles, clj aliases, and nREPL middleware for seamless use in REPL environments during debugging.

Cons

Limited Babashka Compatibility

Exception formatting is incompatible with Babashka's interpreter-based approach, restricting full functionality in non-JVM Clojure environments.

Complex nREPL Configuration

The README admits that nREPL integration can be 'clumsy', requiring manual middleware setup in project files or configuration files.

Clojure-Centric Dependencies

Heavily tied to Clojure and its build tools, making it unsuitable for projects using other programming languages or frameworks.

Frequently Asked Questions

Quick Stats

Stars623
Forks29
Contributors0
Open Issues2
Last commit2 months ago
CreatedSince 2013

Tags

#binary-diff#feedback#stack-trace#repl-tools#clojure#tabular-data#debugging#console-output#ansi-colors

Built With

C
Clojure

Links & Resources

Website

Included in

Clojure2.8k
Auto-fetched 1 day ago

Related Projects

lein-figwheellein-figwheel

Figwheel builds your ClojureScript code and hot loads it into the browser as you are coding!

Stars2,875
Forks205
Last commit2 years ago
ultraultra

A Leiningen plugin for a superior development environment

Stars1,235
Forks34
Last commit3 years ago
scope-capturescope-capture

Project your Clojure(Script) REPL into the same context as your code when it ran

Stars600
Forks14
Last commit1 year ago
spyscopespyscope

Trace-oriented debugging tools for Clojure

Stars587
Forks35
Last commit6 years ago
Community-curated · Updated weekly · 100% open source

Found a gem we're missing?

Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.

Submit a projectStar on GitHub