wttr — passing query params in Terminal #585
Replies: 3 comments
-
It seems to work now; maybe it was a glitch on the wttr.in side. It looks absolutely fascinating! Sorry for the distraction, but since I already created the issue: How hard would it be to add support for command line options so that they are converted to the URL query on the fly? So that I could write something like:
for wttr.in/Berlin or
and it would be translated into wttr.in/Berlin?view=v2. In general, I find that your approach is very compatible with console services like wttr.in (and others like cheat.sh, rate.sx, qrenco.de, etc.). They are lightweight and don't require any resources on the client side. Maybe we could write a universal wrapper that could easily make all such services available in DaedalOS as commands, and then you could just configure what commands are available by default (like wttr, but you could also have more if you want)? If you find the idea interesting, I would be really happy to help. I don't know how well the following features are supported in your terminal:
but if they are supported, it could be really great because it would make the user experience even better. In any case, and regardless of your answers, thank you for sharing such a great project. |
Beta Was this translation helpful? Give feedback.
-
Glad it worked for you eventually. I will make a note to add param passing to wttr. I have pretty poor param passing for quite a few of the Terminal programs which use pre-existing services, as I only ported the most basic POC version of the API's. |
Beta Was this translation helpful? Give feedback.
-
Thank you! |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I've accidentally discovered your beautiful project today from my Github recommendations, and was really impressed with it. Thanks a lot for such a great piece of software.
I was even more surprised to see 'wttr' in the list of available commands.
Unfortunately, when I tried to run it, I got an error:
An error occurred while attempting to execute the command
When I try to run a browser from the session, it works. That means that the problem should be somehow related to wttr.in, or maybe with accessing external services from the terminal.
Please let me know if I can help you with debugging or provide additional information.
Beta Was this translation helpful? Give feedback.
All reactions