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

Generate images is broken on wttr.in #11

Open
kellya opened this issue May 25, 2024 · 2 comments
Open

Generate images is broken on wttr.in #11

kellya opened this issue May 25, 2024 · 2 comments
Assignees

Comments

@kellya
Copy link
Owner

kellya commented May 25, 2024

It looks like wttr.in is migrating code to 'go' on the backend. As a result, currently image generation is broken. There is an issue tracking this: chubin/wttr.in#919
And in the details, there is a recommendation for doing something like
textimg -i "$(curl --silent "wttr.in$town q")" -F 30 -o "$img" as a work-around

@kellya kellya self-assigned this May 25, 2024
@kellya
Copy link
Owner Author

kellya commented May 25, 2024

The textimg thing does work, however that is an external requirement and is written in go. I don't want to require 2 things to make this work.

After a little bit of playing around, I have found that ansitoimg will probably do the same thing, and has python modules that I can include in the plugin. This still has an external requirement to be installed, but I think this will be a cleaner workaround.

@nabulator
Copy link

I miss my ASCII art! This will be much appreciated :D I was wondering why the images where showing up as blank

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