Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ANSI-to-HTML converter? #62

Open
keynmol opened this issue Apr 4, 2023 · 1 comment
Open

ANSI-to-HTML converter? #62

keynmol opened this issue Apr 4, 2023 · 1 comment

Comments

@keynmol
Copy link

keynmol commented Apr 4, 2023

Continuing from a discussion from Discord:

It's an ancient tradition to write fansi-2-html converters and copypaste them into projects.

For example:

  1. Mine to be used from Scala.js https://github.com/neandertech/langoustine/blob/main/modules/tracer/frontend/src/main/scala/Ansi2Html.scala
  2. Mine to be used from JVM: https://github.com/indoorvivants/subatomic/blob/master/docs/Ansi2Html.scala
  3. @lihaoyi's to be used with scalatags (which he doesn't remember writing): https://gist.github.com/lihaoyi/f0545f714d105f30afd5f4191997e3ea

Perhaps we could make this project multi-module and add blessed implementations, with tests and other nice things?

@dragonfly-ai
Copy link

dragonfly-ai commented Apr 5, 2023

This would be awesome! Should it live here?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants