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)
- Host: GitHub
- URL: https://github.com/alterebro/cierzo
- Owner: alterebro
- License: mit
- Created: 2017-02-10T21:34:14.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2023-05-09T22:10:31.000Z (about 2 years ago)
- Last Synced: 2025-01-14T13:55:30.431Z (5 months ago)
- Topics: android-application, darksky, gulp, hybrid-application, phonegap, weather-app, webapp
- Language: JavaScript
- Homepage: https://cierzo.976.es/
- Size: 2.09 MB
- Stars: 3
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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
![]()
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/)---