simonw / simonw/tools

terminal-to-html claims color preservation, displays green only

Open
#85 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
HTML
Stars
1.9k
Forks
191
Avg merge
36m
Merged PRs (30d)
12

Description

I read your blog (and have been reading it more frequently) and saw the piece about terminal-to-html

What a clever idea as losing color during a paste is an annoyance.

However, your page https://tools.simonwillison.net/terminal-to-html renders everything as green.
While there's much to be loved about CRT green, a "Preview" of how great it was at preserving color , but presented in green, is sorta missing the mark, imho.

If I find time, I'll fork the repo and adjust to my desires, but thought I'd at least say something. maybe you'll have a slider/switch that de-forces the green view.

Love your stuff. kill the ticket if you want.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Open the terminal-to-html page at https://tools.simonwillison.net/terminal-to-html and reproduce the reported behavior with colored terminal output. Trace the page's preview entry point and determine where the green presentation is applied. Done means the preview preserves the input colors instead of displaying everything as green.

Written by the indexing model from the issue text.

Assessment

Tech stack
html
Domain
frontend
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.