actions / actions/starter-workflows
Ski master
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 12.1k
- Forks
- 7.3k
- PR merge metrics
- No merged PRs in 30d
Description
import streamlit as st
import requests
from datetime import datetime
import urllib.parse
הגדרות דף
st.set_page_config(page_title="SkiMaster Pro", page_icon="⛷️")
מפתח ה-API שלך
API_KEY = "3e830cd1e7024f7d1839481229012cfe"
def get_weather(city):
url = f"http://api.openweathermap.org/data/2.5/weather?q={city}&appid={API_KEY}&units=metric&lang=he"
res = requests.get(url).json()
return res if res.get("cod") == 200 else None
st.title("⛷️ SkiMaster Pro")
resort = st.text_input("הזן אתר סקי (באנגלית):", placeholder="Val Thorens, Ischgl...")
if resort:
data = get_weather(resort)
if data:
# הצגת מזג אוויר
col1, col2 = st.columns(2)
with col1:
st.metric("טמפרטורה", f"{data['main']['temp']}°C")
st.write(f"מצב: {data['weather'][0]['description']}")
with col2:
st.write(f"💨 רוח: {data['wind']['speed']} קמ"ש")
st.write(f"❄️ לחות: {data['main']['humidity']}%")
st.divider()
st.subheader("📍 מה תרצה למצוא היום?")
# יצירת לינקים חכמים לחיפוש מקומי ממוקד
resort_encoded = urllib.parse.quote(resort)
col_a, col_b = st.columns(2)
with col_a:
# מסעדות מומלצות עם שעות פתיחה דרך גוגל
st.markdown(f"[🍴 מסעדות פתוחות עכשיו](https://www.google.com/search?q=best+restaurants+in+{resort_encoded}+open+now)")
# אירועים והופעות
st.markdown(f"[🎉 הופעות ואירועים היום](https://www.google.com/search?q=events+and+festivals+in+{resort_encoded}+today)")
with col_b:
# מפת מסלולים
st.markdown(f"[🗺️ מפת מסלולי סקי (PDF/Image)](https://www.google.com/search?q={resort_encoded}+piste+map+high+res)")
# אפרה-סקי
st.markdown(f"[🍻 מקומות לאפרה-סקי](https://www.google.com/search?q=best+après+ski+bars+in+{resort_encoded})")
st.info(f"טיפ ל-K2 שלך: בטמפרטורה של {data['main']['temp']} מעלות, השלג עשוי להיות מהיר במיוחד.")
else:
st.error("אתר לא נמצא.")
else:
st.info("הזן אתר כדי לקבל את כל המידע.")
סרגל צד קבוע
st.sidebar.title("הציוד שלי")
st.sidebar.write("🎿 K2 Mindbender BOA (29.5)")
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
The issue contains a standalone Streamlit application but names no repository file, test, entry point, requested change, or acceptance criteria. Start by clarifying the intended contribution and locating where this application belongs in actions/starter-workflows; completion cannot be defined until the desired behavior and target files are specified.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python, streamlit
- Domain
- web-dev
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 15/100