Compare commits

..

28 Commits

Author SHA1 Message Date
Igor Chubin f707e76570
Merge pull request #997 from ashafq/feature/render_condition_int
3 weeks ago
Igor Chubin 82f8dcd7fd
Merge pull request #1040 from 0xSebin/master
3 weeks ago
Igor Chubin df2dcbbc52
Merge pull request #1013 from glensc/patch-1
3 weeks ago
Igor Chubin 54ff423306 Add zigo to PLAIN_TEXT_AGENTS
3 weeks ago
Igor Chubin 6be29b02de
Merge pull request #1021 from michaelortmann/plainTextAgents.zig
3 weeks ago
Igor Chubin e4ae45c6ad
Merge pull request #989 from jtmr05/patch-1
3 weeks ago
Igor Chubin 025a6b6a32
Merge pull request #1035 from LinqLover/patch-1
3 weeks ago
Igor Chubin 9d03ed3565
Merge pull request #1042 from yitaverse/master
3 weeks ago
Igor Chubin ec16913357
Merge pull request #1036 from jpigla/twitter_to_x
3 weeks ago
Sebin Thomas c55a6fcd50
Merge pull request #21 from 0xSebin/snyk-fix-edf1d074780ee2c771048c0fd1682069
4 weeks ago
snyk-bot 385e093fb2
fix: Dockerfile to reduce vulnerabilities
4 weeks ago
Sebin Thomas d71bf980a2
Merge pull request #1 from 0xSebin/imgbot
1 month ago
YITA d49d0e3357
Update translation.txt
2 months ago
YITA 879e134600
Update it.txt
2 months ago
YITA 9f07cb8732
Update it-help.txt
2 months ago
YITA 07a2f15d48
Added it-help.txt
2 months ago
Sebin Thomas 0c96b323f0
Merge branch 'chubin:master' into master
2 months ago
Sebin Thomas 20ce807617
Merge pull request #20 from 0xSebin/snyk-fix-e6b45d1472f53e734d64322624fa9796
2 months ago
snyk-bot d21c6d6acc
fix: requirements.txt to reduce vulnerabilities
2 months ago
jpigla 23d89ae036 replace twitter.com as domain with x.com in user facing messages
3 months ago
Christoph Thiede bc4c73d144
readme: add Squeak integration
3 months ago
Michael Ortmann 19bc9ba190
Add plainTextAgent zig
4 months ago
Elan Ruusamäe 3187f50504
Update bash-function: Fix curl error
6 months ago
Elan Ruusamäe 99a5f9995f
Update bash-function: Skip shift if no args
6 months ago
Elan Ruusamäe 4137424b70
Fix bash-function: Fix under zsh
6 months ago
Ayan Shafqat 7f48e0d4fe
Add single line output code for WeatherCode #995
9 months ago
jtmr05 b92fb92010
Update pt-help.txt
9 months ago
ImgBotApp 8426955529
[ImgBot] Optimize images
4 years ago

@ -13,7 +13,7 @@ RUN go get -u github.com/mattn/go-colorable && \
cd /app && CGO_ENABLED=0 go build .
# Application stage
FROM alpine:3.16
FROM alpine:3.21.1
WORKDIR /app

@ -308,6 +308,21 @@ $ cat ~/.config/fontconfig/fonts.conf
In some cases, `tmux` and the terminal understanding of some emoji characters may differ, which may
cause strange effects similar to that described in #579.
### Squeak
To embed into the world main docking bar:
```smalltalk
wttr := (UpdatingStringMorph on: [(WebClient httpGet: 'https://wttr.in/?format=%20%20%l:%20%C+%t') content] selector: #value)
stepTime: 60000;
useStringFormat;
yourself.
dockingBar := World mainDockingBars first.
dockingBar addMorph: wttr after: (dockingBar findA: ClockMorph).
```
![wttr.in integration in the Squeak world main docking bar](https://github.com/user-attachments/assets/4c2762b0-77ae-41a8-98db-3eb310d073bd)
## Data-rich output format (v2)
In the experimental data-rich output format, that is available under the view code `v2`,

@ -37,6 +37,7 @@ func plainTextAgents() []string {
"http_get",
"xh",
"nushell",
"zig",
}
}

@ -91,6 +91,7 @@ PLAIN_TEXT_AGENTS = [
"http_get",
"xh",
"nushell",
"zig",
]
PLAIN_TEXT_PAGES = [':help', ':bash.function', ':translation', ':iterm2']

@ -457,319 +457,319 @@ iray amin'ireo toerana mangatsiaka indrindra tsisy mponina eto an-tany.
Sorry, we are running out of queries to the weather service at the moment.
Here is the weather report for the default city (just to show you what it looks like).
We will get new queries as soon as possible.
You can follow https://twitter.com/igor_chubin for the updates.
You can follow https://x.com/igor_chubin for the updates.
======================================================================================
""",
'af': u"""
Verskoning, ons oorskry tans die vermoë om navrae aan die weerdiens te rig.
Hier is die weerberig van 'n voorbeeld ligging (bloot om aan u te wys hoe dit lyk).
Ons sal weereens nuwe navrae kan hanteer so gou as moontlik.
U kan vir https://twitter.com/igor_chubin volg vir opdaterings.
U kan vir https://x.com/igor_chubin volg vir opdaterings.
======================================================================================
""",
'am': u"""
ይቅርታ ለጊዜው መጠይቆችን ማስተናገድ አልቻልንም
የነባሪ ከተማው የአየር ሁኔታ ሪፖርት ይኸውልዎ (ምን እንደሚመስል ለማሳየት)
አዳዲስ መጠይቆችን በተቻለ ፍጥነት ለማስተናገድ እንሞክራለን
ለበለጠ መረጃ እባክዎ https://twitter.com/igor_chubin ይከተሉ
ለበለጠ መረጃ እባክዎ https://x.com/igor_chubin ይከተሉ
======================================================================================
""",
'ar': u"""
عذرًا ، استعلامات خدمة الطقس نفذت في الوقت الحالي.
هذا هو تقرير الطقس للمدينة الافتراضية (فقط لتظهر لك كيف تبدو).
سوف نتلقى استعلامات جديدة في أقرب وقت ممكن.
يمكنك متابعة https://twitter.com/igor_chubin لآخر المستجدات.
يمكنك متابعة https://x.com/igor_chubin لآخر المستجدات.
======================================================================================
""",
'be': u"""
Прабачце, мы выйшлі за ліміты колькасці запытаў да службы надвор'я ў дадзены момант.
Вось прагноз надвор'я для горада па змаўчанні (толькі, каб паказаць вам, як гэта выглядае).
Мы вернемся як мага хутчэй.
Вы можаце сачыць на https://twitter.com/igor_chubin за абнаўленнямі.
Вы можаце сачыць на https://x.com/igor_chubin за абнаўленнямі.
======================================================================================
""",
'bg': u"""
Съжаляваме, количеството заявки към услугата за предсказване на време е почти изчерпано.
Ето доклад за града по подразбиране (просто да видите как изглежда).
Ще осогурим допълнителни заявки максимално бързо.
Може да последвате https://twitter.com/igor_chubin за обновления.
Може да последвате https://x.com/igor_chubin за обновления.
""",
'bn': u"""
ি, এই আবহওয পরি আম ইর হয আসছ
এখ িফল শহর আবহওয রতিদন রয (এটি খত মন আপন জন)
আমর নত ইর ওয় যবস করছি
আপড জন আপনি https://twitter.com/igor_chubin অনসরণ করত
আপড জন আপনি https://x.com/igor_chubin অনসরণ করত
""",
'bs': u"""
Žao mi je, mi ponestaje upita i vremenska prognoza u ovom trenutku.
Ovdje je izvještaj o vremenu za default grada (samo da vam pokažem kako to izgleda).
Mi ćemo dobiti nove upite u najkraćem mogućem roku.
Možete pratiti https://twitter.com/igor_chubin za ažuriranja.
Možete pratiti https://x.com/igor_chubin za ažuriranja.
======================================================================================
""",
'ca': u"""
Disculpa'ns, ens hem quedat momentàniament sense consultes al servei meteorològic.
Aquí t'oferim l'informe del temps a la ciutat per defecte (només per mostrar quin aspecte ).
Obtindrem noves consultes tan aviat com ens sigui possible.
Pots seguir https://twitter.com/igor_chubin per noves actualitzacions.
Pots seguir https://x.com/igor_chubin per noves actualitzacions.
======================================================================================
""",
'de': u"""
Entschuldigung, wir können momentan den Wetterdienst nicht erreichen.
Dafür zeigen wir Ihnen das Wetter an einem Beispielort, damit Sie sehen, wie die Seite das Wetter anzeigt.
Wir werden versuchen das Problem so schnell wie möglich zu beheben.
Folgen Sie https://twitter.com/igor_chubin für Updates.
Folgen Sie https://x.com/igor_chubin für Updates.
======================================================================================
""",
'cy': u"""
Rydym yn brin o ymholiadau i'r gwasanaeth tywydd ar hyn o bryd.
Felly dyma'r adroddiad tywydd ar gyfer y ddinas ragosod (er mwyn arddangos sut mae'n edrych).
Byddwn gyda ymholiadau newydd yn fuan.
Gellir dilyn https://twitter.com/igor_chubin i gael newyddion pellach.
Gellir dilyn https://x.com/igor_chubin i gael newyddion pellach.
======================================================================================
""",
'es': u"""
Lo siento, hemos alcanzado el límite de peticiones al servicio de previsión del tiempo en este momento.
A continuación, la previsión del tiempo para una ciudad estándar (solo para que puedas ver el formato del reporte).
Muy pronto volveremos a tener acceso a las peticiones.
Puedes seguir https://twitter.com/igor_chubin para estar al tanto de la situación.
Puedes seguir https://x.com/igor_chubin para estar al tanto de la situación.
======================================================================================
""",
'fa': u"""
متأسفانه در حال حاضر ظرفیت ما برای درخواست به سرویس هواشناسی به اتمام رسیده.
اینجا می تونید گزارش هواشناسی برای شهر پیش فرض رو ببینید (فقط برای اینه که بهتون نشون بدیم چه شکلی هست)
ما تلاش میکنیم در اسرع وقت ظرفیت جدید به دست بیاریم.
برای دنبال کردن اخبار جدید میتونید https://twitter.com/igor_chubin رو فالو کنید.
برای دنبال کردن اخبار جدید میتونید https://x.com/igor_chubin رو فالو کنید.
======================================================================================
""",
'fr': u"""
Désolé, nous avons épuisé les requêtes vers le service météo.
Voici un bulletin météo de l'emplacement par défaut (pour vous donner un aperçu).
Nous serons très bientôt en mesure de faire de nouvelles requêtes.
Vous pouvez suivre https://twitter.com/igor_chubin pour rester informé.
Vous pouvez suivre https://x.com/igor_chubin pour rester informé.
======================================================================================
""",
'ga': u"""
brón orainn, níl mórán iarratas le fail chuig seirbhís na haimsire faoi láthair.
Seo duit réamhaisnéis na haimsire don chathair réamhshocraithe (chun é a thaispeaint duit).
Gheobhaimid iarratais nua chomh luath agus is feidir.
Lean orainn ar https://twitter.com/igor_chubin don eolas is déanaí.
Lean orainn ar https://x.com/igor_chubin don eolas is déanaí.
======================================================================================
""",
'gl': u"""
Desculpa, estamos a chegar ao límite de peticións ao servizo meteorolóxico neste momento.
Aquí está a previsión do tempo para a cidade por defecto (tan para amosarche un exemplo).
Imos obter máis peticións tan pronto como poidamos.
Podes seguir https://twitter.com/igor_chubin para estares actualizada.
Podes seguir https://x.com/igor_chubin para estares actualizada.
======================================================================================
""",
'hi': u"""
षम कर, इस समय हम सम पर नह कर रह
यह िि शहर ि सम नक (आपक यह ि ि ि यह िखत )
हम जल जल सम पर करन नई ि कर
आप अपड ि https://twitter.com/igor_chubin अनसरण कर सकत
आप अपड ि https://x.com/igor_chubin अनसरण कर सकत
======================================================================================
""",
'hu': u"""
Sajnáljuk, kifogytunk az időjárási szolgáltatásra fordított erőforrásokból.
Itt van az alapértelmezett város időjárási jelentése (hogy lásd, hogyan néz ki).
A lehető leghamarabb új erőforrásokat fogunk kapni.
A frissítésekért tekintsd meg a https://twitter.com/igor_chubin oldalt.
A frissítésekért tekintsd meg a https://x.com/igor_chubin oldalt.
======================================================================================
""",
'hy': u"""
Կներեք, այս պահին մենք գերազանցել ենք եղանակային տեսության կայանին հարցումների քանակը.
Կարող եք տեսնել տիպային եղանակը զեկուցում հիմնական քաղաքի համար (Ուղղակի որպես նմուշ):
Մենք մշտապես աշխատում ենք հարցումների քանակը բարելավելու ուղղությամբ:
Կարող եք հետևել մեզ https://twitter.com/igor_chubin թարմացումների համար.
Կարող եք հետևել մեզ https://x.com/igor_chubin թարմացումների համար.
======================================================================================
""",
'ia': u"""
Pardono, nos ha exhaurite inquisitione del servicio tempore alora.
Ecce es le reporto tempore por qualque citate (demonstrar le reporte).
Nos recipera inquisitione nove tosto.
Tu pote abonar a https://twitter.com/igor_chubin por nove information.
Tu pote abonar a https://x.com/igor_chubin por nove information.
======================================================================================
""",
'id': u"""
Maaf, kami kehabian permintaan ke layanan cuaca saat ini.
Ini adalah laporan cuaca dari kota standar (hanya untuk menunjukkan kepada anda bagaimana tampilannya).
Kami akan mencoba permintaan baru lagi sesegera mungkin.
Anda dapat mengikuti https://twitter.com/igor_chubin untuk informasi terbaru.
Anda dapat mengikuti https://x.com/igor_chubin untuk informasi terbaru.
======================================================================================
""",
'it': u"""
Scusate, attualmente stiamo esaurendo le risorse a disposizione del servizio meteo.
Qui trovate il bollettino del tempo per la città di default (solo per mostrarvi come si presenta).
Potremo elaborare nuove richieste appena possibile.
Potete seguire https://twitter.com/igor_chubin per gli aggiornamenti.
Potete seguire https://x.com/igor_chubin per gli aggiornamenti.
======================================================================================
""",
'ko': u"""
죄송합니다. 현재 날씨 정보를 가져오는 쿼리 요청이 한도에 도달했습니다.
대신 기본으로 설정된 도시에 대한 일기 예보를 보여드리겠습니다. (이는 단지 어떻게 보이는지 알려주기 위함입니다).
쿼리 요청이 가능한 빨리 이루어질 있도록 하겠습니다.
업데이트 소식을 원하신다면 https://twitter.com/igor_chubin 팔로우 해주세요.
업데이트 소식을 원하신다면 https://x.com/igor_chubin 팔로우 해주세요.
======================================================================================
""",
'lt': u"""
Atsiprašome, šiuo metu pasiekėme orų prognozės paslaugos užklausų ribą.
Štai orų prognozė numatomam miestui (tam, kad parodytume, kaip ji atrodo).
Naujas užklausas priimsime, kai tik galėsime.
Atnaujinimus galite sekti https://twitter.com/igor_chubin
Atnaujinimus galite sekti https://x.com/igor_chubin
======================================================================================
""",
'lv': u"""
Atvainojiet, uz doto brīdi mēs esam mazliet noslogoti.
Šeit ir laika ziņas noklusējuma pilsētai (lai parādītu jums, izskatās izveidotais ziņojums).
Mēs atsāksim darbu cik ātri vien varēsim.
Jūs varat sekot https://twitter.com/igor_chubin lai redzētu visus jaunumus.
Jūs varat sekot https://x.com/igor_chubin lai redzētu visus jaunumus.
======================================================================================
""",
'mk': u"""
Извинете, ни снемуваат барања за до сервисот кој ни нуди временска прогноза во моментот.
Еве една временска прогноза за град (за да видите како изгледа).
Ќе добиеме нови барања најбрзо што можеме.
Следете го https://twitter.com/igor_chubin за известувања
Следете го https://x.com/igor_chubin за известувања
======================================================================================
""",
'mr': u"""
षमस, षण आम हव पर कर शकत .
एक वनिि शहर हव अहव आह (वळ कस िसत खवणकरि).
आम लवकर लवकर करण रयत कर.
अदवत ि https://twitter.com/igor_chubin अनसरण कर शकत.
अदवत ि https://x.com/igor_chubin अनसरण कर शकत.
======================================================================================
""",
'nb': u"""
Beklager, vi kan ikke værtjenesten for øyeblikket.
Her er værmeldingen for standardbyen du får se hvordan tjenesten ser ut.
Vi vil forsøke å fikse problemet snart som mulig.
Du kan følge https://twitter.com/igor_chubin for oppdateringer.
Du kan følge https://x.com/igor_chubin for oppdateringer.
======================================================================================
""",
'zh': u"""
抱歉当前天气服务不可用
以下显示默认城市只对您可见
我们将会尽快获取新数据
您可以通过 https://twitter.com/igor_chubin 获取最新动态
您可以通过 https://x.com/igor_chubin 获取最新动态
======================================================================================
""",
'nl': u"""
Excuse, wij kunnen u op dit moment dit weerbericht niet laten zien.
Hier is het weerbericht voor de standaard stad(zodat u weet hoe het er uitziet)
Wij lossen dit probleem zo snel mogelijk op.
voor updates kunt u ons op https://twitter.com/igor_chubin volgen.
voor updates kunt u ons op https://x.com/igor_chubin volgen.
======================================================================================
""",
'oc': u"""
O planhèm, avèm pas mai de requèstas cap al servici metèo.
Vaquí las prevision metèo de l'emplaçament per defaut (per vos donar un apercebut).
Poirem lèu ne far de novèlas.
Podètz seguir https://twitter.com/igor_chubin per demorar informat.
Podètz seguir https://x.com/igor_chubin per demorar informat.
======================================================================================
""",
'fy': u"""
Excuses, wy kinne op dit moment 't waarberjocht net sjin litte.
Hjir is 't waarberjocht foar de standaard stêd.
Wy losse dit probleem sa gau mooglik op.
Foar updates kinne jo ús op https://twitter.com/igor_chubin folgje.
Foar updates kinne jo ús op https://x.com/igor_chubin folgje.
======================================================================================
""",
'pl': u"""
Bardzo nam przykro, ale chwilowo wykorzystaliśmy limit zapytań do serwisu pogodowego.
To, co widzisz jest przykładowym raportem pogodowym dla domyślnego miasta.
Postaramy się przywrócić funkcjonalność tak szybko, jak to tylko możliwe.
Możesz śledzić https://twitter.com/igor_chubin na Twitterze, aby być na bieżąco.
Możesz śledzić https://x.com/igor_chubin na Twitterze, aby być na bieżąco.
======================================================================================
""",
'pt': u"""
Desculpe-nos, estamos atingindo o limite de consultas ao serviço de previsão do tempo neste momento.
Veja a seguir a previsão do tempo para uma cidade padrão (apenas para você ver que aspecto o relatório tem).
Em breve voltaremos a ter acesso às consultas.
Você pode seguir https://twitter.com/igor_chubin para acompanhar a situação.
Você pode seguir https://x.com/igor_chubin para acompanhar a situação.
======================================================================================
""",
'pt-br': u"""
Desculpe-nos, atingimos o limite de consultas ao serviço de previsão do tempo neste momento.
Veja a seguir a previsão do tempo para uma cidade padrão (apenas para você ver que aspecto o relatório tem).
Em breve voltaremos a ter acesso às consultas.
Você pode seguir https://twitter.com/igor_chubin para acompanhar a situação.
Você pode seguir https://x.com/igor_chubin para acompanhar a situação.
======================================================================================
""",
'ro': u"""
Ne pare rău, momentan am epuizat cererile alocate de către serviciul de prognoză meteo.
arătăm prognoza meteo pentru localitatea implicită (ca exemplu, vedeți cum arată).
Vom obține alocarea de cereri noi cât de curând posibil.
Puteți urmări https://twitter.com/igor_chubin pentru actualizări.
Puteți urmări https://x.com/igor_chubin pentru actualizări.
======================================================================================
""",
'te': u"""
షమిి, రసిి వరణ వక రశనలన గడ.
ఇకకడ ి నగర వరణ ిి (వల ిచడిి, ఇది ఎల కనిిి).
యమ వరల రశనలన .
నవకరణల https://twitter.com/igor_chubin అనసరిచవచ.
నవకరణల https://x.com/igor_chubin అనసరిచవచ.
======================================================================================
""",
'tr': u"""
Üzgünüz, an itibariyle hava durumu servisine yapabileceğimiz sorgu limitine ulaştık.
Varsayılan şehir için hava durumu bilgisini görüyorsunuz (neye benzediğini gösterebilmek için).
Mümkün olan en kısa sürede servise yeniden sorgu yapmaya başlayacağız.
Gelişmeler için https://twitter.com/igor_chubin adresini takip edebilirsiniz.
Gelişmeler için https://x.com/igor_chubin adresini takip edebilirsiniz.
======================================================================================
""",
'th': u"""
ขออภ การเรยกคนหาระบบสภาพอากาศของเราหมดชวคราว
เราจงแสดงขอมลของเมองตวอยาง (เพอทจะแสดงใหณเหนวาหนาตาเปนยงไง)
เราจะเรยกคนหาใหมโดยเรวท
ณสามารถตดตามการอพเดทได https://twitter.com/igor_chubin
ณสามารถตดตามการอพเดทได https://x.com/igor_chubin
======================================================================================
""",
'da': u"""
Beklager, men vi er ved at løbe tør for forespørgsler til vejr-servicen lige nu.
Her er vejr rapporten for standard byen (bare du ved hvordan det kan se ud).
Vi får nye forespørsler hurtigst muligt.
Du kan følge https://twitter.com/igor_chubin for at opdateringer.
Du kan følge https://x.com/igor_chubin for at opdateringer.
======================================================================================
""",
'et': u"""
Vabandage, kuid hetkel on päringud ilmateenusele piiratud.
Selle asemel kuvame hetkel näidislinna ilmaprognoosi (näitamaks, kuidas see välja näeb).
Üritame probleemi lahendada niipea kui võimalik.
Jälgige https://twitter.com/igor_chubin värskenduste jaoks.
Jälgige https://x.com/igor_chubin värskenduste jaoks.
======================================================================================
""",
'uk': u"""
Вибачте, ми перевищили максимальну кількість запитів до сервісу погоди.
Ось прогноз погоди у нашому місті (просто показати Вам як це виглядає).
Ми відновимо роботу як тільки зможемо.
Ви можете підписатися на https://twitter.com/igor_chubin для отримання новин.
Ви можете підписатися на https://x.com/igor_chubin для отримання новин.
======================================================================================
""",
'vi': u"""
Xin lỗi, hiện tại chúng tôi đã hết lượt yêu cầu thông tin thời tiết.
Đây dự báo thời tiết cho thành phố mặc định (chỉ để cho bạn thấy trông như thế nào).
Chung tôi sẽ thêm lượt truy vấn sớm nhất thể
Bạn thể theo dõi https://twitter.com/igor_chubin để cập nhật thông tin mới nhất.
Bạn thể theo dõi https://x.com/igor_chubin để cập nhật thông tin mới nhất.
======================================================================================
""",
'zh-tw': u"""
抱歉目前天氣服務的查詢請求太多了
這裡是預設城市的天氣報告只是為您展示它的外觀
我們將盡快取得新的資料
您可以追蹤 https://twitter.com/igor_chubin 以取得更新
您可以追蹤 https://x.com/igor_chubin 以取得更新
======================================================================================
""",
'mg': u"""
Miala tsiny fa misedra olana ny sampan-draharaha momba ny toetrandro amin'izao fotoana izao.
Ity ny tatitra momba ny toetr'andro ho an'ny tanàna mahazatra (mba hampisehoana anao ny endriny).
Haivaly aminao haingana ny fangatahanao.
Azonao atao ny manaraka ny pejy https://twitter.com/igor_chubin.
Azonao atao ny manaraka ny pejy https://x.com/igor_chubin.
""",
'ta': u"""
மனிகவ, தற ி ினவலகள எஙகளிடம இல.
இயலி நகரதி ி அறி இத (அத எபபடி இர எனபத உஙகள ிபதற).
ி ிி ி ினவலகள .
ிகள கள https://twitter.com/igor_chubin ஐப ிடரல.
ிகள கள https://x.com/igor_chubin ஐப ிடரல.
""",
},
@ -843,7 +843,7 @@ Azonao atao ny manaraka ny pejy https://twitter.com/igor_chubin.
'cy': u'Dilyner \033[46m\033[30m@igor_Chubin\033[0m am diweddariadau wttr.in',
'fa': u'برای دنبال کردن خبرهای wttr.in شناسه \033[46m\033[30m@igor_chubin\033[0m رو فالو کنید.',
'fr': u'Suivez \033[46m\033[30m@igor_Chubin\033[0m pour rester informé sur wttr.in',
'de': u'Folgen Sie \033[46m\033[30mhttps://twitter.com/igor_chubin\033[0m für wttr.in Updates',
'de': u'Folgen Sie \033[46m\033[30mhttps://x.com/igor_chubin\033[0m für wttr.in Updates',
'ga': u'Lean \033[46m\033[30m@igor_chubin\033[0m don wttr.in eolas is deanaí',
'gl': u'Segue a \033[46m\033[30m@igor_chubin\033[0m para actualizacións sobre wttr.in',
'hi': u'अपडेट के लिए फॉलो करें \033[46m\033[30m@igor_chubin\033[0m',

@ -128,6 +128,12 @@ def render_condition_plain(data, query):
return weather_condition
def render_condition_int(data, query):
"""Weather condition code as integer (i)
"""
return data['weatherCode']
def render_humidity(data, query):
"""
humidity (h)
@ -284,6 +290,7 @@ FORMAT_SYMBOL = {
'c': render_condition,
'C': render_condition_fullname,
'x': render_condition_plain,
'i': render_condition_int,
'h': render_humidity,
't': render_temperature,
'f': render_feel_like_temperature,

@ -24,3 +24,4 @@ numba
emoji>=1.6.0,<=1.7.0
grapheme
pycountry
aiohttp>=3.10.11 # not directly required, pinned by Snyk to avoid a vulnerability

@ -20,12 +20,12 @@ fi
wttr() {
local location="${1// /+}"
command shift
local args=""
test "$#" -gt 0 && shift
local args=()
for p in $WTTR_PARAMS "$@"; do
args+=" --data-urlencode $p "
args+=("--data-urlencode" "$p")
done
curl -fGsS -H "Accept-Language: ${LANG%_*}" $args --compressed "wttr.in/${location}"
curl -fGsS -H "Accept-Language: ${LANG%_*}" "${args[@]}" --compressed "wttr.in/${location}"
}
wttr "$@"

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.3 KiB

After

Width:  |  Height:  |  Size: 2.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.9 KiB

After

Width:  |  Height:  |  Size: 1.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.4 KiB

After

Width:  |  Height:  |  Size: 2.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.8 KiB

After

Width:  |  Height:  |  Size: 2.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.8 KiB

After

Width:  |  Height:  |  Size: 1.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.3 KiB

After

Width:  |  Height:  |  Size: 3.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.4 KiB

After

Width:  |  Height:  |  Size: 2.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.2 KiB

After

Width:  |  Height:  |  Size: 2.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.5 KiB

After

Width:  |  Height:  |  Size: 2.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.4 KiB

After

Width:  |  Height:  |  Size: 2.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.5 KiB

After

Width:  |  Height:  |  Size: 2.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.2 KiB

After

Width:  |  Height:  |  Size: 2.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.4 KiB

After

Width:  |  Height:  |  Size: 2.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.8 KiB

After

Width:  |  Height:  |  Size: 2.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.6 KiB

After

Width:  |  Height:  |  Size: 2.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.7 KiB

After

Width:  |  Height:  |  Size: 2.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.1 KiB

After

Width:  |  Height:  |  Size: 2.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 15 KiB

After

Width:  |  Height:  |  Size: 14 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 85 KiB

After

Width:  |  Height:  |  Size: 76 KiB

@ -41,7 +41,7 @@ Translated/improved/corrected by:
* Indonesian: Andria Arisal @andria009
* Interlingua: Dustin Redmond @dustinkredmond (on github)
* Irish: Robert Devereux @RobertDev (gh), Conor O'Callaghan @ivernus (gh)
* Italian: Diego Maniacco
* Italian: Diego Maniacco, Riccardo Volpe aka YITA @yitaverse (gh)
* Japanese: @ryunix
* Kazakh: Akku Tutkusheva, Oleg Tropinin
* Korean: Jeremy Bae @opt9, Jung Winter @res_tin

@ -0,0 +1,68 @@
Istruzioni:
$ curl wttr.in # Il tempo nella tua posizione attuale
$ curl wttr.in/muc # Meteo all'aeroporto di Monaco
Tipi di località supportate:
/paris # Il nome di una città
/~Torre+Eiffel # Il nome di qualsiasi sito famoso
/Москва # Il nome Unicode di qualsiasi sito in qualsiasi lingua
/muc # Il codice di un aeroporto (3 lettere)
/@stackoverflow.com # Il nome di un dominio web
/94107 # Un prefisso
/-78.46.106.79 # Coordinate GPS
Siti speciali:
/moon # La fase lunare (aggiungere ,+US o ,+France per questi paesi)
/moon@2016-10-25 # La fase lunare in una data specifica (@2016-10-25)
Unità:
?m # Metrico (SI) (lo standard ovunque tranne che negli Stati Uniti)
?u # Sistema unificato di classificazione del suolo o USCS (lo standard negli Stati Uniti)
?M # Mostra la velocità del vento in m/s
Opzioni di visualizzazione:
?0 # Solo meteo attuale
?1 # Meteo attuale + previsioni per il giorno successivo
?2 # Il tempo attuale + le previsioni per i prossimi due giorni
?A # ignora l'agente utente e forza il formato di output ANSI (terminale)
?F # Non mostra la riga "Segui".
?n # Versione breve (solo giorno e notte)
?q # Versione silenziosa (senza il testo "Previsioni meteo:")
?Q # Versione super silenziosa (né "Previsioni meteo:" né nome della città)
?T # Modalità testuale (nessun colore)
Opzioni utili per il formato PNG:
/paris.png # Genera un'immagine PNG
?p # Aggiunge un bordo attorno all'immagine
?t # Trasparenza = 150
transparency=150 # Trasparenza da 0 a 255 (255 = nessuna trasparenza)
Le opzioni possono essere utilizzate insieme:
/Paris?0pq
/Paris?0pq&lang=fr
/Paris_0pq.png # In modalità PNG le opzioni sono specificate dopo il carattere _ (trattino basso) anziché ?
/Rome_0pq_lang=it.png # In modalità PNG usare opzioni brevi e lunghe, ma separate con _ (underscore) anziché ? e &
Posizione:
$ curl fr.wttr.in/Paris
$ curl wttr.in/paris?lang=fr
$ curl -H "Accetta lingua: fr" wttr.in/paris
Lingue supportate:
FULL_TRANSLATION (supportato)
PARTIAL_TRANSLATION (in corso)
URL speciali:
/:aiuto # Mostra questa pagina
/:bash.function # Visualizza una funzione wttr() suggerita in bash
/:translation # Visualizza le informazioni sui traduttori

@ -1,3 +1,35 @@
: Pioggia intensa e grandine con temporali : Heavy rain and hail with thunderstorm
: Pioggia intensa con temporale : Heavy rain with thunderstorm
: Pioggia leggera e grandine con temporali : Light rain and hail with thunderstorm
: Pioggia leggera e nevicata : Light rain and snow shower
: Pioggia leggera con temporale : Light rain with thunderstorm
: Leggera nevicata : Light snow shower
: Nebbia parziale : Partial fog
: Pioggia e grandine con temporali : Rain and hail with thunderstorm
: Pioggia con temporale : Rain with thunderstorm
: Nebbia leggera : Shallow fog
: Foschia : Smoke
: Burrasche : Squalls
: Temporali nelle vicinanze : Thunderstorm in vicinity
: Neve : Snow
: Pioggia : Rain
: Pioggia leggera, Rovesci di pioggia : Light Rain, Rain Shower
: Rovesci di pioggia : Rain Shower
: Banchi di nebbia : Patches of fog
: Pioggerellina : Drizzle
: Pioggerellina leggera : Light drizzle
: Bassi cumuli di neve : Low drifting snow
: Pioggia leggera e neve : Light rain and snow
: Rovesci nelle vicinanze : Shower in vicinity
: Pioggia con temporale : Rain with thunderstorm
: Rovesci di pioggia e neve : Rain and snow shower
: Temporale : Thunderstorm
: Pioggerellina e pioggia : Drizzle and rain
: Grandine con temporale : Hail with thunderstorm
: Foschia : Haze
: Pioggerellina leggera e pioggia : Light drizzle and rain
: Pioggia leggera e piccoli cumuli di grandine/neve con temporale : Light rain and small hail/snow pallets with thunderstorm
: Pioggia a tratti nelle vicinanze : Patchy rain nearby
113: Sereno : Clear
113: Soleggiato : Sunny
116: Parzialmente nuvoloso : Partly cloudy

@ -16,37 +16,40 @@ Tipos de localização suportados:
Lugares especiais:
/moon # A fase da lua (acrescente ,+US ou ,+France para estas cidades)
/moon@2016-10-25 # A fase da lua em uma data determinada (@2016-10-25)
/moon@2016-10-25 # A fase da lua numa determinada data (@2016-10-25)
Unidades:
?m # métricas (SI) (o padrão em todos os lugares exceto nos EUA)
?u # Sistema Unificado de Clasificaçāo de Solo ou USCS (o padrão nos EUA)
?M # mostrar a velocidade do vento em m/s
m # Sistema métrico (SI) (usado por omissão em todos os lugares exceto nos EUA)
u # Sistema Unificado de Clasificaçāo de Solo ou USCS (usado por omissão nos EUA)
M # mostrar a velocidade do vento em m/s
Opçōes de visualização:
?0 # somente o clima atual
?1 # o clima atual + a previsão de 1 dia
?2 # o clima atual + a previsão de 2 dias
?n # versão curta (só o dia e a noite)
?q # versão quieta (sem o texto de "Previsão do Tempo")
?Q # versão superquieta (sem "Previsão do Tempo" e o nome da cidade)
?T # desliga as sequências de terminal (sem cores)
0 # apenas o clima atual
1 # o clima atual + a previsão de hoje
2 # o clima atual + as previsões de hoje + amanhã
A # ignora User-Agent e força output ANSI (terminal)
d # restringe o output a glifos da fonte padrão da consola
F # não mostra a linha "Segue"
n # versão curta (só o dia e a noite)
q # versão silenciosa (sem o texto de "Previsão do Tempo")
Q # versão super-silenciosa (sem "Previsão do Tempo" e o nome da cidade)
T # desliga as sequências de terminal (sem cores)
Opçōes de PNG:
/paris.png # gera uma imagem PNG
?p # acrescenta uma borda ao redor da imagem
?t # transparência 150
p # acrescenta uma borda ao redor da imagem
t # transparência 150
transparency=... # transparência de 0 a 255 (255 = sem transparência)
As opções podem ser usadas em conjunto:
/Paris?0pq
/Paris?0pq&lang=fr
/Paris_0pq.png # em PNG as opções se especificam depois do caracter _
/Rome_0pq_lang=it.png # uma longa sequência de opções podem ser separadas pelo caracter _
/Paris_0pq.png # em PNG as opções especificam-se depois do caracter _
/Rome_0pq_lang=it.png # opções longas podem ser separadas com um caracter _
Localizaçāo:
@ -62,6 +65,6 @@ Línguas suportadas:
URLs especiais:
/:help # mostra esta página
/:bash.function # sugere uma função wttr() em bash
/:bash.function # mostra uma função bash wttr() recomendada
/:translation # mostra informação a respeito dos tradutores

Loading…
Cancel
Save