Skip to content
This repository has been archived by the owner on Oct 1, 2020. It is now read-only.

ayltai/weatherbear

Repository files navigation

WeatherBear

GitHub workflow status Code Quality Code Coverage Maintainability Rating Reliability Rating Security Rating Vulnerabilities Maintenance Release License

A gorgeous weather app for your Mac, Linux, and Windows. Made with ❤

Buy me a coffee

Features

  • Beautiful and easy to use weather app
  • Supports switching between different weather data sources - Dark Sky, AccuWeather and Weatherbit
  • Customizable weather locations
  • Provides only the information that matters - temperature, humidity, precipitation, wind speed and UV index
  • Hourly and daily forecast
  • Auto reload data and background image
  • Supports switching between Celsius and Fahrenheit and different measurement units
  • ... and more. Check out the screenshots below!

Screenshots

macOS

macOS

Ubuntu

Ubuntu

Windows

Windows

Light theme

Light mode

Settings

Settings

More settings

Installation packages

OS Download URL
macOS https://github.com/ayltai/weatherbear/suites/872277729/artifacts/10155420
Linux https://github.com/ayltai/weatherbear/suites/872277729/artifacts/10155419
Windows https://github.com/ayltai/weatherbear/suites/872277729/artifacts/10155421

Development

Installation

  1. Install NodeJS
  2. Install dependencies
    npm i

Configuration

Dark Sky API

  1. Get an API key from Dark Sky (Dark Sky is no longer accepting new signups)
  2. Specify the API key for using Dark Sky:
    export REACT_APP_DARK_SKY_API_KEY=XXXXX

AccuWeather API

  1. Get an API key from AccuWeather
  2. Specify the API key for using AccuWeather:
    export REACT_APP_ACCU_WEATHER_API_KEY=XXXXX

Weatherbit API

  1. Get an API key from Weatherbit
  2. Specify the API key for using Weatherbit:
    export REACT_APP_WEATHER_BIT_API_KEY=XXXXX

Google Maps JavaScript API

  1. Go to Google Cloud Platform Console to get an API key
  2. Restrict your API key to the following APIs:
    • Geocoding API
    • Maps JavaScript API
    • Places API
  3. Specify the API key for using Google Maps JavaScript APIs:
    export REACT_APP_GOOGLE_MAPS_API_KEY=xxxxx

Unsplash API

Specify the URL of your Unsplash API proxy:

export REACT_APP_UNSPLASH_API_ENDPOINT=https://unsplash-api-proxy.appspot.com

How to run in development environment

npm run electron

How to create a production build

npm run build

How to create installation packages

For macOS:

npm run package:mac

For Linux:

npm run package:nix

For Windows:

npm run package:win

Acknowledgements

This software is made with the support of open source projects:

... and closed source services: