Add consent site + consent-only follow recorder bot

Discord OAuth login -> explicit consent (3 checkboxes, versioned text) ->
bot follows consenting users into voice channels and records only their
per-user streams. Revoke stops recording immediately and optionally deletes
files; consent log kept; export to training wav only for active consents.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
EJClaw
2026-11-11 11:43:06 +09:00
parent 0abadfb7e2
commit 6e0801ea1c
19 changed files with 2550 additions and 0 deletions

View File

@@ -0,0 +1,15 @@
# 디스코드 개발자 포털 (https://discord.com/developers/applications) 에서 만든 앱 값
DISCORD_BOT_TOKEN=
DISCORD_CLIENT_ID=
DISCORD_CLIENT_SECRET=
# 사이트 주소 (OAuth2 Redirects 에 <PUBLIC_URL>/callback 을 등록해야 함)
PUBLIC_URL=https://voice.example.com
# 동의 화면에 "누가 이 목소리 모델을 쓰는지"로 나오는 이름
OPERATOR_NAME=
# 녹음할 디스코드 서버 아이디 (쉼표로 여러 개). 비우면 봇이 들어간 모든 서버
ALLOWED_GUILD_IDS=
HOST=127.0.0.1
PORT=8787
DATA_DIR=./data
# 봇이 음성채널에 들어갈 때 그 채널 채팅에 녹음 안내를 남김 (1/0)
CHANNEL_NOTICE=1