An open API service indexing awesome lists of open source software.

https://github.com/alterebro/cierzo

Local weather hybrid app to display wind conditions and forecast for a specific location (Zaragoza, Spain)
https://github.com/alterebro/cierzo

android-application darksky gulp hybrid-application phonegap weather-app webapp

Last synced: 3 months ago
JSON representation

Local weather hybrid app to display wind conditions and forecast for a specific location (Zaragoza, Spain)

Awesome Lists containing this project

README

        

# Cierzo.app

**Cierzo Maño** is a JavaScript fast dev test hybrid application built with PhoneGap, using the ~~[darksky.net](https://darksky.net/dev/)~~ [Pirate Weather](https://pirateweather.net/en/latest/) weather API. The UI targets on display the wind current conditions and forecast for a specific location, in this case: — *The windy city of Zaragoza, Spain*.

- **Online WebApp : [https://cierzo.976.es/](https://cierzo.976.es/)**
- **Android Mobile App : [https://play.google.com/store/apps/details?id=com.alterebro.cierzo](https://play.google.com/store/apps/details?id=com.alterebro.cierzo)**

Android Mobile App
Online WebApp


Get it on Google Play

play.google.com/store/apps/details?id=com.alterebro.cierzo




https://cierzo.976.es/

---

## Development:

- Clone the repository or **[download it](https://github.com/alterebro/cierzo/archive/master.zip)**.

```
$ git clone https://github.com/alterebro/cierzo.git`
```

- Install dependencies:

```
$ npm install
```

- ~~Sign up for a Dark Sky API Key:
[https://darksky.net/dev/](https://darksky.net/dev/)~~
- Sign up for a Pirate Weather API Key:
[https://pirateweather.net/en/latest/](https://pirateweather.net/en/latest/)

- Edit the file `cierzo/api/config.sample.php` file and rename it to `cierzo/api/config.php`, use the secret API Key given to you by DarkSky.

```php
'alphanumeric API Key from PirateWeather',
'darksky_base_url' => 'https://api.pirateweather.net/forecast/',
'latitude' => 41.65, // Zaragoza, Spain (Lat)
'longitude' => -0.883, // Zaragoza, Spain (Lng)
'lang' => 'es',
'units' => 'ca', // auto | ca | uk2 | us | si
);
?>
```

- Now you can build the project with gulp

```sh
$ gulp

# If you don't already have gulp, first do:
$ npm install gulp-cli -g
```
This will create the compiled project on the `www/` folder.

---

---

### Credits / Libraries

- **t.js** Micro templating framework by Jason Mooberry (@jasonmoo) and modified by @icyflash: [github.com/icyflash/t.js](https://github.com/icyflash/t.js)
- **Date.format** JS library with same method as PHP's date() function, by Jacob Wright, @jacwright [github.com/jacwright/date.format](https://github.com/jacwright/date.format)
- **Ajax module in Vanilla JS** by @fdaciuk [github.com/fdaciuk/ajax](https://github.com/fdaciuk/ajax)
- **Meteocons** weather icons set by Alessio Atzeni [www.alessioatzeni.com/meteocons/](http://www.alessioatzeni.com/meteocons/)

---