This commit is contained in:
2025-12-08 13:10:43 +01:00
commit c29e4e1405
9 changed files with 288 additions and 0 deletions

15
config.py Normal file
View File

@@ -0,0 +1,15 @@
from pydantic_settings import BaseSettings
class Settings(BaseSettings):
homeserver_url: str
matrix_user: str
matrix_password: str
default_room_id: str
# Optional: access token if login is already done or for bot accounts
matrix_access_token: str | None = None
class Config:
env_file = ".env"
settings = Settings()