How boofinka/skywatch works
SkyWatch provides a browser-based weather lookup: a city search reaches the Flask frontend, which proxies the request to the backend; the backend resolves the city and fetches current conditions from Open-Meteo. The repository also documents a separate cluster-provisioning and GitOps deployment capability. Source excerpts establish the application calls and dynamic inventory behavior; infrastructure and deployment links below rely on README statements and directory paths, since those implementation files were not sampled.
Main entry points: playbooks Ansible orchestration · frontend/app.py Flask frontend · backend/app.py Weather API · multipass.py Dynamic inventory
Components 17
Weather application
- Flask frontend
frontend/app.py - Weather search UI
frontend/templates/index.html - Weather API
backend/app.py - Open-Meteo geocoding
- Open-Meteo forecast
Cluster provisioning
- Multipass VMs
- Dynamic inventory
ansible/inventories/multipass.py - Ansible orchestration
ansible/playbooks - Common prerequisites
ansible/roles/common - K3s control plane
ansible/roles/k3s-server - K3s workers
ansible/roles/k3s-agent - K3s cluster
GitOps deployment
- SkyWatch Helm chart
helm/skywatch - ArgoCD GitOps
argocd - Terraform bootstrap
terraform - K3s Traefik ingress
Other components
- End user
Connections 17
- End user → Flask frontend: searches
README.md - Flask frontend → Weather search UI: renders
README.md - Flask frontend → Weather API: requests weather
frontend/app.py - Weather API → Open-Meteo geocoding: resolves city
backend/app.py - Weather API → Open-Meteo forecast: fetches conditions
backend/app.py - Dynamic inventory → Multipass VMs: queries instances
ansible/inventories/multipass.py - Ansible orchestration → Dynamic inventory: discovers hosts
README.md - Ansible orchestration → Common prerequisites: applies role
README.md - Ansible orchestration → K3s control plane: installs control plane
README.md - Ansible orchestration → K3s workers: joins workers
README.md - K3s control plane → K3s cluster: creates control plane
README.md - K3s workers → K3s cluster: joins cluster
README.md - Terraform bootstrap → ArgoCD GitOps: bootstraps
README.md - ArgoCD GitOps → SkyWatch Helm chart: deploys chart
README.md - SkyWatch Helm chart → K3s cluster: defines workloads
README.md - End user → K3s Traefik ingress: reaches host
README.md - K3s Traefik ingress → Flask frontend: routes traffic
README.md