mirror of
https://github.com/chubin/wttr.in
synced 2025-01-26 10:45:01 +00:00
Add v3.wttr.in description
This commit is contained in:
parent
5529a4f2f0
commit
848f50574f
1 changed files with 42 additions and 1 deletions
43
README.md
43
README.md
|
@ -235,7 +235,7 @@ $ cat ~/.config/fontconfig/fonts.conf
|
||||||
|
|
||||||
(to apply the configuration, run `fc-cache -f -v`)
|
(to apply the configuration, run `fc-cache -f -v`)
|
||||||
|
|
||||||
## Data-rich output format
|
## Data-rich output format (v2)
|
||||||
|
|
||||||
In the experimental data-rich output format, that is available under the view code `v2`,
|
In the experimental data-rich output format, that is available under the view code `v2`,
|
||||||
a lot of additional weather and astronomical information is available:
|
a lot of additional weather and astronomical information is available:
|
||||||
|
@ -287,6 +287,47 @@ The result, should look like:
|
||||||
|
|
||||||
![URXVT Emoji line](https://user-images.githubusercontent.com/24360204/63842949-1d36d480-c975-11e9-81dd-998d1329bd8a.png)
|
![URXVT Emoji line](https://user-images.githubusercontent.com/24360204/63842949-1d36d480-c975-11e9-81dd-998d1329bd8a.png)
|
||||||
|
|
||||||
|
## Map view (v3)
|
||||||
|
|
||||||
|
In the experimental map view, that is available under the view code `v3`,
|
||||||
|
weather information about a geographical region is available:
|
||||||
|
|
||||||
|
```
|
||||||
|
$ curl v3.wttr.in/Bayern.sxl
|
||||||
|
```
|
||||||
|
|
||||||
|
![v3.wttr.in/Bayern](https://v3.wttr.in/Bayern.png)
|
||||||
|
|
||||||
|
or directly in browser:
|
||||||
|
|
||||||
|
* https://v3.wttr.in/Bayern
|
||||||
|
|
||||||
|
The map view currently supports three formats:
|
||||||
|
|
||||||
|
* PNG (for browser and messangers);
|
||||||
|
* Sixel (terminal inline images support);
|
||||||
|
* IIP (terminal with iterm2 inline images protocol support).
|
||||||
|
|
||||||
|
Terminal with inline images protocols support:
|
||||||
|
|
||||||
|
| Terminal | Environment | Images support | Protocol |
|
||||||
|
| --------------------- | --------- | ------------- | --------- |
|
||||||
|
| uxterm | X11 | yes | Sixel |
|
||||||
|
| mlterm | X11 | yes | Sixel |
|
||||||
|
| kitty | X11 | yes | Kitty |
|
||||||
|
| wezterm | X11 | yes | IIP |
|
||||||
|
| aminal | X11 | yes | Sixel |
|
||||||
|
| Jexer | X11 | yes | Sixel |
|
||||||
|
| GNOME Terminal | X11 | in-progress | Sixel |
|
||||||
|
| alacritty | X11 | [in-progress](https://github.com/alacritty/alacritty/issues/910) | Sixel |
|
||||||
|
| DomTerm | Web | yes | Sixel |
|
||||||
|
| Yaft | FB | yes | Sixel |
|
||||||
|
| iTerm2 | Mac OS X| yes | IIP |
|
||||||
|
| mintty | Windows | yes | Sixel |
|
||||||
|
| Windows Terminal | Windows | [in-progress](https://github.com/microsoft/terminal/issues/448) | Sixel |
|
||||||
|
| [RLogin](http://nanno.dip.jp/softlib/man/rlogin/) | Windows | yes | Sixel | |
|
||||||
|
|
||||||
|
|
||||||
## Different output formats
|
## Different output formats
|
||||||
|
|
||||||
### JSON output
|
### JSON output
|
||||||
|
|
Loading…
Reference in a new issue