GitHunt

weather-widget

weather widget without any signup and api key using open-meteo
you can simply change icons in climacons folders

Weather Widget

FA
EN

Brief Description: A simple weather widget without any signup and api key using open-meteo

Table of Contents

  1. Introduction
  2. Features
  3. Installation
  4. Usage
  5. API Docs
  6. Contact

Introduction

  • What is this: This is a simple widget for you project without signup and any problems.
  • is there any limits: 600 API calls per minute | 5,000 API calls per hour | 10,000 API calls per day

Features

  • Simple , Light.
  • No need to signup.
  • Animated icons SVG.
  • Multi Language : Fa , EN , RU
  • Multi Temputure
  • Persian Numbers and RTL styles for Persian language

Installation

  1. Download Zip File and extarct it
  2. Put Styles in same directory with js file
  3. Change Files directory depends on your projects
  4. Change the location: Location is based on latitude and longitude change that on fetchWeatherData > url you can get that in docs downblow

Usage

  • add <weather-widget></weather-widget> where you want to add widget
  • enjoy the widget
  • if you dont have the files in same directory you need to pass url to the function
  • example for django: <weather-widget static-url="{% static 'dir/weather-widget' %}"></weather-widget> dir is your path and weather-widget is your folder
  • if you dont know how to change function to use that path variable look at the example file
  • To change temputure or language just change these two variables : isCelsius - currentLang

API Docs

Open Meteo Docs

Contact

email : saeed.masoodi@yahoo.com

Languages

JavaScript88.5%CSS10.0%HTML1.5%

Contributors

BSD 3-Clause "New" or "Revised" License
Created February 7, 2025
Updated August 25, 2025
saeedmasoudie/weather-widget | GitHunt