buildkite / terminal-to-html

Converts arbitrary shell output (with ANSI) into beautifully rendered HTML
http://buildkite.github.io/terminal-to-html
MIT License
642 stars 45 forks source link

Support for terminal URLs #116

Open dharmatech opened 11 months ago

dharmatech commented 11 months ago

This page demonstrates links in terminals:

https://gist.github.com/egmontkob/eb114294efbcd5adb1944c9f3cb5feda

Example in bash:

printf '\e]8;;http://example.com\e\\This is a link\e]8;;\e\\\n'

What it looks like:

image

I noticed the README mentions links, but it seems like they're not the same as this \e[8 kind?

DrJosh9000 commented 10 months ago

Hi @dharmatech, thanks for the feature request!

Sounds like a cool idea! We would love a PR that implements this. Until then I'll stick it on our backlog.

dgl commented 3 months ago

Dupe of #58 -- while that mentions iTerm2's format, it's actually the "standard" format documented at the link, which iTerm2 supports.