Coder Social home page Coder Social logo

zauberware / humhub-weather-module Goto Github PK

View Code? Open in Web Editor NEW
2.0 3.0 1.0 1.1 MB

Weather widget for humhub community platform.

Home Page: https://zauberware.github.io/humhub-weather-module/

License: GNU Affero General Public License v3.0

PHP 82.86% CSS 3.92% JavaScript 13.22%
humhub humhub-module yii2-modules php weather-widget humhub-weather

humhub-weather-module's Introduction

Yii2

HumHub Weather Widget

HumHub Weather Widget Day HumHub Weather Widget Night

!! This plugin is under development. See Open tasks section !!

This module is for HumHub Version 1.1+

Description

This module attaches a simple weather widget in the dashboard's sidebar. It get's is data from https://openweathermap.org/api. You have to obtain an ApiKey first.

As an admin you can define the location from where you want to show the current weather. You can also choose Kelvin or Fahrenheit for displaying the temperature. The title color in the widget is getting set by less variable @primary for that theme.

Dependencies

The plugins includes the awesome jQuery wrapper for openweathermap API: https://github.com/michael-lynch/open-weather

Installation

  1. Download the module and upload it to your modules directory >yourdomain.com>protected>modules
  2. Rename module directory weather (May not be required!)
  3. Enable module from >Admin>Modules
  4. Enter API Key and location

Open Tasks for v1.0

  • load michael-lynch/open-weather with package manager
  • testing different HumHub versions
  • Specs

Changelog

v0.2.1

  • Adding option for windspeed in km/h OR Mps

v0.2

  • Removed static translations and export keys
  • Translations german and english
  • set language in js from current user language
  • set language in js from current user language
  • setting text color from less var @primary

v0.1

  • Basic module with config for API Key and Location
  • Include JS bib + old sourcecode

Authors/Module Website

Module website: https://github.com/zauberware/humhub-weather-module

Author website: https://www.zauberware.com
Author: zauberware technologies / Simon Franzen [email protected]

zauberware technologies

humhub-weather-module's People

Contributors

simonfranzen avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

t3social

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.