https://github.com/imkarimkarim/telegram-weather-bot
🌤️ Telegram bot that shows weather and sends daily updates at 6 AM
https://github.com/imkarimkarim/telegram-weather-bot
app cursor nodejs openweather-api productmanagement telegram-bot typescript vibe-coding weather
Last synced: 2 months ago
JSON representation
🌤️ Telegram bot that shows weather and sends daily updates at 6 AM
- Host: GitHub
- URL: https://github.com/imkarimkarim/telegram-weather-bot
- Owner: imkarimkarim
- License: isc
- Created: 2025-03-29T16:27:54.000Z (8 months ago)
- Default Branch: main
- Last Pushed: 2025-03-30T05:17:56.000Z (8 months ago)
- Last Synced: 2025-03-30T06:20:06.529Z (8 months ago)
- Topics: app, cursor, nodejs, openweather-api, productmanagement, telegram-bot, typescript, vibe-coding, weather
- Language: TypeScript
- Homepage: https://t.me/t_weather_notif_bot
- Size: 133 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Telegram Weather Bot 🌤️
A Telegram bot that provides weather information with support for both Gregorian and Jalali calendars.
## Features
- 🌡️ Real-time weather information
- 📅 Dual calendar support (Gregorian & Jalali)
- ⏰ 24-hour weather forecast
- 🌍 Support for multiple cities
- 🔄 Daily weather notifications
## Screenshot

## Setup
1. Clone the repository:
```bash
git clone https://github.com/imkarimkarim/Telegram-Weather-Bot.git
cd Telegram-Weather-Bot
```
2. Install dependencies:
```bash
npm install
```
3. Create a `.env` file with the following variables:
```env
BOT_TOKEN=your_telegram_bot_token
OPENWEATHER_API_KEY=your_openweather_api_key
CHAT_ID=your_telegram_chat_id
```
4. Build and run:
```bash
npm run build
npm start
```
## Development
Run in development mode with hot reload:
```bash
npm run dev
```
## Commands
- `/start` - Start the bot
- `/weather ` - Get weather for a specific city
- `/setdefault ` - Set your default city
- `/reset` - Reset to default city (Astaneh-ye Ashrafiyeh)
- `/help` - Show available commands
## Requirements
- Node.js >= 22.14.0
- Telegram Bot Token
- OpenWeather API Key
## License
ISC