Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ericthomasca/cornerbrookweather
Go application designed to retrieve current weather data from the OpenWeatherMap API and post it to a Mastodon account.
https://github.com/ericthomasca/cornerbrookweather
go golang mastodon rest rest-api weather
Last synced: about 1 month ago
JSON representation
Go application designed to retrieve current weather data from the OpenWeatherMap API and post it to a Mastodon account.
- Host: GitHub
- URL: https://github.com/ericthomasca/cornerbrookweather
- Owner: ericthomasca
- License: mit
- Created: 2023-11-17T22:54:24.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2023-11-22T02:28:47.000Z (about 1 year ago)
- Last Synced: 2024-11-14T17:04:50.143Z (about 2 months ago)
- Topics: go, golang, mastodon, rest, rest-api, weather
- Language: Go
- Homepage: https://botsin.space/@cornerbrookweather
- Size: 28.3 KB
- Stars: 2
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# CornerBrook Weather App
## Overview
The CornerBrook Weather App is a Go application designed to retrieve current weather data from the OpenWeatherMap API and post it to the Mastodon account [[email protected]](https://botsin.space/@cornerbrookweather) every hour. This application serves as a convenient way to keep the Corner Brook community updated on their local weather.
## Features
- OpenWeatherMap Integration: Utilizes the OpenWeatherMap API to fetch current weather data for Corner Brook.
- Mastodon Posting: Posts the fetched weather information to the Mastodon account [[email protected]](https://botsin.space/@cornerbrookweather) on an hourly basis.
- Hourly Execution: The application is designed to run hourly through a scheduler or cron job.## Configuration
- Rename .env.example to .env or make a copy.
- Edit the .env with values provided from Mastodon and OpenWeatherMap.