mirror of
https://github.com/Memo-2023/mana-monorepo.git
synced 2026-05-21 11:46:41 +02:00
- Add NestJS service with Telegraf for Telegram bot functionality - Implement commands: /today, /tomorrow, /week, /next, /calendars, /add - Create database schema for user linking and reminder settings - Add Calendar API client for fetching events - Implement reminder scheduler with morning briefing support - Add message formatters for German locale - Include Dockerfile and CLAUDE.md documentation - Update TELEGRAM_BOTS.md with new bot status Commands implemented: - /today, /tomorrow, /week - View events - /next [n] - View next n events - /calendars - List calendars - /remind - Reminder settings - /link, /unlink - Account management - /status - Connection status https://claude.ai/code/session_01LwmhvhKpEsvVtY1ZKhYu6f
21 lines
650 B
Text
21 lines
650 B
Text
# Server
|
|
PORT=3303
|
|
NODE_ENV=development
|
|
TZ=Europe/Berlin
|
|
|
|
# Telegram
|
|
TELEGRAM_BOT_TOKEN=xxx # Bot Token from @BotFather
|
|
TELEGRAM_ALLOWED_USERS= # Optional: Comma-separated user IDs
|
|
|
|
# Calendar Backend API
|
|
CALENDAR_API_URL=http://localhost:3016
|
|
MANA_CORE_AUTH_URL=http://localhost:3001
|
|
|
|
# Database (for telegram user links and reminder settings)
|
|
DATABASE_URL=postgresql://manacore:devpassword@localhost:5432/calendar_bot
|
|
|
|
# Reminder Settings
|
|
REMINDER_CHECK_INTERVAL=60000 # Check every minute (ms)
|
|
MORNING_BRIEFING_ENABLED=true
|
|
MORNING_BRIEFING_TIME=07:00
|
|
MORNING_BRIEFING_TIMEZONE=Europe/Berlin
|