← All tools

charmbracelet/x

Popularity 65 Updated Development & Build

Charm experimental packages

githubauto-collected

Installation

A directly usable install command is not verified yet. Check the project documentation or releases.

x

<p <picture <source media="(prefers-color-scheme: light)" srcset="https://user-images.githubusercontent.com/25087/236529178-465e9b98-3401-47dd-8691-ea475d96c3ad.png" height="200" / <source media="(prefers-color-scheme: dark)" srcset="https://user-images.githubusercontent.com/25087/236529273-6f8c841f-f11b-4ec8-b01d-7e3d9b17c85f.png" height="200" / <img src="https://user-images.githubusercontent.com/25087/236529178-465e9b98-3401-47dd-8691-ea475d96c3ad.png" height="200" alt="A 3D rendering of an X"/ </picture </p

This repository contains experimental packages with no promises of backwards compatibility. Once they mature here, they might be moved into other repositories.

Currently the following packages are available:

  • ansi: ANSI escape sequence parser and definitions • Docs
  • cellbuf: Cell-based terminal display parser • Docs
  • charmtone: Charm color palette utilities • Docs
  • colors: Color utilities • Docs
  • conpty: Windows Console Pseudo-terminal library • Docs
  • editor: open files in text editors • Docs
  • errors: errors.Join in older Go versions • Docs
  • etag: HTTP ETag generation utilities • Docs
  • gitignore: Gitignore pattern matching • Docs
  • golden: verify golden file equality • Docs
  • higherorder: generic higher order functions • Docs
  • input: terminal event input handler and driver • Docs
  • json: JSON parsing using generics • Docs
  • maps: generic maps utilities • Docs
  • mosaic: Image to terminal rendering • Docs
  • open: open a file/URL using open, xdg-open, etc • Docs
  • ordered: generic min, max, and clamp functions for ordered types • Docs
  • pony: Declarative terminal UI markup language • Docs
  • powernap: LSP client utilities • Docs
  • slice: generic slice utilities • Docs
  • sshkey: open and parse SSH keys, asks for passphrases when needed • Docs
  • strings: utilities for working with strings • Docs
  • teatest: a library for testing Bubble Tea programs • Docs
  • term: terminal utilities and helpers • Docs
  • termios: Termios unified API and library • Docs
  • toner: Color toning utilities • Docs
  • vcr: HTTP recording and playback for testing • Docs
  • vt: Virtual terminal emulator • Docs
  • wcwidth: Wide character width calculation • Docs
  • windows: Windows API used at Charmbracelet • Docs
  • xpty: cross-platform PTY interface • Docs

[docbadge]: https://godoc.org/github.com/golang/gddo?status.svg

Feedback

We'd love to hear your thoughts on this project. Feel free to drop us a note!

  • Twitter
  • The Fediverse
  • Discord

License

MIT

---

Part of Charm.