Initial Commit

This commit is contained in:
Salastil
2025-11-18 02:07:08 -05:00
parent b3ebf32a75
commit 1c5418edf6
12 changed files with 2379 additions and 0 deletions

66
.env Normal file
View File

@@ -0,0 +1,66 @@
###############################################
# SNEEDCHAT LOGIN / ROOM CONFIGURATION
###############################################
# Your Sneedchat login username (same as XenForo account)
BRIDGE_USERNAME=
# Your Sneedchat login password
BRIDGE_PASSWORD=
# Optional: your numeric XenForo user_id for the bridge account
# Used ONLY for echo-suppression (detecting bridge's own posts)
BRIDGE_USER_ID=0
# The Sneedchat room number you want to join
# Example: 69 (General Room)
SNEEDCHAT_ROOM_ID=
###############################################
# MATRIX CLIENT MODE (normal user token)
###############################################
# Your Matrix homeserver (no trailing slash)
# Example: https://matrix.org
MATRIX_HOMESERVER=
# Access token for the Matrix bot/user account
MATRIX_ACCESS_TOKEN=
# MXID of the Matrix bot/user account
# Example: @bridge:example.org
MATRIX_USER_ID=
# Matrix room ID to bridge to
# Example: !yourroomid:example.org
MATRIX_ROOM_ID=
###############################################
# MATRIX APPSERVICE MODE (ghost user spawning)
###############################################
# Enable: 1 / true
# Disable: 0 / false
MATRIX_APPSERVICE_MODE=false
# Your appservice token (required only if APPSERVICE_MODE=true)
MATRIX_APPSERVICE_TOKEN=
# Default domain for ghost MXIDs spawned by the bridge
# Example output: @john:sneedchat.kiwifarms.net
MATRIX_GHOST_USER_DOMAIN=sneedchat.kiwifarms.net
# Prefix for generated ghost MXIDs
# Final MXID format: @sneed_<username>:sneedchat.kiwifarms.net
# If you prefer @username:sneedchat.kiwifarms.net, set prefix=""
MATRIX_GHOST_USER_PREFIX=
###############################################
# DEBUG SETTINGS
###############################################
# Enable verbose debugging: 1 / true
# Disable: 0 / false
DEBUG=false