X
Charm experimental packages
Install / Use
/learn @charmbracelet/XREADME
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 • Docscellbuf: Cell-based terminal display parser • Docscharmtone: Charm color palette utilities • Docscolors: Color utilities • Docsconpty: Windows Console Pseudo-terminal library • Docseditor: open files in text editors • Docserrors:errors.Joinin older Go versions • Docsetag: HTTP ETag generation utilities • Docsgitignore: Gitignore pattern matching • Docsgolden: verify golden file equality • Docshigherorder: generic higher order functions • Docsinput: terminal event input handler and driver • Docsjson: JSON parsing using generics • Docsmaps: generic maps utilities • Docsmosaic: Image to terminal rendering • Docsopen: open a file/URL usingopen,xdg-open, etc • Docsordered: genericmin,max, andclampfunctions for ordered types • Docspony: Declarative terminal UI markup language • Docspowernap: LSP client utilities • Docsslice: generic slice utilities • Docssshkey: open and parse SSH keys, asks for passphrases when needed • Docsstrings: utilities for working with strings • Docsteatest: a library for testing Bubble Tea programs • Docsterm: terminal utilities and helpers • Docstermios: Termios unified API and library • Docstoner: Color toning utilities • Docsvcr: HTTP recording and playback for testing • Docsvt: Virtual terminal emulator • Docswcwidth: Wide character width calculation • Docswindows: Windows API used at Charmbracelet • Docsxpty: cross-platform PTY interface • Docs
Feedback
We'd love to hear your thoughts on this project. Feel free to drop us a note!
License
Part of Charm.
<a href="https://charm.sh/"><img alt="The Charm logo" src="https://stuff.charm.sh/charm-badge.jpg" width="400"></a>
Charm热爱开源 • Charm loves open source • نحنُ نحب المصادر المفتوحة
