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

Spacing issues with wttr.in #105

Open
T-X opened this issue Nov 16, 2024 · 0 comments
Open

Spacing issues with wttr.in #105

T-X opened this issue Nov 16, 2024 · 0 comments

Comments

@T-X
Copy link

T-X commented Nov 16, 2024

As wttr.in v2 has a broken html output, I'm trying to convert the terminal output to html myself via aha.

On the terminal (lxterminal 0.4.0-2+b1, Terminal font: Monospace Regular, 15, Palette: Tango) the output looks great:

wttr in-terminal-ok

However when trying to convert that to HTML through aha the spacing seems off:

Command: $ wget -q "https://v2.wttr.in/lbc" -O - | aha -b > /tmp/foo.html

Firefox 132.0.2 (as provided by Debian Sid):

wttr in-firefox-notok

Chromium 130.0.6723.116 (as provided by Debian Sid):

wttr in-chromium-notok

Adding some custom CSS to aha makes things look a bit better on Firefox (but not on Chromium), however the sun and cloud icons are still off:

Command: wget -q "https://v2.wttr.in/lbc" -O - | aha -b -c /tmp/mono.css > /tmp/foo2.html
/tmp/mono.css: pre { font-family: "monospace"; }

wttr in-firefox-notquiteok

Any idea how I could fix this or what might be going wrong?

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

1 participant