Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/sid220/weather-beacon
A weather beacon written in PHP you can run on your own server or at the website listed.
https://github.com/sid220/weather-beacon
openweathermap php weather-beacon weather-conditions
Last synced: 4 days ago
JSON representation
A weather beacon written in PHP you can run on your own server or at the website listed.
- Host: GitHub
- URL: https://github.com/sid220/weather-beacon
- Owner: Sid220
- License: mit
- Created: 2020-12-15T16:06:33.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2022-03-29T21:48:48.000Z (over 2 years ago)
- Last Synced: 2024-10-11T16:50:59.307Z (about 1 month ago)
- Topics: openweathermap, php, weather-beacon, weather-conditions
- Language: PHP
- Homepage: https://www.vestal.ml/beacon/onlinebeacon.html
- Size: 43.9 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Weather Beacon
## About
This weather beacon shows colors based on the current weather conditions for your location using openweathermap.org's weather API.## Colours
* Red = Rain
* Orange = Snow
* Blue = Clear
* Purple = Clouds
* Green = Everything else
See [openweathermap's weather conditions page](https://openweathermap.org/weather-conditions) for all of the weather conditions.## Notes
* The API Key has been hidden
* The location has been hidden
* Under MIT License
## Installation
Requirements:
* A Web Server
* PHP
* An Openweathermap API key (get one [here](https://home.openweathermap.org/users/sign_up))
### Step 1
Clone this repo using `git clone https://github.com/Sid220/weather-beacon.git` or if you have the github CLI `gh repo clone Sid220/weather-beacon`.
### Step 2
Next upload this to the server by moving the folder using a command simmilair to this:
`[sudo] mv ./weather-beacon/ [server directory (in apache the default is /var/www/html/)]`
### Step 3
Use a text editor to change:
* \ to your city
* \<2-DIGIT_COUNTRY_CODE> to your country code e.g. US
* \ to your latitude (you can use an online tool like [this](https://www.latlong.net/) to find it out)
* \ to your longitude (you can use an online tool like [this](https://www.latlong.net/) to find it out)
* \ to your API key
## Help, I'm a millenial who needs a pretty GUI and therefore can't use a CLI to solve my own problems
File an issue