Skip to content
/ fingr Public
forked from ways/fingr

Weather forcast / meteogram via finger. Rewrite of pyyrascii

License

Notifications You must be signed in to change notification settings

poetaman/fingr

 
 

Repository files navigation

Graph.no finger weather

Finger server, serving weather forcast

An ascii version of Yr.no's meteogram https://www.yr.no/en/forecast/graph/1-72837/Norway/Oslo/Oslo/Oslo

Usage

Finger is supported on all major platforms (Windows, OS X, Linux, FreeBSD, Android, ...). Open up your terminal (or cmd.exe on Windows).

If you don't have finger available, but have some standard shell tools, try one of the following:

echo oslo|nc graph.no 79
telnet graph.no 79 (and then type oslo)

Example output

$ finger oslo@graph.no

        -= Meteogram for norway/oslo/oslo/oslo =-                    
'C                                                                   Rain
9                                                         --------- 
8                                                   =-----          
7                                                                   
6                                                =--                
5                                             ---                   
4=--                                       ---                      
3                                                                   
2   ------                              ---                         
1         ---------               ------                            
0                  ---------                                        
    21 22 23 00 01 02 03 04 05 06_07_08_09_10_11_12_13_14_15_16_17_18 Hour

    N NE SE SE SE  S  S SE SE SE SE  S SW SW  S SW SW SW SW SW  S SE Wind dir.
    3  2  2  2  2  1  1  1  0  1  1  1  1  1  2  2  2  2  2  2  2  2 Wind(mps)

Legend left axis:   - Sunny   ^ Scattered   = Clouded   =V= Thunder   # Fog
Legend right axis:  | Rain    ! Sleet       * Snow

Techs

Thanks

Server install

  • use pipenv for python and dependencies.
  • Redis server, set to drop stuff when full.
  • Periodically clean old files in data/

Testing

python3 -m unittest discover -v -p test/__init__.py

More

See legacy.txt for the transition from pyyrascii to this.

TODO

  • Merge read_denylist, read_motdlist.
  • Set default dirs for configs.

About

Weather forcast / meteogram via finger. Rewrite of pyyrascii

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 99.7%
  • Shell 0.3%