charmbracelet / charmbracelet/bubbletea

Displaying images

Open
#163 17 comments 17 reactions 0 assignees View on GitHub
enhancement
Dominant language
Go
Stars
44.9k
Forks
1.3k
PR merge metrics
No merged PRs in 30d

Description

Would be cool to be able to display images in the CLI (think displaying graphs with a higher resolution than ASCII characters) - this kind of thing has been implemented in projects like [neofetch](https://github.com/dylanaraps/neofetch/blob/c1c699378f6c94cd67be75aa2f20f2e4a79e4483/neofetch#L4428) using various image backends (see https://sw.kovidgoyal.net/kitty/kittens/icat/ for example)

![image](https://user-images.githubusercontent.com/61694629/143793505-6b37c36a-e6e8-4654-9772-e0019a48ba5f.png)

Contributor guide

Open the contributing guide

Research direction

Start by reading the linked neofetch image-backend example and Kitty's icat documentation to understand the terminal capabilities involved. The work is done when Bubble Tea can display images in the CLI at higher resolution than ASCII characters, with the supported backend and scope defined.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
cli
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.