update information about ":" seperators
All checks were successful
Generic zig build / build (push) Successful in 1m35s
Generic zig build / deploy (push) Successful in 14s

This commit is contained in:
Emil Lerch 2026-01-06 22:58:30 -08:00
parent 523e9fdcad
commit add82dee40
Signed by: lobo
GPG key ID: A7B62D657EF764F8
2 changed files with 14 additions and 10 deletions

View file

@ -11,18 +11,23 @@ Features not yet implemented in the Zig version:
- Support transparency and custom styling - Support transparency and custom styling
- Requires image rendering library integration - Requires image rendering library integration
## 3. Multiple Locations Support ## 3. Language/Localization
- Handle colon-separated locations (e.g., `London:Paris:Berlin`)
- Process and display weather for multiple cities in one request
## 4. Language/Localization
- Accept-Language header parsing - Accept-Language header parsing
- lang query parameter support - lang query parameter support
- Translation of weather conditions and text (54 languages) - Translation of weather conditions and text (54 languages)
## 5. Json output ## 4. Json output
- Does not match wttr.in format - Does not match wttr.in format
## 6. Moon endpoint ## 5. Moon endpoint
- `/Moon` and `/Moon@YYYY-MM-DD` endpoints not yet implemented - `/Moon` and `/Moon@YYYY-MM-DD` endpoints not yet implemented
- Moon phase calculation is implemented and available in custom format (%m, %M) - Moon phase calculation is implemented and available in custom format (%m, %M)
## ~~Multiple Locations Support~~
- Handle colon-separated locations (e.g., `London:Paris:Berlin`)
- Process and display weather for multiple cities in one request
This is advertised as a feature in wttr.in, but it does not work on the live
site. Given that this would be an unbounded computational risk and a DOS vector,
this is not going to be implemented. That can be done easily through a script,
and it will allow the rate limiting to work better that way

View file

@ -92,9 +92,8 @@ Available preconfigured formats: 1, 2, 3, 4 and custom format using percent nota
* `format=3`: `Nuremberg: 🌦 +11⁰C` * `format=3`: `Nuremberg: 🌦 +11⁰C`
* `format=4`: `Nuremberg: 🌦 🌡️+11°C 🌬↓4km/h` * `format=4`: `Nuremberg: 🌦 🌡️+11°C 🌬↓4km/h`
You can specify multiple locations separated with `:`: **Note:** Wttr.in claims that you can do multiple locations at one with a ':'
separator, but that does not appear to work
**Note:** Not yet fully implemented - see [MISSING_FEATURES.md](MISSING_FEATURES.md)
```bash ```bash
$ curl localhost:8002/Nuremberg:Hamburg:Berlin?format=3 $ curl localhost:8002/Nuremberg:Hamburg:Berlin?format=3