• syncWXremix alternative

    From echicken@1:103/705 to All on Mon Feb 27 15:29:43 2023
    I stumbled upon https://wttr.in/ last week and thought it would be a good replacement for KenDB3's syncWXremix, which stopped working some years ago. I've put a little module in git at xtrn/wttr.in/ for those who wish to try it.

    A few notes:

    The service spits out a terminal-friendly "graphic". What you see in your terminal was generated by them and left (mostly) unaltered.

    Output is in utf-8 and perfect translation / display isn't always possible.

    Output is in 256 colours, but I'm converting them to ANSI-BBS.

    Basically don't ask me to change the way it looks, except for fixing a colour problem or replacing eg. an upside down ? with a more appropriate character.

    They provide the IP geolocation and it isn't always as accurate as I'm used to. I could probably improve this but am hoping not to.

    Thanks to Keyop for help in testing this.

    ---
    echicken
    electronic chicken bbs - bbs.electronicchicken.com
    ---
    þ Synchronet þ electronic chicken bbs - bbs.electronicchicken.com
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Android8675@1:103/705 to echicken on Mon Feb 27 10:52:22 2023
    Re: syncWXremix alternative
    By: echicken to All on Mon Feb 27 2023 03:29 pm

    I stumbled upon https://wttr.in/ last week and thought it would be a good replacement for KenDB3's syncWXremix,
    which stopped working some years ago. I've put a little module in git at xtrn/wttr.in/ for those who wish to
    try it.

    Tried, works/looks great. I just used ssh to connect so I assume it's outputting UTF8. It picked me up as being in Seaside which is one burg over from me. I'll try connecting via VPN from a few other "locations". Nice work.

    ---
    þ Synchronet þ Shodan's Core @ ShodansCore.com
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From echicken@1:103/705 to Android8675 on Mon Feb 27 19:41:26 2023
    Re: syncWXremix alternative
    By: Android8675 to echicken on Mon Feb 27 2023 10:52:22

    Tried, works/looks great. I just used ssh to connect so I assume it's outputting UTF8. It picked me up as being in Seaside which is one burg

    I'm not actively doing any character translation in the script *except* that their unicode lightning bolt character wasn't displaying in SyncTERM so I replaced it with a Z. I can explore that further if it becomes necessary.

    over from me. I'll try connecting via VPN from a few other "locations".

    It thinks I'm about a three hour drive east of Toronto, which isn't great.

    There are a couple of things we could do to improve geolocation:

    - Host my own wttr server and mess around with its IP geolocation stuff, let everyone use my server

    - Do IP geolocation lookup on the BBS (through a separate service) and just get a city name or lat/long to pass to wttr.in so they don't do IP geolocation for us

    Bit of a bummer either way. The main thing I liked about this service was that it seemed to require minimal effort on my end. :)

    ---
    echicken
    electronic chicken bbs - bbs.electronicchicken.com
    ---
    þ Synchronet þ electronic chicken bbs - bbs.electronicchicken.com
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Daryl Stout@1:2320/33 to echicken on Tue Feb 28 01:04:00 2023
    I stumbled upon https://wttr.in/ last week and thought it would be a
    good replacement for KenDB3's syncWXremix, which stopped working some years ago. I've put a little module in git at xtrn/wttr.in/ for those
    who wish to try it.

    I would definitely be interested in having this for my BBS.

    Daryl

    ... I was hospitalized so long, that I took a turn for the nurse.
    === MultiMail/Win v0.52
    --- SBBSecho 3.14-Win32
    * Origin: The Thunderbolt BBS - Little Rock, Arkansas (1:2320/33)
  • From Gamgee@1:103/705 to Daryl Stout on Wed Mar 1 08:16:00 2023
    Daryl Stout wrote to echicken <=-

    I stumbled upon https://wttr.in/ last week and thought it would be a
    good replacement for KenDB3's syncWXremix, which stopped working some years ago. I've put a little module in git at xtrn/wttr.in/ for those
    who wish to try it.

    I would definitely be interested in having this for my BBS.

    Well..... go to the git repository and get it. It's right there, freely available to all!



    ... Can you tell me how to get, how to get to Sesame Street?
    --- MultiMail/Linux v0.52
    þ Synchronet þ Palantir BBS * palantirbbs.ddns.net * Pensacola, FL
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Phigan@1:103/705 to Daryl Stout on Wed Mar 1 09:52:28 2023
    Re: syncWXremix alternative
    By: Daryl Stout to echicken on Tue Feb 28 2023 01:04 am

    I stumbled upon https://wttr.in/ last week and thought it would be a

    I would definitely be interested in having this for my BBS.

    On my WWIV board I just made a script that asks for some input from the user and does a call to wttr.in for the infos. In Windows, a batch file should do.

    ---
    þ Synchronet þ TIRED of waiting 2 hours for a taco? GO TO TACOPRONTO.bbs.io
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From echicken@1:103/705 to Phigan on Wed Mar 1 18:03:01 2023
    Re: syncWXremix alternative
    By: Phigan to Daryl Stout on Wed Mar 01 2023 09:52:28

    On my WWIV board I just made a script that asks for some input from the user and does a call to wttr.in for the infos. In Windows, a batch file should do.

    One problem is that their 'ANSI' output is 256 colour. Some terminals will handle this just fine, others will ignore their colour sequences and the graphic will be mono. You could pipe it through this utility:

    https://github.com/zaidhaan/xterm2ansi

    For Synchronet sysops, the module I created handles this internally.

    Prompting for location input is a nice idea and I might make that an option.

    ---
    echicken
    electronic chicken bbs - bbs.electronicchicken.com
    ---
    þ Synchronet þ electronic chicken bbs - bbs.electronicchicken.com
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Phigan@1:103/705 to echicken on Thu Mar 2 09:06:31 2023
    Re: syncWXremix alternative
    By: echicken to Phigan on Wed Mar 01 2023 06:03 pm

    One problem is that their 'ANSI' output is 256 colour. Some terminals will

    True, but I strip the color with the '?T' option.

    ---
    þ Synchronet þ TIRED of waiting 2 hours for a taco? GO TO TACOPRONTO.bbs.io
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Codefenix@1:103/705 to echicken on Thu Mar 2 13:27:01 2023
    Re: syncWXremix alternative
    By: echicken to Phigan on Wed Mar 01 2023 06:03 pm

    Prompting for location input is a nice idea and I might make that an option.

    That's what I do here as well. User gets the option to use either their IP, or any freetext input that wttr.in would consider a valid location.

    My wx center mod that I've been tooling around with mainly uses a few different APIs (weather.gov & openweathermap.org) to retrieve and display forecast data, and also displays weather maps in sixel format. wttr.in was something I decided to add to it just to see if I could get it to display OK. Your handling of 256-16 conversion is way more elegant than mine! However I still like to do most of my own character substitutions, such as for the windspeed direction arrows. I could never find a suitable diagonal arrow substitution, so I recently just settled on NE, NW, SE, SW.

    |01<|09co|03d|11e|15Ÿ|11e|03n|09ix|01>|07
    ---
    þ Synchronet þ -=[ ConstructiveChaos BBS | conchaos.synchro.net ]=-
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Android8675@1:103/705 to echicken on Wed Mar 8 10:04:50 2023
    Re: syncWXremix alternative
    By: echicken to Android8675 on Mon Feb 27 2023 07:41 pm

    Bit of a bummer either way. The main thing I liked about this service was that it seemed to require minimal effort on my end. :)
    It's nice, it looks great, and like you said it translates easily to BBS Land. I just re-fixed my fTelnet, but I'm still interested in VFX Terminal I mentioned the other day. Maybe I'll tinker and see if I can get it working.

    Good stuff eC.

    ---
    þ Synchronet þ Shodan's Core @ ShodansCore.com
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)