chore: add public repository safeguards

This commit is contained in:
2026-09-09 16:24:23 +03:00
parent 2067d8c298
commit f7dd311da4
2 changed files with 68 additions and 0 deletions
+30
View File
@@ -0,0 +1,30 @@
# Kullanılacak ortam: test veya prod
IKLIM_API_ENV=test
# Ortam adresleri
IKLIM_API_TEST_URL=https://api-test.iklim.co
IKLIM_API_PROD_URL=https://api.iklim.co
# Login bilgileri
IKLIM_USERNAME=name@domain.com
IKLIM_PASSWORD=change-me
IKLIM_HMAC_SECRET=change-me
# API yanıt dili: tr veya en
IKLIM_ACCEPT_LANGUAGE=tr
# HTTP ve retry ayarları
IKLIM_TIMEOUT_SECONDS=30
IKLIM_TOKEN_EXPIRY_SKEW_SECONDS=60
IKLIM_MAX_RETRIES=3
IKLIM_RETRY_BASE_SECONDS=2
# İlk başarılı tam webhook kaydından sonra otomatik true yapılır
IKLIM_WEBHOOK_INITIALIZED=false
# Login/refresh sonrasında otomatik doldurulur
IKLIM_ACCESS_TOKEN=
IKLIM_REFRESH_TOKEN=
IKLIM_ACCESS_TOKEN_EXPIRES_AT=
IKLIM_REFRESH_TOKEN_EXPIRES_AT=
IKLIM_TOKENS_UPDATED_AT=
+38
View File
@@ -0,0 +1,38 @@
# Secrets and local runtime configuration
.env
.env.*
!.env.example
webhook.json
nowcast-geo-alarm-filter.json
# Runtime data and debug output
nowcast-geo-alarm-registrations.csv
logs/
*.log
# Python caches and virtual environments
__pycache__/
*.py[cod]
*$py.class
.venv/
venv/
env/
# Test and coverage output
.pytest_cache/
.mypy_cache/
.ruff_cache/
.coverage
.coverage.*
htmlcov/
# Build and packaging output
build/
dist/
*.egg-info/
# Editor and operating-system files
.idea/
.vscode/
.DS_Store
Thumbs.db