KenDB3 / syncWXremix

Weather application/external program (door) written in javascript for Synchronet BBS
ISC License
9 stars 7 forks source link

Synopsis

syncWXremix is a javascript weather application designed to run on a Synchronet Bulletin Board System (BBS). It is based off of syncWX which is the original weather.js file designed by nolageek from Capitol Shrill BBS. Weather data comes from Weather Underground. The icon files are designed in special coding using ASCII 1 character (Control-A) and then a letter to define a color or special property (ie. blinking text) which is similar to ANSI specifications. Reference for Synchronet Ctrl-A can be found here. The icon designs were inspired by a weather app called wego, which was designed by Markus Teich. Markus was contacted, and his contribution/inspiration is mentioned in the (ISC) license in the "icons" folder.

Screenshots

Regular View:
Regular View

With weather alert:
Weather Alert 01 Weather Alert 02 Weather Alert 02

Non-US location (aka, app using Celsius instead of Fahrenheit):
Non-US Locale

Display Option for TTY (Mono) ASCII Only looks like this with an Alert:
TTY Mono ASCII 01

Links to more screenshots:
Full Color and Monochrome versions of the ASCII Icon Set

Code Example

The majority of what is happening in this app is based off of one query. Note, it combines four queries into one: conditions, forecast, astronomy, and alerts. It also adds through the "WXlang" variable the possibility for results in over 80 languages.

    var req= new HTTPRequest();
    var current = req.Get("http://api.wunderground.com/api/" + wungrndAPIkey + "/conditions/forecast/astronomy/alerts/" + WXlang + "q/" + wungrndQuery);
    var cu = JSON.parse(current);

Installation

Check out sysop.txt for full installation instructions.

License

This project is under ISC License, and so is the artwork in the "icons" folder. Please see the LICENSE file for the project, and the LICENSE file for the icons.

Revision History (change log)

Currently working on...

1.04 (2016-02-10)

1.03 (2016-01-25)

1.02 (2016-01-09)

1.01b (2015-12-31)

1.00 (2015-12-21)