managarten/services/telegram-contacts-bot/.env.example
Claude 3753724e82
feat(telegram-contacts-bot): implement new Telegram bot for contacts
- Add NestJS service with Telegraf for Telegram bot functionality
- Implement commands: /search, /favorites, /recent, /birthdays, /tags, /stats, /add
- Create database schema for user linking and bot settings
- Add Contacts API client for fetching contacts data
- Include birthday detection and upcoming birthdays list
- Add message formatters for German locale
- Include Dockerfile and CLAUDE.md documentation
- Update TELEGRAM_BOTS.md with new bot

Commands implemented:
- /search [name] - Search contacts
- /favorites - Show favorite contacts
- /recent - Recently added contacts
- /birthdays - Upcoming birthdays
- /tags, /tag [name] - Tag management
- /stats - Contact statistics
- /add [name] - Quick-add contact
- /link, /unlink - Account management

https://claude.ai/code/session_01LwmhvhKpEsvVtY1ZKhYu6f
2026-01-28 00:46:28 +00:00

21 lines
637 B
Text

# Server
PORT=3304
NODE_ENV=development
TZ=Europe/Berlin
# Telegram
TELEGRAM_BOT_TOKEN=xxx # Bot Token from @BotFather
TELEGRAM_ALLOWED_USERS= # Optional: Comma-separated user IDs
# Contacts Backend API
CONTACTS_API_URL=http://localhost:3015
MANA_CORE_AUTH_URL=http://localhost:3001
# Database (for telegram user links)
DATABASE_URL=postgresql://manacore:devpassword@localhost:5432/contacts_bot
# Birthday Reminder Settings
BIRTHDAY_CHECK_ENABLED=true
BIRTHDAY_CHECK_TIME=08:00
BIRTHDAY_CHECK_TIMEZONE=Europe/Berlin
BIRTHDAY_DAYS_AHEAD=7 # Remind N days before birthday