- New client: src/clients/telegram.ts
- Tools: telegram_get_me, telegram_send_message, telegram_send_photo, telegram_get_updates, telegram_get_chat
- REST endpoints: GET /api/telegram/me, POST /api/telegram/message, POST /api/telegram/photo, GET /api/telegram/updates, GET /api/telegram/chat
- Multi-account env var pattern: TELEGRAM_{ACCOUNT}_BOT_TOKEN
- Uses Telegram Bot API (https://api.telegram.org)
Total tools: 24 (email 6, obsidian 5, whatsapp 3, linkedin 4, telegram 5)
63 lines
3.8 KiB
Plaintext
63 lines
3.8 KiB
Plaintext
# ── Yahoo Mail ───────────────────────────────────────────────────────────────
|
|
# Generate an App Password at: https://myaccount.yahoo.com/security → App passwords
|
|
YAHOO_EMAIL=you@yahoo.com
|
|
YAHOO_APP_PASSWORD=xxxx xxxx xxxx xxxx
|
|
|
|
# ── Gmail ────────────────────────────────────────────────────────────────────
|
|
# Generate an App Password at: https://myaccount.google.com/apppasswords
|
|
# Requires 2-Step Verification to be enabled on your Google account
|
|
GMAIL_EMAIL=you@gmail.com
|
|
GMAIL_APP_PASSWORD=xxxx xxxx xxxx xxxx
|
|
|
|
# ── Optional: Custom IMAP/SMTP Server ────────────────────────────────────────
|
|
# Uncomment and configure these if you want to use a second email account
|
|
# CUSTOM_EMAIL=you@yourdomain.com
|
|
# CUSTOM_PASSWORD=yourpassword
|
|
# CUSTOM_IMAP_HOST=mail.yourdomain.com
|
|
# CUSTOM_IMAP_PORT=993
|
|
# CUSTOM_SMTP_HOST=mail.yourdomain.com
|
|
# CUSTOM_SMTP_PORT=587
|
|
|
|
# ── MySQL ────────────────────────────────────────────────────────────────────
|
|
MYSQL_HOST=127.0.0.1
|
|
MYSQL_PORT=3306
|
|
MYSQL_USER=root
|
|
MYSQL_PASSWORD=your-mysql-password
|
|
|
|
# ── Server ───────────────────────────────────────────────────────────────────
|
|
PORT=3456
|
|
MCP_API_KEY=your-secret-api-key
|
|
|
|
# ── Obsidian Vault ───────────────────────────────────────────────────────────
|
|
# Path to the vault directory inside the container (mount in docker-compose.yml)
|
|
OBSIDIAN_VAULT_PATH=/vaults
|
|
# Syncthing GUI URL (accessible from within the container via host.docker.internal)
|
|
SYNCTHING_URL=http://host.docker.internal:8384
|
|
# API key from ~/.config/syncthing/config.xml → <apikey>
|
|
SYNCTHING_API_KEY=your-syncthing-api-key
|
|
# Folder ID as set in Syncthing config
|
|
SYNCTHING_FOLDER_ID=obsidian-vault
|
|
|
|
# ── WhatsApp Business API (Meta Cloud API) ───────────────────────────────────
|
|
# Get these from https://business.facebook.com/settings/whatsapp-business-accounts
|
|
# For default account:
|
|
WHATSAPP_DEFAULT_PHONE_NUMBER_ID=your-phone-number-id
|
|
WHATSAPP_DEFAULT_ACCESS_TOKEN=your-permanent-access-token
|
|
WHATSAPP_DEFAULT_BUSINESS_ACCOUNT_ID=your-business-account-id
|
|
# For additional accounts, duplicate with WHATSAPP_{ACCOUNT}_*
|
|
|
|
# ── LinkedIn ─────────────────────────────────────────────────────────────────
|
|
# Get an access token from LinkedIn Developer Portal: https://www.linkedin.com/developers/
|
|
# Required scopes: r_liteprofile, w_member_social
|
|
# For default account:
|
|
LINKEDIN_DEFAULT_ACCESS_TOKEN=your-linkedin-access-token
|
|
LINKEDIN_DEFAULT_CLIENT_ID=your-linkedin-client-id
|
|
LINKEDIN_DEFAULT_CLIENT_SECRET=your-linkedin-client-secret
|
|
# For additional accounts, duplicate with LINKEDIN_{ACCOUNT}_*
|
|
|
|
# ── Telegram Bot API ─────────────────────────────────────────────────────────
|
|
# Create a bot via @BotFather on Telegram and copy the token
|
|
# For default account:
|
|
TELEGRAM_DEFAULT_BOT_TOKEN=your-telegram-bot-token
|
|
# For additional accounts, duplicate with TELEGRAM_{ACCOUNT}_*
|