/tui.crumb

A crumb usable providing a rudimentary TUI

Primary LanguageShell

tui.crumb

NOTE: this is an experimental Crumb usable. In early dev stage. It is used in Crumbicon.

tui.crumb is a Crumb usable providing a rudimentary functional TUI framework.

The TUI builds up on the abstractions provided by the event loop usable to allow the creation and manipulation of encapsulated UI elements.

Usage

  1. Download https://raw.githubusercontent.com/ronilan/tui.crumb/main/tui.crumb
  2. Download dependencies on usables:
  1. Place it in your Crumb project. (see: Crumb Template for an easy starter.)
  2. Use it.

Basics

WIP

Examples

WIP

Made With

Crumbicon - a mouse driven icon editor for your terminal. It creates, and then edits svg images that can be used as website favicons (i.e. the little icons that appear at the top tabs etc.). Icons can be 8 pixels by 8 pixels, or 16 pixels by 16 pixels, utilizing 256 colors.

Rewordle - lets you play all the Worlde words from the beginning in the terminal.

Running Examples

With Docker:

Build:

docker build -t tui.crumb.crumb git@github.com:ronilan/tui.crumb.crumb.git#main

Run:

docker run --rm -it tui.crumb.crumb

Or "all in one":

docker run --rm -it $(docker build -q git@github.com:ronilan/tui.crumb.crumb.git#main)

Then in the shell:

./crumb examples/10-print.crumb

Locally

Clone the repo:

git clone git@github.com:ronilan/tui.crumb.crumb.git

CD into directory:

cd tui.crumb.crumb

Build Crumb interpreter:

chmod +x build-crumb.sh && ./build-crumb.sh

Run:

./crumb examples/demo.crumb

Reference

WIP

Fabriqué au Canada : Made in Canada 🇨🇦