2020-10-29 19:34:44 +00:00
|
|
|
|
|
|
|
## 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 images support
|
|
|
|
|
|
|
|
|
|
|
|
| Terminal | Environment | Images support | Protocol |
|
|
|
|
| --------------------- | --------- | ------------- | --------- |
|
|
|
|
| uxterm | X11 | yes | Sixel |
|
|
|
|
| mlterm | X11 | yes | Sixel |
|
|
|
|
| kitty | X11 | yes | Kitty |
|
|
|
|
| wezterm | X11 | yes | IIP |
|
2021-10-17 13:10:49 +00:00
|
|
|
| Darktile | X11 | yes | Sixel |
|
2020-10-29 19:34:44 +00:00
|
|
|
| Jexer | X11 | yes | Sixel |
|
|
|
|
| GNOME Terminal | X11 | [in-progress](https://gitlab.gnome.org/GNOME/vte/-/issues/253) | Sixel |
|
|
|
|
| alacritty | X11 | [in-progress](https://github.com/alacritty/alacritty/issues/910) | Sixel |
|
2020-11-06 22:38:31 +00:00
|
|
|
| st | X11 | [stixel](https://github.com/vizs/stixel) or [st-sixel](https://github.com/galatolofederico/st-sixel) | Sixel |
|
2022-06-12 08:11:35 +00:00
|
|
|
| Konsole | X11 | yes | Sixel |
|
2020-10-29 19:34:44 +00:00
|
|
|
| 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 | |
|
|
|
|
|
2020-11-06 22:44:25 +00:00
|
|
|
Support in all VTE-based terminals: termite, terminator, etc is more or less the same as in the GNOME Terminal
|
|
|
|
|
2020-10-29 19:34:44 +00:00
|
|
|
## Notes
|
|
|
|
|
|
|
|
### xterm/uxterm
|
|
|
|
|
|
|
|
To start xterm/uxterm with Sixel support:
|
|
|
|
|
|
|
|
```
|
|
|
|
uxterm -ti vt340
|
|
|
|
```
|
|
|
|
|
|
|
|
### Kitty
|
|
|
|
|
|
|
|
To view images in kitty:
|
|
|
|
|
|
|
|
```
|
2021-02-10 23:21:27 +00:00
|
|
|
curl -s v3.wttr.in/Tabasco.png | kitty icat --align=left
|
2020-10-29 19:34:44 +00:00
|
|
|
```
|
2021-02-27 18:11:37 +00:00
|
|
|
|
|
|
|
or even without `curl` at all, because `icat` knows how to handle URLs:
|
|
|
|
|
|
|
|
```
|
|
|
|
kitty icat --align=left https://v3.wttr.in/Tabasco.png
|
|
|
|
```
|