Render boxes in the terminal with OCaml or Reason
  • OCaml 84%
  • Makefile 8.9%
  • Shell 3.7%
  • Dune 3.4%
Find a file
David Sancho Moreno d2688be4fb
Merge branch 'main' of github.com:davesnx/ocaml-box
* 'main' of github.com:davesnx/ocaml-box:
  Update README.md
  Update README.md
  Update README.md
2025-12-04 19:34:54 +01:00
.githooks chore: Change pre-push permissions 2021-07-25 13:50:02 +02:00
.github/workflows From rely to alcotest, from ocaml to reason, from opam to dune 2025-12-04 19:34:41 +01:00
bin From rely to alcotest, from ocaml to reason, from opam to dune 2025-12-04 19:34:41 +01:00
dune.lock From rely to alcotest, from ocaml to reason, from opam to dune 2025-12-04 19:34:41 +01:00
lib From rely to alcotest, from ocaml to reason, from opam to dune 2025-12-04 19:34:41 +01:00
script Cleanup lib/terminal 2022-09-25 12:41:53 +02:00
test From rely to alcotest, from ocaml to reason, from opam to dune 2025-12-04 19:34:41 +01:00
.gitattributes Render basic boxes simply 2021-07-19 10:42:15 +02:00
.gitignore From rely to alcotest, from ocaml to reason, from opam to dune 2025-12-04 19:34:41 +01:00
box.opam From rely to alcotest, from ocaml to reason, from opam to dune 2025-12-04 19:34:41 +01:00
CHANGES.md changes: Add 1.1.0 2021-07-26 12:22:47 +02:00
CONTRIBUTING.md feat: First draft 2021-11-21 17:11:44 +00:00
dune-project From rely to alcotest, from ocaml to reason, from opam to dune 2025-12-04 19:34:41 +01:00
LICENSE Render basic boxes simply 2021-07-19 10:42:15 +02:00
Makefile From rely to alcotest, from ocaml to reason, from opam to dune 2025-12-04 19:34:41 +01:00
README.md Update README.md 2023-08-22 09:58:03 +02:00

ocaml-box


    ╭─────────────────────────────────────────────────╮
    │                                                 │
    │   Render those kinds of boxes in the terminal   │
    │                                                 │
    ╰─────────────────────────────────────────────────╯

Render boxes in the terminal with OCaml or Reason. Port of sindresorhus/boxen.

Features

  • Available on all major platform (Windows, Linux and Windows)
  • Render boxes with margin, padding and different borders
  • Alignment
  • Floating
  • No dependencies

Missing Features

  • ascii support
  • Border Color (and dimming)

Install with opam

opam install box

Install with esy

esy add @opam/box

Documentation

Documentation

Contributing

Take a look at our Contributing Guide.

Status

Actions Status