Initial MCM project: FastAPI + Textual TUI unified messenger
MultiCustomerMessenger supporting Telegram (python-telegram-bot), WhatsApp (Green API) and SMS (python-gsmmodem-new). REST API with Bearer-token auth, SQLAlchemy models for MariaDB, APScheduler for background polling, and Textual TUI running in same asyncio event-loop.
This commit is contained in:
24
.env.example
Normal file
24
.env.example
Normal file
@@ -0,0 +1,24 @@
|
||||
# MCM – MultiCustomerMessenger Konfiguration
|
||||
# Datei kopieren: cp .env.example .env
|
||||
|
||||
# ── API ────────────────────────────────────────────────────
|
||||
API_KEY=changeme-secret-key
|
||||
HOST=0.0.0.0
|
||||
PORT=8000
|
||||
DEBUG=false
|
||||
|
||||
# ── Telegram ───────────────────────────────────────────────
|
||||
TELEGRAM_TOKEN=
|
||||
|
||||
# ── WhatsApp (Green API) ───────────────────────────────────
|
||||
# Konto anlegen unter: https://console.green-api.com
|
||||
WHATSAPP_ID_INSTANCE=
|
||||
WHATSAPP_API_TOKEN=
|
||||
|
||||
# ── SMS / USB-Modem ────────────────────────────────────────
|
||||
SMS_PORT=/dev/ttyUSB0
|
||||
SMS_BAUD_RATE=115200
|
||||
SMS_ENABLED=false
|
||||
|
||||
# ── Datenbank ──────────────────────────────────────────────
|
||||
DATABASE_URL=sqlite:///./mcm.db
|
||||
Reference in New Issue
Block a user