Consolidated weather bot for posting to multiple city-specific Bluesky accounts.
./bsky.wthr.cloud --city <city_code>
docker run --rm \ -e WEATHER_API_URL=$WEATHER_API_URL \ -e OLLAMA_API_URL=$OLLAMA_API_URL \ -e MSP_WTHR_BSKY_PASS=$MSP_WTHR_BSKY_PASS \ registry.hl1.benoist.dev/bsky.wthr.cloud:latest --city msp
Available city codes:
msp
- Minneapolis St Paulchicago
- Chicagosfo
- San Francisconyc
- New York CityWEATHER_API_URL
- Weather API endpoint URLOLLAMA_API_URL
- Ollama/LLM API endpoint URLEach city account requires its own environment variable:
MSP_WTHR_BSKY_PASS
- Password for msp.wthr.cloudCHICAGO_WTHR_BSKY_PASS
- Password for chicago.wthr.cloudSFO_WTHR_BSKY_PASS
- Password for sfo.wthr.cloudNYC_WTHR_BSKY_PASS
- Password for nyc.wthr.cloudThis will build and push the Docker image to registry.hl1.benoist.dev/bsky.wthr.cloud:latest
Test All Cities (requires env vars)Copy the example environment file and update with your values:
# Binary export WEATHER_API_URL="https://your-weather-api.com/api/forecast" export OLLAMA_API_URL="https://your-ollama-api.com/v1/chat/completions" export MSP_WTHR_BSKY_PASS="your-password" ./bsky.wthr.cloud --city msp # Docker docker run --rm \ -e WEATHER_API_URL="https://your-weather-api.com/api/forecast" \ -e OLLAMA_API_URL="https://your-ollama-api.com/v1/chat/completions" \ -e MSP_WTHR_BSKY_PASS="your-password" \ registry.hl1.benoist.dev/bsky.wthr.cloud:latest --city msp
MIT License - see LICENSE file for details
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4