cslarsen / cslarsen/jp2a

Truecolor support

Open
#10 2 comments 0 reactions 0 assignees View on GitHub
help wanted
Dominant language
HTML
Stars
1.1k
Forks
83
PR merge metrics
No merged PRs in 30d

Description

I noticed that the tool generates the whole color palette when generating HTML but seems restricted to 16(?) colors when generating ANSI codes.

Modern terminals also support truecolor. It would be nice, if jp2a could generate text for them or even better if there is a flag to control the amount of colors to output (also for HTML). [Here](https://gist.github.com/XVilka/8346728) I found a good summary of truecolor support for terminals.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by locating the tool's ANSI and HTML output entry points and compare how each selects colors. Define the supported color modes or range, then verify that terminal output can use truecolor or a selected limit while HTML output remains controllable.

Written by the indexing model from the issue text.

Assessment

Tech stack
html
Domain
cli
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.