# connectd environment variables
# copy to .env and fill in your values

# === REQUIRED FOR LLM DRAFTING ===
GROQ_API_KEY=
GROQ_MODEL=llama-3.1-70b-versatile

# === DISCOVERY SOURCES ===
# github (optional - works without token but rate limited)
GITHUB_TOKEN=

# mastodon (for DM delivery)
MASTODON_TOKEN=
MASTODON_INSTANCE=mastodon.social

# bluesky (for DM delivery)
BLUESKY_HANDLE=
BLUESKY_APP_PASSWORD=

# matrix (for DM delivery)
MATRIX_HOMESERVER=
MATRIX_USER_ID=
MATRIX_ACCESS_TOKEN=

# discord (for discovery + DM delivery)
DISCORD_BOT_TOKEN=
DISCORD_TARGET_SERVERS=  # comma separated server IDs

# lemmy (for authenticated access to your instance)
LEMMY_INSTANCE=
LEMMY_USERNAME=
LEMMY_PASSWORD=

# === EMAIL DELIVERY ===
SMTP_HOST=
SMTP_PORT=465
SMTP_USER=
SMTP_PASS=
FROM_EMAIL=connectd <connectd@yourdomain.com>

# === HOST USER CONFIG ===
# the person running connectd - gets priority matching
# set HOST_USER to your github username and connectd will auto-discover your info
# other vars override/supplement discovered values
HOST_USER=
HOST_NAME=
HOST_EMAIL=
HOST_GITHUB=                # defaults to HOST_USER
HOST_MASTODON=              # format: @user@instance
HOST_REDDIT=
HOST_LEMMY=                 # format: @user@instance
HOST_LOBSTERS=
HOST_MATRIX=                # format: @user:server
HOST_DISCORD=               # user id
HOST_BLUESKY=               # format: handle.bsky.social
HOST_LOCATION=
HOST_INTERESTS=             # comma separated: intentional-community,cooperative,solarpunk
HOST_LOOKING_FOR=           # what you're looking for in matches
