Skip to content

Weathermate is your personal AI weather dashboard. Get a summary of the weather anywhere in the world. Built with NextJS 14, TypeScript, TailwindCSS, GraphQL, StepZen, OpenAI API, Tremor, Weather API, and Vercel.

Notifications You must be signed in to change notification settings

neetmangat/weathermate

Repository files navigation

WeatherMate

Production

Development

  1. Clone the repository and install dependencies
git clone https://github.com/neetmangat/weathermate.git weathermate && cd weathermate && npm install
  1. Generate your own OpenAI API key on the OpenAI Platform

  2. Setup a Stepzen account

  3. Initialize Stepzen with the data from Weather API & run server

stepzen init && stepzen import curl https://api.open-meteo.com/v1/forecast\?latitude\=51.51\&longitude\=-0.13\&hourly\=temperature_2m,relativehumidity_2m,apparent_temperature,precipitation_probability,precipitation,rain,showers,snowfall,snow_depth,windgusts_10m,uv_index,uv_index_clear_sky\&daily\=weathercode,temperature_2m_max,temperature_2m_min,apparent_temperature_max,apparent_temperature_min,sunrise,sunset,uv_index_max,uv_index_clear_sky_max\&current_weather\=true\&timezone\=Europe%2FLondon && stepzen start --dashboard=local
  1. Add the server environment variables
cp .env.example .env.local
  1. Run the development server:
yarn run dev
  1. Open http://localhost:3000 with your browser to see the result.

About

Weathermate is your personal AI weather dashboard. Get a summary of the weather anywhere in the world. Built with NextJS 14, TypeScript, TailwindCSS, GraphQL, StepZen, OpenAI API, Tremor, Weather API, and Vercel.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published