Saeris / weather

🌦 a tiny weather app

Home Page:https://weather.saeris.gg

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

🌦

a tiny weather app build with Nextjs and Flask

Tip

Use uv for a faster Python development experience!

Installation instructions below will assume you have this CLI tool installed.

🧰 Setup

Click to view environment setup (optional)

This repo uses Python and Node, and was scaffolded using the following tools.

Install uv

macOS/Linux:

curl -LsSf https://astral.sh/uv/install.sh | sh

Windows:

powershell -c "irm https://astral.sh/uv/install.ps1 | iex"

Install volta

macOS/Linux:

curl https://get.volta.sh | bash

Windows:

Download installer from Volta Getting Started page

Install node

volta install node

Install yarn

volta install yarn

And you're good to go!

  1. Create a .env file in the project root directory and add your api key from Open Weather Map to a key named WEATHER_API_KEY=

    macOS/Linux users can use this command to write the key to a new file (will cause Flask to throw an error on Windows):

    echo WEATHER_API_KEY=api_key_here > .env
  2. Create a new local virtual environment:

    uv venv
  3. Install project dependencies:

    Node:

    yarn

    Python:

    uv pip install -r requirements.txt
  4. Activate virtual environment:

    yarn activate
  5. And start developing!

    yarn dev

About

🌦 a tiny weather app

https://weather.saeris.gg


Languages

Language:TypeScript 50.9%Language:CSS 42.8%Language:Python 4.0%Language:JavaScript 2.2%